Disable Mysite Provisioning in SharePoint using Powershell Add-PSSnapIn Microsoft.SharePoint.PowerShell -EA 0 function DisableMySiteCreation([string]$UserProfileProxyName) { $upaproxy = Get-SPServiceApplicationProxy | Where-Object {$_.DisplayName -eq $UserProfileProxyName} $upasecurity = Get-SPProfileServiceApplicationSecurity -ProfileServiceApplicationProxy $upaproxy $authuser = New-SPClaimsPrincipal -Identity 'c:0(.s|true' -IdentityType EncodedClaim $ntauthusers = New-SPClaimsPrincipal -Identity 'c:0!.s|windows' -IdentityType EncodedClaim $localAuthUsers = New-SPClaimsPrincipal "NT AUTHORITY\Authenticated Users" - IdentityType WindowsSamAccountName Revoke-SPObjectSecurity -Identity $upasecurity -Principal $authuser -Rights "Create Personal Site" Revoke-SPObjectSecurity -Identity $upasecurity -Principal $authuser -Rights "Use Personal Features" Revoke-SPObjectSecurity -Identity $upasecurity -Principal $authuser -Rights ...
Enterprise AI & Cloud Architecture is a thought-leadership platform focused on AI-driven, cloud-based enterprise systems. It examines advanced architectures leveraging SharePoint, Microsoft 365, Azure, Power Platform, RAG, and Agentic AI to modernize mission-critical environments in healthcare, research, government, and enterprise organizations.