Domain Computer Hybrid joined renaming not work

Marco Milone 51 Reputation points
2020-10-23T09:43:25.54+00:00

Hi,
I have synced my On Prem Active Directory with office 365 /Azure Ad.
I successfully set up ADFS and all works great.

I also setup a hybrid joined devices with Azure AD Connect.

I have a little problems: when join a new PC on on prem AD, after the sync i can see the pc on Azure AD. That's OK.

If i rename a On Prem PC, the name still old on Azure AD and become new on On Prem AD.

How can solve the problem?

Microsoft Security | Microsoft Entra | Microsoft Entra ID
0 comments No comments
{count} votes

Accepted answer
  1. soumi-MSFT 11,831 Reputation points Microsoft Employee Moderator
    2020-10-23T10:04:59.867+00:00

    Hello @Marco Milone , thank you for reaching out. It looks like this seemed to be an issue that got addressed lately as mentioned here: https://feedback.azure.com/forums/169401-azure-active-directory/suggestions/12980892-machine-rename-azure-ad#{toggle_previous_statuses}

    But also users have complained that they are still seeing the issue of the devices renamed on-prem not reflecting in AAD, but all the versions mentioned were old Windows 10 versions.

    It would be great to know which Windows 10 version you are using and if its a Lower Window Version i.e lower than 1903, can you give it a try with the latest versions of Windows 10 and check if that works.

    If it still fails, I would recommend you to unjoin the machine from AAD and then rejoin it. You can use the commands listed below:

    1. Download the PSExec tool and open the cmd.exe from withing the PSExec tool. You can do that by running the following command: psexec.exe –i –s cmd.exe
    2. Type in dsregcmd /leave and this command should unjoin your machine from AAD.
    3. Rename the machine
    4. Then try to rejoin the machine back to AAD and check if that helps.

    Hope the above response helps.

    Do let us know if this helps and if there are any more queries around this, please do let us know so that we can help you further. Also, please do not forget to accept the response as an Answer; if the above response helped in answering your query.

    1 person found this answer helpful.

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.