Forum Discussion

Andy Raybould's avatar
Andy Raybould
Copper Contributor
Aug 31, 2017

Device names in Azure

Hi

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?

  • It's possible via the AzureAD PowerShell module:

     

    Get-AzureADDevice -ObjectId blabla |Set-AzureADDevice -DisplayName "new name"

  • It's possible via the AzureAD PowerShell module:

     

    Get-AzureADDevice -ObjectId blabla |Set-AzureADDevice -DisplayName "new name"

    • Todd MacQueen's avatar
      Todd MacQueen
      Copper Contributor

       


      VasilMichev wrote:

      It's possible via the AzureAD PowerShell module:

       

      Get-AzureADDevice -ObjectId blabla |Set-AzureADDevice -DisplayName "new name"


      That command only changes the Display Name, not the Device Name.

Resources