Enterprise State Roaming after Machine Rename

Yordan Yordanov 471 Reputation points
2020-06-13T12:58:32.39+00:00

I have the following issue: a machine that is Hybrid Azure AD Joined was renamed after which ESR stopped syncing user settings. It used to work before the rename and it works for the same user on other devices. The rename is necessary as the device is Autopilot joined and the generated name needed adjustment. I have checked this documentation which states:

The field for SettingsUrl is empty and the device does not sync. The user may have last logged in to the device before Enterprise State Roaming was enabled in the Azure Active Directory Portal. Restart the device and have the user login. Optionally, in the portal, try having the IT Admin navigate to Azure Active Directory - Devices - Enterprise State Roaming disable and re-enable Users may sync settings and app data across devices. Once re-enabled, restart the device and have the user login. If this does not resolve the issue, SettingsUrl may be empty if there is a bad device certificate. In this case, running “dsregcmd.exe /leave” in an elevated command prompt window, rebooting, and trying registration again may help with this issue.

Indeed, the SettingsUrl field is empty and I assume that after the rename operation the device obtained a new certificate from ADCS which probably broke the sync. There is a suggestion to perform dsregcmd /leave, however if I just wait for a couple of hours, will it fix itself after the new name syncs to Azure AD?

Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
21,449 questions
{count} votes

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.