Delegate administration with narrow roles
Give a help desk exactly the access it needs with built-in roles, administrative units and eligible access.
By Invicly Tech, , in Microsoft Entra & Microsoft 365 Administration. About 11 minutes to read.
In short
Delegation means giving each admin the smallest role that covers their job, over the smallest set of users, for the shortest time. Entra does this with built-in roles, administrative units that limit a role to some users or groups, and eligible assignments that are activated only when needed. A help desk that resets passwords for one office is the classic example.
Think of it like this: An administrative unit is a key that opens only the London office doors; an eligible assignment is a key you sign out from reception for an hour.
Explained simply
As a company grows, the identity team cannot do every password reset itself. A help desk takes over the routine work. The question is how much power to give them. Too little and they cannot help users; too much and one stolen help-desk account can damage the whole tenant.
Entra gives you three dials. The role sets what someone can do, for example reset passwords. The scope sets over whom, for example only staff in the London office. The time sets when, for example only for a few hours after the agent asks for it.
The scope dial uses administrative units. An administrative unit is a container of users, groups or devices. You assign a role 'over' that unit, and the admin can act only on what is inside. It is similar to delegating an organisational unit in on-premises Active Directory.
The time dial uses Privileged Identity Management, or PIM. Instead of holding a role all day, the agent is eligible for it and activates it when needed, with a reason. PIM needs Entra ID P2 or Entra ID Governance; administrative units need Entra ID P1 for each scoped admin.
Press Play on a diagram to walk through it one step at a time.
- 1What: the role
Helpdesk Administrator instead of User or Global Administrator
- 2Where: the scope
Administrative unit London instead of the whole tenant
- 3When: the time
Eligible in PIM, activated for a few hours with a reason
- Help-desk agent to Entra ID: Activate eligible Helpdesk Administrator role1Activate eligible Helpdesk Administrator role
- Entra ID to Help-desk agent: Role active for 4 hours2Role active for 4 hours
- Help-desk agent to Entra ID: Reset password for user in London AU3Reset password for user in London AU
- Entra ID to User in London AU: Temporary password set, change at next sign-in4Temporary password set, change at next sign-in
- Help-desk agent to Entra ID: Try to reset a user outside the AU5Try to reset a user outside the AU
- Entra ID to Help-desk agent: Denied: outside the role's scope6Denied: outside the role's scope
- Resets most non-privileged users
- Also creates, deletes and edits users
- Applies to everyone in the tenant
- Too broad for routine resets
- Resets non-admin passwords
- Cannot edit most user properties
- Still every user in the tenant
- Fine for one small office
- Resets only users in the AU
- Active only after activation
- Every activation logged
- Best fit for regional help desks
In depth
Picking built-in roles for a help desk
Start from the tasks. Resetting passwords for ordinary users needs Helpdesk Administrator or Password Administrator. Password Administrator is narrower; Helpdesk Administrator can also invalidate refresh tokens and read more of the directory. Resetting or re-registering MFA methods needs Authentication Administrator. Assigning licences needs License Administrator. Managing group membership needs Groups Administrator, or simply making the agents owners of specific groups.
These roles are deliberately limited: a Helpdesk Administrator cannot reset the password of a Global Administrator or most other admins. That protects privileged accounts from a compromised help-desk account. Microsoft's least privileged roles by task page lists the smallest role for each job; read it before reaching for User Administrator.
- Password resets: Password or Helpdesk Administrator
- MFA method resets: Authentication Administrator
- Licences: License Administrator
- Group changes: Groups Administrator or group ownership
- Privileged users: needs Privileged Authentication Administrator
Scoping roles with administrative units
Create an administrative unit under Roles and admins, Administrative units. Add users, groups or devices by hand, or use dynamic membership rules (which need P1 for the members). Then, inside the unit, open Roles and administrators, choose a role such as Helpdesk Administrator, and add the help-desk group or user.
Only some roles can be scoped to an administrative unit, mainly user, group, device, licence and authentication roles. Adding a group to a unit lets a Groups Administrator manage that group, but it does not put the group's members in the unit; add users separately. Restricted management administrative units go further and block even tenant-wide admins, except those scoped to the unit, from changing their members, which suits sensitive accounts such as executives.
- AU London
- Users: London staff
- Helpdesk Administrator: SG-Helpdesk-London
- AU Manchester
- Users: Manchester staff
- Helpdesk Administrator: SG-Helpdesk-Manchester
- AU Executives (restricted)
- Users: board members
- Only scoped admins can change them
Eligible instead of permanent
With PIM, a role assignment can be active or eligible. Active means the role works now. Eligible means the person may turn it on: they open My roles in PIM, choose Activate, give a reason and, if configured, pass MFA or wait for approval. The role then works for the set duration, such as four hours, and switches off by itself.
Eligible assignments can be scoped to an administrative unit, so you can combine all three dials. PIM also records every activation, which makes reviews easy. Keep the emergency access accounts permanent and active, and avoid making the help desk depend on approvals for routine work, or they will ask for permanent roles instead.
Reviewing who holds which role
Roles drift. People change teams, contractors leave, someone grants a role for a one-off task. Review on a schedule. In the Entra admin center, Roles and admins lists each role with its number of assignments; open a role to see who holds it and at what scope. PIM shows eligible and active assignments separately. Access reviews for roles, a P2 feature, can ask each holder or their manager to confirm the need.
Without premium licences, a script that lists assignments, including those scoped to administrative units, compared with your role matrix, does the same job. Remove anything nobody can justify and record what you removed.
- Review at least every quarter
- Include administrative unit scopes
- Compare reality with the role matrix
- Record every removal
Learn it in 5 short steps
About 30m each. Track them with a timer in your plan.
- 1Pick built-in roles for help desk~30m
- 2Scope roles with administrative units~30m
- 3Use eligible instead of permanent access~30m
- 4Review who holds which role~30m
- 5Test the help-desk account~30m
Key points
- Pick the role from the task: Helpdesk or Password Administrator for resets, not User Administrator.
- Administrative units restrict some roles to the users, groups or devices inside the unit.
- Each admin with an AU-scoped role needs an Entra ID P1 licence; eligible access through PIM needs P2 or Entra ID Governance.
- Help-desk roles cannot reset passwords of most other admins; that protects privileged accounts.
- Test delegation by signing in as the help-desk account and trying both allowed and denied actions.
Key terms
Tap a card to flip it. 0/5 known
Examples
Delegating London password resets
Prerequisites: lab tenant with Entra ID P1 for the help-desk admins, a Privileged Role Administrator account, test users in London. Step 1: create the AU London. Step 2: add the London test users. Step 3: assign Helpdesk Administrator scoped to the AU to the help-desk account. Expected evidence: the assignment shows scope /administrativeUnits/ followed by the unit ID. Rollback: remove the role assignment, then delete the AU; users are not affected.
Connect-MgGraph -Scopes "AdministrativeUnit.ReadWrite.All","RoleManagement.ReadWrite.Directory"
$au = New-MgDirectoryAdministrativeUnit -DisplayName "AU London"
$u = Get-MgUser -UserId "test.london1@contoso.onmicrosoft.com"
New-MgDirectoryAdministrativeUnitMemberByRef -AdministrativeUnitId $au.Id `
-BodyParameter @{ "@odata.id" = "https://graph.microsoft.com/v1.0/users/$($u.Id)" }
$role = Get-MgRoleManagementDirectoryRoleDefinition -Filter "displayName eq 'Helpdesk Administrator'"
$hd = Get-MgUser -UserId "adm-helpdesk1@contoso.onmicrosoft.com"
New-MgRoleManagementDirectoryRoleAssignment -PrincipalId $hd.Id `
-RoleDefinitionId $role.Id -DirectoryScopeId "/administrativeUnits/$($au.Id)"Testing the help-desk account
Sign in as adm-helpdesk1 in a private browser window. Test 1: reset the password of test.london1. Expected: success, with a temporary password. Test 2: reset test.manchester1, who is outside the AU. Expected: the option is missing or the action fails with an authorisation error. Test 3: try to reset the password of a Global Administrator. Expected: denied. Record each result with a screenshot and the time. Then check the Entra audit logs: the successful reset appears with adm-helpdesk1 as the actor. If test 2 or 3 succeeds, the account holds a broader role somewhere; remove it.
Quick reference
- Three dials: role (what), administrative unit (where), PIM eligibility (when).
- Password resets: Password Administrator or Helpdesk Administrator, not User Administrator.
- MFA method resets for users: Authentication Administrator.
- AU-scoped roles need Entra ID P1 for each scoped admin; PIM needs P2 or ID Governance.
- AU scope in Graph: DirectoryScopeId = /administrativeUnits/ followed by the unit ID.
- Adding a group to an AU does not add its members; add users separately.
- Test delegation with allowed and denied actions, and check the audit log.
Common mistakes
- Giving the help desk User Administrator because it was the first role that worked.
- Scoping a role to an administrative unit but leaving the users outside the unit, so the help desk cannot do its job.
- Never reviewing role holders, so people keep roles years after changing jobs.
Quick quiz
Pick an answer to see if you're right and why.
Practice exercises
Try each one yourself first. Use the hint if you get stuck, then compare with the solution.
- Exercise 1easy
Match each help-desk task to the narrowest built-in role: reset a password; reset a lost phone's MFA registration; assign a Microsoft 365 licence; add a user to a project group.
- Exercise 2medium
Design delegation for Fabrikam with offices in Leeds and Bristol, each with its own two-person help desk, plus a five-person board whose accounts must not be touched by the help desk.
- Exercise 3hard
Tenant-free: this synthetic export lists role holders. Find the problems and propose fixes. helpdesk1 | Helpdesk Administrator | / | Active; helpdesk2 | User Administrator | /administrativeUnits/london | Eligible; helpdesk3 | Global Administrator | / | Active; leaver7 | Password Administrator | / | Active.
Check yourself
Answer in your head, reveal, then be honest with yourself.
Feel confident about this topic?
Frequently asked questions
- Are administrative units the same as organisational units in AD DS?
- They play a similar role for delegation, but they are flat containers and do not apply policy. A user can be in several administrative units.
- Do administrative units cost extra?
- Creating them is free, but each admin who holds a role scoped to an administrative unit needs an Entra ID P1 licence.
- Can I use PIM without Entra ID P2?
- No. PIM needs Entra ID P2 or Entra ID Governance for the users who use it. Without it, assign narrow roles and review them by script.
- Should roles go to users or groups?
- Groups are easier to review. Use role-assignable groups, which only privileged admins can change, for Entra role assignments.