Aug 31 2017
- last edited on
Jul 27 2020
Having rebuilt a PC I joined the machine to Azure AD using my Office 365 account.
Looking in the Azure Admin Centre I see that the old machine, before being rebuilt, was listed and I was able to remove this.
However, the machine name automatically given to the newly rebuilt machine was also listed but this name has subsequently been renamed. Have run the Sync option on the Windows 10 Pro machine but still the old name remains in Azure. Is there a way to manually rename this to match the reality?
What should have been the best practice when building the PC in the first place?
Aug 31 2017 11:44 AMSolution
It's possible via the AzureAD PowerShell module:
Get-AzureADDevice -ObjectId blabla |Set-AzureADDevice -DisplayName "new name"