Change the primary account email

ashok hirpara 1 Reputation point

I have changed my email address to new one. But still during login I am getting the code on my previsous email eventhough multifactor is off. Can you please suggest solution?

Azure Active Directory
Azure Active Directory
An Azure enterprise identity service that provides single sign-on and multi-factor authentication.
13,559 questions
No comments
{count} votes

2 answers

Sort by: Most helpful
  1. T. Kujala 8,526 Reputation points

    Do you mean your Microsoft Account?

    If yes, you will find more information how to change your security info by clicking the link below.

  2. ShashiShailaj-MSFT 7,431 Reputation points Microsoft Employee

    @ashok hirpara ·,

    The User principal name is a unique attribute that can not be changed for any account where source is other than Azure Active Directory . Your local directory is not authoritative for it . The Microsoft account system is the source of the account. this account is like a guest account which just has references for the same. In your case source is Microsoft Account which is a consumer LiveID system and is separate from Azure AD . When you sign up for azure or someone invites you to a azure subscription/directory , a guest reference account gets created which has its own limitations in the local directory and can not be changed. Please check B2B collaboration / guest accounts on

    when you say the primary email has changed , if you mean that you have now added a new account then it should not be added there. Try logging in to with your Microsoft Account or the account you have changed to . The account you will be able to use to logon here tells us that its a MSA (Microsoft Account) .

    If you mean that account earlier was anon@USER and now you have changed it to anon@USER and you have signed up from both emails as a Microsoft Account then you will need to add the new account again by inviting the user as a guest user and providing the owner rights on the subscription object and providing it global administrator role in the Azure AD . And that will be a separate account . You wont be able to update the Email address on this account because it is by design and your azure AD instance is not authoritative to change that attribute within Azure AD by design.

    If this does not help you , please provide more details about what you mean by primary user . I believe you can just invite the new account using IAM blade as shown in the linked articles as they have steps with screenshots and are easy to follow. I think that will solve your problems. Please go through the articles and I am sure you will be able to figure it out . If you still have questions though , please let us know and we will be happy to help.

    If the information provided is helpful , please do accept this post as answer which will help other members of community facing similar issues.

    Thank you.