You must provide a required property: Parameter name

Roger Roger 7,181 Reputation points
2024-09-24T06:12:08.73+00:00

Hi All

i am trying to rename UPN and i am getting below error please guide me.

PS C:\windows\system32> Get-MsolUser -UserPrincipalName ******@contoso.onmicrosoft.com | Set-MsolUserPrincipalName -NewUserPrincipalName ******@contoso.com

Set-MsolUserPrincipalName : You must provide a required property: Parameter name: FederatedUser.SourceAnchor

Windows for business | Windows Client for IT Pros | Directory services | Active Directory
Microsoft Security | Microsoft Entra | Microsoft Entra ID
Microsoft Security | Microsoft Entra | Other
0 comments No comments
{count} votes

Accepted answer
  1. Thameur-BOURBITA 36,266 Reputation points Moderator
    2024-09-24T09:39:02.2433333+00:00

    Hi @Roger Roger

    I think you are facing the same issue:

    Trying to change UPN in Azure. Error Unable to complete this action. Try again later.

    Please don't forget to accept helpful answer

    0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.