Blog

PowerShell script for clearing the msRTCSIP-DeploymentLocator attribute when it is populated with “SRV:”

As mentioned in my previous posts: Enabling user for Teams Enterprise Voice fails with: “Management object not found for identity” https://blog.terenceluk.com/2020/10/enabling-user-for-teams-enterprise.html … a user who has previously been enabled for an on-premise Skype for Business Server may still have the msRTCSIP-DeploymentLocator attribute populated with the

Read More...

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 connect to MSOnline via Connect-MsolService with MFA enabled fails with: “This account is blocked. Contact your Tenant administrator.”

Problem You attempt to use PowerShell to connect to MSOnline via the cmdlet Connect-MsolService but it fails and displays the following message: PS C:> Connect-MsolService Connect-MsolService : This account is blocked. Contact your Tenant administrator. At line:1 char:1 + Connect-MsolService + ~~~~~~~~~~~~~~~~~~~ + CategoryInfo :

Read More...