'Registering user is added as local administrator on the device during Microsoft Entra join' confusion/terror - how does this work? how do we validate?

Ben Jenkins 0 Reputation points
2026-04-22T20:17:23.4533333+00:00

Stumbled on a tenant with 'JOIN' available for all users. Haven't worked with this much - most tenants I see only have registration. But then I noticed the horrifying 'Registering user is added as local administrator on the device during Microsoft Entra join' option was ALSO set to ALL.
User's image

This is a tenant we just took on, but I've never seen that control before. This is terrifying, considering AFAIK, there is no real way for a registering user to know if they're registering or joining. Beneath it is an option to 'Manage Additional local administrators on all Microsoft Entra joined devices', which leads to the Role page for Device Administrators, which is empty.
User's image

Under Description, this describes what APPEARS to be to be the same thing mentioned in the previous control - 'Users with this role become local machine administrators on all Windows 10 devices that are joined to Microsoft Entra'. But no one is assigned this.

Conveniently, on my own tenant, I happened to let someone JOIN yesterday. We have this limited to 2 (now 3) people - most just register... But this user Joined, and the 'Joining user becomes local admin' option was on ALL. But I can't validate that the user ever become local admin. 1. They're no tin that 'Device Administrators' group, which describes itself as 'Users with this role become local machine administrators on all Windows 10 devices that are joined to Microsoft Entra'. Assuming this is a 3RD 'auto-admin' option separate from the Global Admin + Joining User options, I check the registration logs - in Entra. Nothing I see indicates any role being assigned. The User has no special roles, the Device has no special roles. Conveniently, I ALSO have an RMM tool on the device. It's offline rn, but as of last audit, that user is NOT admin. (She doesn't even show up)

Thoughts? Freaking out, honestly. We have a mix of DC and Cloud users. I've inherited them all, and had the understanding that Join was essentially registration but with Org ownership.

  1. Does that option actually set the joining user as global admin? Is that really the default setting?
  2. can you validate this ANYWHERE in Entra? Or does it just disappear?
  3. what is that Device Admin group? A separate group, independent of these two settings, that gives local admin?

Thanks

Microsoft Security | Microsoft Entra | Microsoft Entra ID

1 answer

Sort by: Most helpful
  1. AI answer

    2026-04-22T20:17:53.28+00:00
    1. The “Registering user is added as local administrator on the device during Microsoft Entra join” setting
    • This setting affects only Microsoft Entra joined Windows devices, not “registered” (workplace joined) devices.
    • When enabled, the user who performs the join is added to the local Administrators group on that specific device via their Microsoft Entra account.
    • It does not grant any Microsoft Entra directory role (for example, it does not make the user a Global Administrator or give them tenant‑wide rights). It is purely a local Windows administrator right on the joined device.

    The behavior is implemented through the Primary Refresh Token (PRT). Local admin rights are evaluated from the PRT at sign‑in; they are not visible as an Entra ID role assignment.

    1. How to validate whether a joining user is local admin

    On a Microsoft Entra joined Windows device:

    1. Sign in as the user in question.
    2. Open an elevated Command Prompt and run:
         whoami /groups
      
      If the user is a local admin, BUILTIN\Administrators appears in the output.
    3. If the user was just granted local admin via join or via the Entra “local admin” role, and it does not show yet, refresh the PRT and sign‑in state:
         dsregcmd /refreshprt
      
      Wait 1–2 minutes, sign out, and sign back in, then run whoami /groups again.

    This is the same mechanism used when a user is added to the Microsoft Entra Joined Device Local Administrator role; the privilege is delivered via a new PRT and becomes effective after up to 4 hours or after a PRT refresh plus re‑sign‑in.

    1. What the “Device Administrators” / “Microsoft Entra Joined Device Local Administrator” role is
    • The “Manage Additional local administrators on all Microsoft Entra joined devices” link manages the Microsoft Entra Joined Device Local Administrator role.
    • Users or groups assigned to this role become local administrators on all Microsoft Entra joined devices in the tenant. This role cannot be scoped to a subset of devices.
    • This role is separate from the “registering user is local admin” behavior:
      • “Registering user is added…” → local admin only on the device they joined.
      • “Microsoft Entra Joined Device Local Administrator” role → local admin on every Entra joined device.
    • Users in this role are not listed directly in the local Administrators group on the device; their admin rights are evaluated from the PRT at sign‑in.
    1. Why the user in the test tenant might not appear as local admin

    From the documented behavior of PRT and local admin assignment:

    • If the user joined the device while already signed in and using a cached PRT, the PRT might not yet contain the claim that grants local admin. In that case, the user will not show as local admin until:
      • The PRT is renewed (up to 4 hours automatically), and
      • The user signs out and signs back in, or
      • dsregcmd /refreshprt is run followed by sign‑out/sign‑in.

    If the RMM snapshot was taken before the PRT refresh and re‑sign‑in, it would not show the user as local admin yet.

    1. Direct answers to the numbered questions
    2. The “Registering user is added as local administrator…” option does not make the user a Global Administrator. It only grants local Windows administrator rights on the device that is being Entra joined.
    3. This local admin status is not visible as an Entra ID role assignment. Validation is done on the device itself using whoami /groups after ensuring the PRT has been refreshed (dsregcmd /refreshprt + sign‑out/sign‑in) as described above.
    4. The “Device Administrators” role exposed via “Manage Additional local administrators on all Microsoft Entra joined devices” is the Microsoft Entra Joined Device Local Administrator role. It is a separate, tenant‑wide mechanism to make users local admins on all Entra joined devices and is independent from the “registering user is local admin” setting.

    References:

    AI-generated content may be incorrect. Read our transparency notes for more information.

    Was this answer helpful?

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.