Blog

Attempting to set immutableId for user throws the error: “Set-MsolUser : Uniqueness violation. Property: SourceAnchor.”

Problem You’re attempting to use the Set-MsolUser cmdlet to configure the immutableId attribute for a user in Azure Active Directory but receive the following error: PS C:> Set-MsolUser -UserPrincipalName jsmith@contoso.com -ImmutableId “zxGeOiOTdkivMtgkOsuvKA==” Set-MsolUser : Uniqueness violation. Property: SourceAnchor. At line:1 char:1 + Set-MsolUser -UserPrincipalName jsmith@contoso.com

Read More...

Attempting to install NuGet provider in PowerShell fails with: “PackageManagementInstall-PackageProvider : No match was found for the specified search criteria for the provider.”

You’re attempting to install a PowerShell module such as SharePointPnPPowerShellOnline to use Connect-PNPONline (https://docs.microsoft.com/en-us/powershell/module/sharepoint-pnp/connect-pnponline?view=sharepoint-ps) to establish a connection to SharePoint online, which prompts you to install the NuGet provider. Proceeding to answer yes to the prerequisite install quickly fails with the following message: PS C:>

Read More...