Skip to content
Lesson 1 of 80 completed · Sign in to track completionCourse overview →Glossary ↗
Course contents · Establish the authority
  1. 1. Identify the role, tenant and scope before requesting privilegeFree
  2. 2. Read eligibility and active assignment windows independentlyFree
  3. 3. Review the shared role policy before changing one operatorFree account
  4. 4. Verify activation authentication and later role use separatelyPremium
  5. 5. Approve the requested task without confusing approval with accessPremium
  6. 6. Verify activation, deactivation and application access as separate eventsPremium
  7. 7. Reconstruct a privilege cycle across changing correlation IDsPremium
  8. 8. Hand over privilege governance with a tested recovery dependencyPremium

Identify the role, tenant and scope before requesting privilege

Record the directory, principal, role definition and supported scope before reviewing PIM. Directory-role authority, Azure resource access and group membership are separate assignments with different operating paths.

25 MIN

By AISecurityInterviews · Updated

Keep a return link on this browser. No account needed.

TL;DR: Record the directory, principal, role definition and supported scope before reviewing PIM. Directory-role authority, Azure resource access and group membership are separate assignments with different operating paths.

Where you are. Create the authority record that every later assignment and activation must match.

Reference and lab. Microsoft Entra PIM for direct user assignments to Microsoft Entra directory roles, public documentation checked November 2026. Microsoft Graph v1.0 and Graph PowerShell v1.0 reference surface. Finchbridge Services and all exercise records are fictional. Python runs offline. Optional product inspection requires an existing, explicitly authorized isolated tenant with appropriate licences and delegated read permissions. No tenant, Graph session or privileged action was operated during authoring.

Name the administrative task

Finchbridge Services needs temporary operators to maintain a training department's user records. Nila owns the customer directory, Tom owns the helpdesk workflow and Dev reviews evidence for the service provider. A stolen operator session is the relevant threat: any administrative authority active on that identity may be misused. PIM reduces the time an eligible assignment supplies active privileges. It cannot decide whether every action taken during that interval serves the customer's purpose.

The approved pilot concerns direct member-user assignments to User Administrator, restricted to an existing administrative unit containing fictional training accounts. It excludes production users, guest administration, group-derived eligibility, agent identities, Azure subscriptions and PIM for Groups. Those exclusions keep the evidence boundary inspectable; they are not claims that the product lacks those capabilities.

Record tenant ID, operator object ID, role definition ID, directory scope, assignment identifier, authorized task and observation time. A display name can change or occur in another tenant. An administrative-unit name alone also fails to establish which objects are inside its scope. Nila supplies the current membership and identifies an approved training object inside and outside it.

Separate the three control planes

The PIM overview distinguishes Microsoft Entra roles, Azure resource roles and group membership or ownership. A Privileged Role Administrator can manage directory-role assignments; that does not confer Azure subscription ownership. Conversely, subscription Owner is not permission to administer every Entra directory role. Provider access must be established in the customer's directory rather than inferred from the provider's own job title.

Record being inspectedAuthority being consideredEvidence to retain
Microsoft Entra roleDirectory administrationRole definition and directory scope
Azure resource roleAzure resource managementSeparate resource scope and assignment
PIM for GroupsMembership or ownershipGroup identity and downstream grants

The administrative-unit role guide lists the roles that support restricted scope and the limits on sensitive operations against administrators. A restricted role does not turn every tenant-wide operation into an allowed unit operation. Do not interpret an expected denial on a sensitive administrator target as a broken PIM activation. Inspect the target's own roles and the permission being exercised.

For this pilot, Tom chooses an ordinary training-user property operation supported by the inspected role. The acceptance worksheet includes a permitted object in the unit, a comparable object outside it, and a privileged target requiring separate review. The course supplies reasoning fixtures; any real operation would require an owner-approved test plan and disposable accounts.

Check prerequisites without broadening access

PIM requires applicable Microsoft Entra ID P2 or ID Governance licensing. The licensing guide includes users with eligible or time-bound assignments and people able to approve activation requests. Nila owns the entitlement check. The provider records the applicable licence basis and affected people without inventing prices or assuming one administrator's licence covers everyone.

For the optional read-only inventory later in this course, Dev needs both an approved Graph delegated permission and a supported directory role. Security Reader can support relevant reads; assignment management requires the separately authorized Privileged Role Administrator path. A consented API scope does not erase the user's role requirements. Stop on a permission error and identify the missing layer instead of adding Global Administrator as a troubleshooting shortcut.

Make the scope machine-checkable

The offline function below compares normalized authority records. Its labels are fictional aliases, not Graph response objects. Equality prevents a reviewer from mixing a correct role in the wrong tenant with the requested assignment. It does not model administrative-unit inheritance, effective permissions or token evaluation. Missing identifiers fail visibly instead of turning into an unrestricted scope.

The deliverable is one agreed authority record and a list of excluded targets. Tom signs the business task, Nila signs the directory and scope, and Dev signs the evidence collection boundary. The next lesson separates the right to activate from the interval during which privilege actually exists.

ENTRA PIM · OPERATIONS
The same role name can refer to the wrong authority

Tenant

Choose the customer directory

Principal

Match the operator object

Role + scope

Inspect supported permissions

Task evidence

Check allowed and denied targets

required = ("tenant", "principal", "role", "scope")
expected = dict(tenant="finch-lab", principal="operator-7",
                role="user-admin", scope="training-unit")

def same_authority(record):
    if any(not record.get(key) for key in required):
        raise ValueError("Incomplete authority record")
    return all(record[key] == expected[key] for key in required)

assert same_authority(expected)
assert not same_authority({**expected, "tenant": "provider-lab"})
assert not same_authority({**expected, "scope": "/"})
try:
    same_authority({**expected, "principal": ""})
except ValueError:
    pass
else:
    raise AssertionError("Missing identity was accepted")
print(same_authority(expected))  # => True

Do this before moving on

Build the fictional authority record. Change only its tenant, then only its scope. Explain why neither modified record supports the original approval. Add an out-of-unit training target and state which owner must approve the acceptance procedure.

Go deeper

Key takeaways

  • Bind every observation to tenant, principal, role and scope.
  • Directory roles and Azure resource roles use separate authority paths.
  • Match the acceptance operation to the role and target restrictions.

Check yourself

Say or write your answer first, then reveal. Explaining it from memory, in your own words, is the skill an interviewer is checking.

  1. 1A provider is Owner of an Azure subscription. What can be inferred about customer directory-role administration?

  2. 2An activated unit-scoped role cannot change a privileged target. What should be checked first?

Sign in to track which lessons you have finished.