Share via

Server 2022 and Microsoft account

Steve Mussett 20 Reputation points
2026-02-27T07:35:45.6233333+00:00

Hi, I was trying to activate a Windows Server license and i went to the site aka.ms/aoh because the conventional method failed and without realizing the consequences,I put my personal Microsoft account in so I could proceed. I didn't know that this would add my account to the server. I logged out to go and do something else and came back and there are two login options, my Microsoft account and another local admin user(password unknown) but not the local user account that I normally use. I have tried rebooting the server but no change. I do see the server under my MS account online under devices, and there is the option to remove this device from my account. Can anybody please tell me if I remove the device, can it do anything detrimental the the server? Or will it remove the account from MS and hopefully my local user account will again become an option?

Thanks in advance.

Windows for business | Windows Server | Devices and deployment | Licensing and activation
0 comments No comments
{count} votes

Answer accepted by question author
  1. Jason Nguyen Tran 12,485 Reputation points Independent Advisor
    2026-02-27T08:37:54.48+00:00

    Hi Steve Mussett,

    To clarify, adding your Microsoft account through the activation site does not replace or remove your existing local accounts, it simply registers your Microsoft account as another way to sign in. Removing the device from your Microsoft account online will only unlink it from your account profile; it will not delete or disable the server itself. Your local administrator accounts will remain intact, though you’ll still need the correct password to access them.

    If you want to continue using your local account, you can safely ignore the Microsoft account login option and sign in with the local administrator credentials. If you don’t know the password for the other admin account, you may need to reset it through standard Windows Server password recovery methods. In short, removing the device from your Microsoft account won’t harm the server, it just severs the association with your personal Microsoft profile.

    I hope the response provided some helpful insight. If it clarified the issue for you, please consider marking it as Accept Answer.

    Jason.


2 additional answers

Sort by: Most helpful
  1. Jason Nguyen Tran 12,485 Reputation points Independent Advisor
    2026-02-28T15:13:47.7+00:00

    Hi Steve Mussett,

    I’m following up to check whether the issue has been resolved.

    If the information provided was helpful, please click "Accept Answer" to help others in the community. Thank you!

    0 comments No comments

  2. Q&A Assist
    2026-02-27T07:35:56.71+00:00
    AI generated content. This question contains an answer created with AI from Q&A Assist. Learn more

    Removing the device from the Microsoft account does not remove the user account from Windows Server and does not change which local accounts exist or appear on the sign-in screen. It only breaks the cloud association (for example, device listing, some sync/management capabilities) between that server and the Microsoft account.

    The behavior being seen is expected when a Microsoft account is used to sign in: Windows adds that Microsoft account as a sign-in option on the machine. Removing the device from the Microsoft account portal will not:

    • Delete the Microsoft account profile from the server
    • Restore or re‑enable any local account that is currently hidden or not shown
    • Change local passwords or local administrator membership

    To regain access with the usual local account, the local account’s password or another local/AD administrator credential is required. If all local admin credentials are lost, standard Windows/Active Directory recovery methods must be used outside of the Microsoft account portal; the online “remove device” action alone cannot fix local sign‑in issues.

    If the Microsoft account is still able to sign in on the server, that account can be used to:

    1. Sign in to the server.
    2. Open Computer Management → Local Users and Groups.
    3. Verify and, if needed, re‑enable or reset the password for the desired local account (if the Microsoft account has local admin rights).

    If the Microsoft account does not have local administrator rights and the password for the other local admin is unknown, recovery must be done using normal Windows Server admin recovery procedures, not by removing the device from the Microsoft account.


    References:

    0 comments No comments

Your answer

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