You must provide a required property: Parameter name

Roger Roger 6,106 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 user1@contoso.onmicrosoft.com | Set-MsolUserPrincipalName -NewUserPrincipalName user1@contoso.com

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

Active Directory
Active Directory
A set of directory-based technologies included in Windows Server.
6,532 questions
Microsoft Entra
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
21,731 questions
0 comments No comments
{count} votes

Accepted answer
  1. Thameur-BOURBITA 32,981 Reputation points
    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.