A cloud-based identity and access management service for securing user authentication and resource access
The behavior is explained by how Microsoft Entra local admin rights are actually granted on Entra‑joined devices and by the distinction between directory roles and local group membership.
Key points from the documented behavior:
- Device Administrator / Entra Joined Device Local Administrator is not shown as a local group member
Users assigned to the Microsoft Entra Joined Device Local Administrator role (or via Manage Additional local administrators on Microsoft Entra joined devices) are not directly listed in the local Administrators group. Their admin rights are evaluated at sign‑in from the Primary Refresh Token (PRT):- "Users aren't directly listed in the local administrator group, their permissions are received through the Primary Refresh Token."
Therefore, commands that enumerate local group membership (for example,net localgroup administrators) will typically show only the built‑in Administrator and any manually added accounts, not the Entra Device Administrators.
- "Users aren't directly listed in the local administrator group, their permissions are received through the Primary Refresh Token."
- How to verify that Entra admin rights are applied
To confirm that the user actually has local admin rights, usewhoamirather than checking the local group list:- Sign in as the Entra user.
- Run:
whoami /all - In the output, check the
GROUP INFORMATIONsection forBUILTIN\Administratorsin theGroup Namecolumn. If present, the user has local administrator rights on that device, even if they are not explicitly listed in the local Administrators group.
- PRT refresh and timing requirements
Local admin rights via Entra roles are tied to the PRT. Changes to the Device Administrator / Entra Joined Device Local Administrator role do not take effect immediately on devices where the user is already signed in:- Elevation occurs only after:
- Up to 4 hours have passed so Entra issues a new PRT with the updated privileges.
- The user signs out and signs back in (lock/unlock is not sufficient).
- If the role was activated via PIM or assigned while the user had a cached PRT, the user may need to refresh the PRT explicitly:
- Run:
dsregcmd /refreshprt - Wait 1–2 minutes.
- Sign out and sign back in.
- Run:
and verify thatwhoami /groupsBUILTIN\Administratorsappears.
- Run:
- Elevation occurs only after:
- Tenant‑wide scope of the Entra Joined Device Local Administrator role
The Entra Joined Device Local Administrator role (managed via Device settings → Manage Additional local administrators on all Microsoft Entra joined devices) applies tenant‑wide:- "Microsoft Entra Joined Device Local Administrators are assigned to all Microsoft Entra joined devices. You can't scope this role to a specific set of devices."
If the users are correctly assigned to this role, they should receive local admin rights on all Entra‑joined devices in the tenant, subject to the PRT refresh behavior above.
- "Microsoft Entra Joined Device Local Administrators are assigned to all Microsoft Entra joined devices. You can't scope this role to a specific set of devices."
- Licensing and Windows version
The ability to manage Additional local administrators on all Microsoft Entra joined devices requires Microsoft Entra ID P1 or P2 licenses. The documentation does not list a Windows 11 24H2‑specific limitation; the key requirement is the Entra license and the PRT behavior.
If the tenant does not have P1/P2, the Device Administrator mechanism via that setting will not be available. - If immediate local admin membership is required
For a specific device, a user can be manually elevated into the local Administrators group:- On Windows 10 1709 and later (including Windows 11):
- Go to Settings → Accounts → Other users.
- Select Add a work or school user, enter the user’s UPN, and set Account type to Administrator.
- Or via command prompt for Entra‑only users:
net localgroup administrators /add "AzureAD\<UserUPN>"
- On Windows 10 1709 and later (including Windows 11):
In summary, the observed behavior (no visible Entra Device Administrators in the local Administrators group and the Access work or school message) is consistent with documented Entra join behavior: admin rights from the Device Administrator / Entra Joined Device Local Administrator role are delivered via the PRT and verified with whoami, not by direct local group membership. Ensuring a fresh PRT (wait up to four hours or run dsregcmd /refreshprt and fully sign out/in) and verifying with whoami /all is the recommended way to confirm that the role is applied. If explicit local group membership is required on that device, use manual elevation.
References: