SOLVED
Home

Device names in Azure

%3CLINGO-SUB%20id%3D%22lingo-sub-102325%22%20slang%3D%22en-US%22%3EDevice%20names%20in%20Azure%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-102325%22%20slang%3D%22en-US%22%3E%3CP%3EHi%3C%2FP%3E%3CP%3EHaving%20rebuilt%20a%20PC%20I%20joined%20the%20machine%20to%20Azure%20AD%20using%20my%20Office%20365%20account.%3C%2FP%3E%3CP%3ELooking%20in%20the%20Azure%20Admin%20Centre%20I%20see%20that%20the%20old%20machine%2C%20before%20being%20rebuilt%2C%20was%20listed%20and%20I%20was%20able%20to%20remove%20this.%3C%2FP%3E%3CP%3EHowever%2C%20the%20machine%20name%20automatically%20given%20to%20the%20newly%20rebuilt%20machine%20was%20also%20listed%20but%20this%20name%20has%20subsequently%20been%20renamed.%20Have%20run%20the%20Sync%20option%20on%20the%20Windows%2010%20Pro%20machine%20but%20still%20the%20old%20name%20remains%20in%20Azure.%20Is%20there%20a%20way%20to%20manually%20rename%20this%20to%20match%20the%20reality%3F%3C%2FP%3E%3CP%3EWhat%20should%20have%20been%20the%20best%20practice%20when%20building%20the%20PC%20in%20the%20first%20place%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-102325%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EAzure%20AD%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EOffice%20365%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-240217%22%20slang%3D%22en-US%22%3ERe%3A%20Device%20names%20in%20Azure%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-240217%22%20slang%3D%22en-US%22%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CBLOCKQUOTE%3E%3CHR%20%2F%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F58%22%20target%3D%22_blank%22%3E%40Vasil%20Michev%3C%2FA%3E%26nbsp%3Bwrote%3A%3CBR%20%2F%3E%3CP%3EIt's%20possible%20via%20the%20AzureAD%20PowerShell%20module%3A%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EGet-AzureADDevice%20-ObjectId%20blabla%20%7CSet-AzureADDevice%20-DisplayName%20%22new%20name%22%3C%2FP%3E%3CHR%20%2F%3E%3C%2FBLOCKQUOTE%3E%3CP%3EThat%20command%20only%20changes%20the%20Display%20Name%2C%20not%20the%20Device%20Name.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-102527%22%20slang%3D%22en-US%22%3ERe%3A%20Device%20names%20in%20Azure%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-102527%22%20slang%3D%22en-US%22%3E%3CP%3EIt's%20possible%20via%20the%20AzureAD%20PowerShell%20module%3A%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EGet-AzureADDevice%20-ObjectId%20blabla%20%7CSet-AzureADDevice%20-DisplayName%20%22new%20name%22%3C%2FP%3E%3C%2FLINGO-BODY%3E
Andy Raybould
Occasional Visitor

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?

2 Replies
Solution

It's possible via the AzureAD PowerShell module:

 

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

Highlighted

 


@Vasil Michev 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.

Related Conversations
Tabs and Dark Mode
cjc2112 in Discussions on
46 Replies
Extentions Synchronization
Deleted in Discussions on
3 Replies
Stable version of Edge insider browser
HotCakeX in Discussions on
35 Replies
flashing a white screen while open new tab
Deleted in Discussions on
14 Replies
How to Prevent Teams from Auto-Launch
chenrylee in Microsoft Teams on
29 Replies
Security Community Webinars
Valon_Kolica in Security, Privacy & Compliance on
13 Replies