Why the device id of entra is different from device id of setting in windows?

Ashim Bhandari 0 Reputation points

Hi there, I was looking at my system at my work, as many laptops has chnaged their name so i was wondering how to check in entra. So, I try searching from device id from the settings.

User's image

But It was different in my Entra device id. I figured out to know the device ID of entra from cmd using dsregcmd /status. But I was wondering why is it different. Wont it would be easier if it was same.

Microsoft Intune
Microsoft Intune
A Microsoft cloud-based management solution that offers mobile device management, mobile application management, and PC management capabilities.
4,492 questions
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
19,893 questions
{count} votes

1 answer

Sort by: Most helpful
  1. James Hamil 22,431 Reputation points Microsoft Employee

    Hi @Ashim Bhandari , it is not uncommon for the device ID in Entra to be different from the device ID in the Windows settings. This is because the device ID in Entra is generated by Azure Active Directory (AAD) when the device is registered with AAD. On the other hand, the device ID in the Windows settings is generated by the operating system when the device is set up.

    The device ID in Entra is used to uniquely identify the device and associate it with the correct user and policies. It is also used for device-based conditional access policies and other security-related features. The device ID in the Windows settings, on the other hand, is used for local device management and troubleshooting.

    While it may seem easier if the device ID was the same in both Entra and Windows settings, it is important to note that they serve different purposes and are generated by different systems. Having different device IDs also adds an extra layer of security as it makes it more difficult for attackers to impersonate a device.

    The device ID of Entra can be found using the command "dsregcmd /status"

    Please let me know if you have any questions and I can help you further.

    If this answer helps you please mark "Accept Answer" so other users can reference it.

    Thank you,


    0 comments No comments