Skip to content
Visual explainer 2h 30m to learn 5 steps

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.

Topic 6 of 31

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.

LayersThree ways to narrow admin access
  1. 1
    What: the role

    Helpdesk Administrator instead of User or Global Administrator

  2. 2
    Where: the scope

    Administrative unit London instead of the whole tenant

  3. 3
    When: the time

    Eligible in PIM, activated for a few hours with a reason

SequenceA help-desk reset inside an administrative unit
Help-desk agent
Entra ID
User in London AU
  1. 1Activate eligible Helpdesk Administrator role
    Help-desk agent to Entra ID: Activate eligible Helpdesk Administrator role
  2. 2Role active for 4 hours
    Entra ID to Help-desk agent: Role active for 4 hours
  3. 3Reset password for user in London AU
    Help-desk agent to Entra ID: Reset password for user in London AU
  4. 4Temporary password set, change at next sign-in
    Entra ID to User in London AU: Temporary password set, change at next sign-in
  5. 5Try to reset a user outside the AU
    Help-desk agent to Entra ID: Try to reset a user outside the AU
  6. 6Denied: outside the role's scope
    Entra ID to Help-desk agent: Denied: outside the role's scope
CompareThree ways to give the help desk password resets
User Administrator, tenant
  • Resets most non-privileged users
  • Also creates, deletes and edits users
  • Applies to everyone in the tenant
  • Too broad for routine resets
Helpdesk Administrator, tenant
  • Resets non-admin passwords
  • Cannot edit most user properties
  • Still every user in the tenant
  • Fine for one small office
Helpdesk Administrator, AU, eligible
  • 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.

MapAdministrative units at Contoso
Contoso tenant
  • 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.

  1. 1
    Pick built-in roles for help desk~30m
  2. 2
    Scope roles with administrative units~30m
  3. 3
    Use eligible instead of permanent access~30m
  4. 4
    Review who holds which role~30m
  5. 5
    Test 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.

powershell
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.

Question 1

1The London help desk should reset passwords only for London staff. What do you use?

Question 2

2Which role is the narrowest fit for resetting ordinary users' passwords?

Question 3

3What does an eligible role assignment mean?

Question 4

4You added group SG-London to an AU, but the help desk still cannot reset London users' passwords. Why?

Question 5

5Why can a Helpdesk Administrator not reset a Global Administrator's password?

0/5 answered

Practice exercises

Try each one yourself first. Use the hint if you get stuck, then compare with the solution.

  1. 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.

  2. 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.

  3. 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.

Go deeper

ShareXLinkedInWhatsApp