Update the Microsoft Entra ID Username on Joined or Registered Windows Devices
Question details
Update the work account identity shown or used on laptops after a Microsoft 365 email address or username change.

- Product
- Microsoft Entra ID (formerly Azure AD) and Windows
- Device & OS
- Windows laptops; version not provided
- Scenario
- An administrator has changed users' primary email addresses and wants their joined or registered laptops to reflect the intended work usernames.
- Observed behavior
- The laptops continue to show or use the previous account identity after the email address change.
Confirm whether the user's Microsoft Entra user principal name (UPN) changed; a new primary email address does not necessarily change the sign-in username. On each test laptop, run dsregcmd /status in Command Prompt and check AzureAdJoined, DomainJoined, and WorkplaceJoined to identify its join state.
Verify the UPN and test sign-in before reconnecting devices
Use this first to determine whether a device connection change is necessary.
In the Microsoft Entra admin center, open Identity > Users > All users, select the user, and check the user principal name. Compare it with the new email address; if the UPN is still the old value, ask an administrator to review the organization's UPN change process.
On a connected test laptop, sign out of Windows. At the sign-in screen, select Other user if available and enter the confirmed UPN and password.
After signing in, open Settings > Accounts > Access work or school and check the account connection. An old label alone does not necessarily mean the device must be disconnected and rejoined.
Remove and re-add a registered work account
Use this on a test device that is registered, rather than joined, if its work account connection still needs to be refreshed.
Rejoin a Microsoft Entra joined device when necessary
Use this only when testing and administrator review show that rejoining is needed; do not use these steps for a hybrid joined device without following your organization's hybrid-join procedure.
Work with Office files in WPS Office
WPS Office is a free, lightweight Office alternative with a familiar interface and compatibility with common Microsoft Office formats, making it easier to move existing documents. It does not change Microsoft Entra ID or Windows device sign-in settings.

Frequently Asked Questions
Does changing a primary email address also change the Entra sign-in name?
Not necessarily. In the Microsoft Entra admin center, open Identity > Users > All users, select the user, and check the user principal name separately from the primary email address.
How can I tell whether a laptop is joined or registered?
Run dsregcmd /status in Command Prompt. Review AzureAdJoined, DomainJoined, and WorkplaceJoined. AzureAdJoined and DomainJoined both set to YES indicate a hybrid joined device; review the results with your administrator if the state is unclear.
Do all laptops need to be disconnected after a UPN change?
Not necessarily. First test signing in with the confirmed UPN and check access to work resources. Disconnect or rejoin a device only if troubleshooting and your organization's procedures indicate that it is needed.
Why do I need a local administrator before disconnecting a joined device?
A separate local administrator provides a way to manage the laptop after its work connection is removed. Verify that you can sign in with that account before using Settings > Accounts > Access work or school > Disconnect.
Can I use the same rejoin steps for a hybrid joined laptop?
Do not assume so. A hybrid joined laptop is also joined to an on-premises domain, so its reconnection and enrollment requirements can differ. Follow your organization's hybrid-join procedure.




