image

Scoping Password Resets with Administrative Units

An audit said our helpdesk had too much admin power, so my manager wanted tighter control. I gave Adam, our helpdesk analyst, the ability to reset passwords for Finance users only, using an administrative unit, and then tested what he can and cannot do. 
It is a test tenant with fictional accounts. Tenant names, emails and other account details are hidden behind black boxes, and the red marks point out what matters in each screenshot.
Skill: Role-based access control with administrative units, delegating admin work with least privilege in Microsoft Entra ID.
What this solves: A helpdesk role assigned across the whole tenant gives far more power than the job needs. A password reset role should only reach the users it is meant to support.
The approach: scoped role assignment (least privilege). The role is given over one administrative unit instead of the whole directory, so its reach is limited to that unit's members.
Solutions used: an Entra administrative unit for Finance, the Password Administrator role assigned at that unit's scope, and a test of the reset on in-scope and out-of-scope users to prove the boundary.

Global Administrator and User Administrator are far too broad for this job. I chose Password Administrator. Its description says it can reset passwords for non-administrators, and for members of only a few roles. It is also tagged Privileged, so it still deserves care.

image
The Password Administrator role description. This screenshot is from my earlier run of the ticket, because the description does not change.

A role assigned from the main roles page applies to the whole tenant. To limit it, I used an administrative unit called AU-Finance, which already exists in the list alongside the UK, UAE and Europe units.

image
AU-Finance in the administrative units list.

It contains two users, Raj and Travis. I left Adam and Sam out on purpose.

image
AU-Finance contains Raj and Travis.

From inside AU-Finance, I assigned Password Administrator to Adam. The Scope column shows AU-Finance (Administrative unit), not the whole directory, and the assignment is Active and Permanent.

image
The assignment, scoped to the administrative unit.

Adam’s own Assigned roles page agrees: one role, scoped to AU-Finance.

image
Adam holds only the scoped role.

I signed in as Adam in a separate session. For Raj, who is in AU-Finance, the Reset password pane opened and offered the reset.

image
Adam can start a reset for Raj.

For Sam, who is outside AU-Finance, the reset is refused.

image
Adam cannot reset Sam.

Create new user was greyed out. The Invite external user option looked available. Whether he can actually invite guests depends on the tenant’s guest invitation settings, which I did not test.

image
Adam cannot create internal users.
The scope matters as much as the role. The same role assigned tenant-wide would have let Adam reset far more accounts.
The assignment is Active and Permanent. Even at this narrow scope, that is standing access. There is another lab which uses Privileged Identity Management to make it eligible, with approval - read more here.

Leave a Comment

Your email address will not be published. Required fields are marked *