How to fix incorrect operating system being displayed in Microsoft Entra Sign-in Logs for a user?

Anushree Vaidya 0 Reputation points

We have been getting alerts our security solutions stating that a user is logging-in from a legacy OS (Windows 7), but after confirmation the user logged in from a Windows 11 Enterprise 23H2 OS build 22631.3737 machine for the given time-stamp. When I checked the Sign-in logs for the user in Microsoft Entra, under the Device info tab the operating system is incorrectly showing as Windows7. I am not sure how this error is occurring or how to fix it. Any suggestions would be very helpful.

Microsoft Entra
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Marilee Turscak-MSFT 36,336 Reputation points Microsoft Employee

    @Anushree Vaidya

    There are no settings or definitions in Microsoft Entra ID to automatically change the OS type. By default, when they are registered, the OS attribute on Windows devices on Microsoft Entra ID will show only as "Windows". The change happens when the devices are onboarded by MDE and managed by Intune. When the devices are managed by Microsoft Intune, Intune is the actor responsible for updating the devices attributes like OS. For Managed devices Microsoft Entra ID will act as a passive database receiving updates from the MDM. If the change is not happening it needs to be troubleshooted by the MDE\Intune side. 


    Using Microsoft Graph PowerShell though, you can manually edit the OS one by one Update-MgDevice (Microsoft.Graph.Identity.DirectoryManagement) | Microsoft Learn

    I would recommend forcing a sync in Intune and checking with the Intune team if you still face issues after.

    1. Go to the Intune portal.
    2. Navigate to the devices section and find your device.
    3. Initiate a manual sync for the device.

    If the information helped you, please Accept the answer. This will help us and improve discoverability for others in the community who may be researching similar questions.


    0 comments No comments