Secure access to resources by using Microsoft Entra ID
Five controls, one access path
An administrator activates the Global Administrator role for two hours, signs in with a passkey, is challenged for a compliant device, opens a reporting app that reads her mailbox through Microsoft Graph (the API through which applications read and write tenant data), and starts a function app that writes to a storage account. Five separate Microsoft Entra ID controls just made five separate decisions, and the whole of this page is those five.
This page covers the identity slice of the domain. Its sibling page on Azure Key Vault deals with where a workload's secrets, keys, and certificates are stored, and the governance page describes Azure role assignments, Azure Policy, and compliance reporting over resources. Here the subject is Microsoft Entra ID itself: who holds a privileged role and for how long, which credential proves a user, what must be true at the moment of sign-in, what an application may do with data, and how code authenticates when no person is involved.
| Control | Question it answers | Where you configure it |
|---|---|---|
| Assignment | Is this role standing, or activated for a task? | Privileged Identity Management[1] |
| Credential | Which methods may this user register and use? | Authentication methods policy[2] |
| Condition | What must be true about this sign-in? | Conditional Access[3] |
| Consent | What may this application do with data? | Permissions and consent[4] |
| Workload identity | How does code prove who it is? | Managed identities[5] |
Those five names are used the same way in every section, table, and figure below. The figure below traces one access path through them: a person meets the first four in order, while code with no signed-in user takes the workload-identity path to the same resource.
Two properties of this model matter more than any individual feature. First, the controls are configured independently, so satisfying one says nothing about another. An eligible role still has to survive the Conditional Access policy that guards the sign-in used to activate it, and an application with tenant-wide consent still needs a user who is permitted to sign in to it.
Second, the model does not evaluate the way the rest of Azure does, and the shared vocabulary hides the difference. Azure role-based access control (RBAC) is additive: effective permissions are the union of every assignment at every applicable scope, so adding an assignment can only widen access. That model is taught on the governance page. Conditional Access is the opposite shape: every policy that applies must be satisfied, and one policy using the block control ends the sign-in. Network rule sets on the storage and networking pages introduce yet a third shape, priority-ordered rules where the first match wins. Three different evaluation models share the words allow, deny, and policy, and reading one page's rule into another is a reliable way to get a question wrong.
Elevate a privileged role, then let it expire
An eligible assignment is not a weaker role, it is no role at all until the assignee activates it. Privileged Identity Management (PIM) offers exactly two assignment types for a Microsoft Entra role or an Azure resource role: an active assignment carries the role continuously from the moment it is made, and an eligible assignment carries nothing until the user completes the activation steps configured for that role (Privileged Identity Management[1]). Just-in-time privilege is that difference and nothing more: no component watches for a risky moment and elevates the user, the grant is simply time-boxed and has to be asked for. The figure below follows one elevation from eligible, through the gates, to expiry.
The gates on activation
Role settings, also called PIM policies, decide what an activation request has to survive (Configure Microsoft Entra role settings in PIM[6]). Four are commonly confused, and only one of them stops anybody:
- On activation, require multifactor authentication asks the user to prove possession of a second factor. Users might not be prompted at all if they already authenticated with strong credentials or completed multifactor authentication (MFA) earlier in the session, so this setting does not guarantee a fresh challenge.
- On activation, require Microsoft Entra Conditional Access authentication context points the activation at a Conditional Access policy, which is how you demand a specific method, a device marked compliant in Microsoft Intune, or terms of use. To force reauthentication on every activation, the policy targeting that authentication context sets sign-in frequency to Every time under session controls. Even then, a 10-minute window applies after one reauthentication, during which activating another eligible role does not prompt again, and that window spans Microsoft Entra roles, Azure resource roles, and PIM for Groups.
- Require justification on activation records a business reason. It is an audit artifact, not an approval: nobody reads it before the role is granted.
- Require approval to activate is the only setting that puts a human between the request and the privilege. Select at least one approver, and Microsoft recommends at least two. For Microsoft Entra roles, if no approver is configured, active Privileged Role Administrators and Global Administrators become the default approvers.
Two durations that look alike
Activation maximum duration caps how long a single elevation stays active before it expires, from 1 to 24 hours. Expire eligible assignment after (and its active counterpart) caps how long the assignment itself exists, in days or months. A request to limit each elevation to four hours is answered by the first setting; the second would only decide when the person stops being eligible at all, leaving each individual elevation as long as ever.
Where the settings apply
Role settings are defined per role, and all assignments for the same role follow them; the settings of one role are independent of another's. For Azure resource roles there is a second axis: settings are defined per role and per resource, and the docs are explicit that settings configured at a higher level such as a subscription are not inherited at a lower level such as a resource group (Configure Azure resource role settings in PIM[7]). Configuring an approval requirement once at the top of a subscription and assuming every resource group beneath it inherits the gate leaves those child scopes wide open, which is why the same role settings have to be configured at each resource where eligible assignments exist. Three lines are worth carrying out of all this: approval is the only setting that interposes a human, Activation maximum duration is the only one that bounds a single elevation, and for Azure resource roles neither of them reaches a scope where it was not configured.
Oversee privileged access after it is granted
Privilege that was justified in March is not automatically justified in September. Three PIM features deal with privileged access once it exists: an access review, which asks whether the access is still needed, notification settings, which decide who hears about activity on a role, and audit history, which records what was already done with it.
Scope a review to the assignments that matter
Access reviews for Microsoft Entra roles and Azure resource roles are created inside PIM, and the setting that decides what lands in front of the reviewer is assignment type: eligible assignments only, active assignments only, or all active and eligible assignments (Create an access review of Azure resource and Microsoft Entra roles in PIM[8]). A review of a role whose privileged access is all eligible finds nothing if it was scoped to active assignments only.
Three further settings decide what the review is worth. Reviewers can be selected users, the assignees themselves, or their manager with a fallback reviewer. Auto apply results to resource removes denied access automatically when the review ends; leave it disabled and the decisions sit there until an administrator applies them by hand. If reviewers don't respond decides the fate of unreviewed assignments, and its options run from no change through remove access to taking the system recommendation, which is based on whether the user signed in during the last 30 days. Reviews of more than one role create one review per role.
Route notifications to people who will act
Each role's Notifications tab controls who hears about activity on it. You can clear the default recipient checkbox to stop mails going to the built-in audience, add specific addresses separated by semicolons, or do both. Critical emails only narrows a given notification type to messages that require immediate action, so an approver keeps the mail asking them to approve an extension request but not the routine reminder to extend an assignment.
Keep the evidence
PIM's audit history records assignments and activations, and can be reviewed in the portal or downloaded for internal or external auditors (View audit history for Microsoft Entra roles in PIM[9]). Treat them as a set: the eligible assignment limits standing privilege, the access review removes what is no longer needed, the notifications put activity in front of someone who will act on it, and the audit history is what you hand an auditor who asks who held Global Administrator on a given day and what they did with it.
Compose a Conditional Access policy
A Conditional Access policy is an if-then statement made of assignments, which decide when the policy applies, and access controls, which decide what happens when it does (Build Conditional Access policies[3]). The minimum enforceable policy is a name, users or workload identities, target resources, and a grant or block control; everything else narrows it.
Assignments have four parts, and all configured assignments are combined with AND, so every one of them must match before the policy does anything:
- Users include or exclude all users, groups, directory roles, or guests. Policies targeting roles or groups are evaluated when a token is issued, so a user added to a targeted group is not subject to the policy until they get a new token.
- Target resources are cloud applications, user actions, or authentication contexts, the last being the hook that PIM activation uses.
- Network covers IP ranges and countries, some of which you can mark as trusted locations.
- Conditions add sign-in risk and user risk from Microsoft Entra ID Protection, device platform, client apps, and device filters. Device platform comes from the user agent string, an unverified source, so it is a usability signal rather than a security boundary.
Access controls come in two families. Grant either blocks access outright or grants it subject to controls such as require multifactor authentication, require authentication strength (a named set of methods that will satisfy the policy, covered in Require the right method with authentication strength below), require a device marked compliant, require a Microsoft Entra hybrid joined device, require an approved client app or app protection policy, require a password change, or require terms of use. Multiple selected controls default to requiring all of them; the alternative is requiring one of them. Session controls then shape what the granted session may do, including sign-in frequency, persistent browser session, app-enforced restrictions, and Conditional Access App Control through Microsoft Defender for Cloud Apps.
Enforcement runs in two phases, and the second one is where the exam questions live. Phase 1 collects session details for both enabled and report-only policies. Phase 2 identifies unmet requirements: if any applicable policy is configured with the block control, enforcement stops there and the user is blocked; otherwise the user is prompted for the outstanding grant controls in a fixed order until every policy is satisfied. The figure below traces that evaluation.
Two consequences are worth stating plainly, because they are what distractors are built from. There is no priority number on a Conditional Access policy: you cannot place a permissive policy above a restrictive one, the way a first-match-wins network rule set works on the storage and networking pages. And a grant in one policy never cancels a block in another, because the policies are combined, not ranked. When one specific identity must be exempt, the exemption is an explicit exclusion inside the policy that would otherwise catch it, since an exclusion always beats that identity's inclusion in the same policy.
Roll out a policy without locking yourself out
A tenant-wide Conditional Access policy can lock every administrator out of the tenant in one save, and the two defences are a rehearsal and an escape hatch.
The rehearsal is report-only mode, a policy state in which conditions are evaluated on every sign-in and the results are written to the sign-in logs, but no user is blocked and required controls are not enforced; report-only policies that require a compliant device can still prompt macOS, iOS, and Android users to select a device certificate, so a prompt during report-only evaluation is not a control being enforced (Conditional Access report-only mode[10]). Open a sign-in in Entra ID > Monitoring & health > Sign-in logs, select the Conditional Access tab, and each policy shows as satisfied, failed, or not applied for that specific sign-in. To ask the question ahead of any real sign-in, the What If tool on the same Conditional Access blade evaluates a hypothetical user, application, and condition set against your current policies. Neither is the same as reading audit logs after enforcement begins, which tells you what already broke.
The escape hatch is a set of emergency access accounts, also called break-glass accounts: cloud-only accounts with a strong credential, not tied to any one person's device or phone, excluded from the broad policies so a misconfiguration cannot lock everyone out (Manage emergency access accounts[11]). Excluding them is not a hole in the policy so much as the reason the policy can be strict at all, and the practice is paired with monitoring: alert on every sign-in by those accounts, because a legitimate one is rare.
PIM has its own version of the same trap. If every Privileged Role Administrator and Global Administrator holds only an eligible assignment, approval is required to activate, and no approver is configured, nobody can approve anybody and the tenant is locked out: the default approvers from the elevation section are the active holders of those roles, and this tenant has none. Emergency access accounts plus explicitly named approvers are what prevent it.
The takeaway is a sequence, not a preference: create the policy in report-only mode, exclude the emergency access accounts, read the Conditional Access results in the sign-in logs or model them in What If, and only then turn the policy on.
Conditional Access for service principals
A script that authenticates with its own credentials is not a user, and a Conditional Access policy scoped to users never sees it. Applications and service principals sign in with a client credential and cannot perform multifactor authentication, so the user-facing controls have no meaning for them; the answer is Conditional Access for workload identities, which is assigned to service principals directly (Conditional Access for workload identities[12]).
The feature is deliberately narrow, and its limits are what questions are built on:
- It applies to single-tenant service principals registered in your own tenant. Microsoft and third-party SaaS applications, including multitenant apps, are not covered.
- Managed identities are not covered by these policies either. Where a managed identity needs oversight, the documented alternative is to include it in an access review and to keep its role assignments minimal.
- A service principal can be a member of a group, but a policy assigned to that group is not enforced for it. The service principal must be assigned to the policy directly as a workload identity.
- Block access is the only available grant control. The supported conditions are location, service principal risk from Microsoft Entra ID Protection, and authentication context.
- Creating or modifying these policies requires Workload Identities Premium licensing.
Results appear under Sign-in logs > Service principal sign-ins, where each entry has its own Conditional Access tab, and the policy can be saved in report-only mode first exactly as a user policy can.
Adding the application owner's user account to an all-users policy does nothing for the application, because the account and the service principal are different identities making different token requests. Where the workload runs on an Azure host, the stronger move is to replace the script's stored credential with a managed identity, which is the subject of the last section on this page.
Enable a method before you require it
A user can only sign in with a credential they were allowed to register. The authentication methods policy is where that permission is granted: an Authentication Policy Administrator enables each method and targets it at all users or at specific groups, under Entra ID > Authentication methods > Policies (Manage authentication methods[2]). Methods enabled there can generally be used anywhere in Microsoft Entra ID, for both sign-in and password reset, with a few methods inherently limited to one or the other. Two legacy policies under multifactor authentication settings and password reset settings once managed some of the same methods; since 30 September 2025, authentication methods can no longer be managed in them.
Match the method to the job
Not every method can do every job, and the capability table is the fact a scenario question turns on (Microsoft Entra authentication overview[13]). Primary authentication is a first factor, secondary authentication is the MFA step, and the third column covers self-service password reset (SSPR) and account recovery. The list below is a selection, not the full table:
| Method | Primary | Secondary (MFA) | SSPR / recovery |
|---|---|---|---|
| Password | Yes | No | No |
| Passkey (FIDO2) | Yes | MFA | No |
| Windows Hello for Business | Yes | MFA, when a passkey is registered | No |
| Microsoft Authenticator passwordless | Yes | No | No |
| Microsoft Authenticator push notifications | Yes | MFA | SSPR |
| Certificate-based authentication | Yes | MFA | No |
| Temporary Access Pass | Yes | MFA | No |
| Verified ID | No | No | Account recovery |
Two rows in that table are the ones people get wrong. Microsoft Authenticator passwordless sign-in is a primary method only, while Authenticator push notifications also serve as a second factor and for SSPR. Primary only describes where a method sits in a sign-in, not what it proves: passwordless phone sign-in is never the second step after a password, and it still satisfies the multifactor and passwordless MFA strengths in the overview table. Verified ID is an identity verification capability rather than an authentication method: it provides cryptographic proof of identity for account recovery and cannot be used for sign-in, MFA, or SSPR.
Bootstrapping the first strong credential
A new user, or one who has lost their phone, has no usable method to authenticate with, which is what a Temporary Access Pass (TAP) solves. A TAP is a time-limited passcode, configurable for a single use or for multiple sign-ins during its validity, that lets a user sign in and register a passwordless method such as a passkey or Windows Hello for Business (Configure a Temporary Access Pass[14]). It is enabled and targeted in the same authentication methods policy, and although a TAP can be created for any user, only users in scope of the policy can sign in with one. Pass lifetimes run from 10 minutes to 30 days, with a default lifetime of 1 hour and a default maximum of 8 hours, and when a one-time TAP is used to register a passwordless method the registration must be completed within 10 minutes of that sign-in.
Handing the user a permanent password instead achieves the opposite of the goal: it creates a phishable credential that outlives the onboarding, where the TAP expires on its own and never becomes a standing secret.
Require the right method with authentication strength
Enabling a method and requiring one are different jobs done by different features. The authentication methods policy from the previous section decides what a user may register; an authentication strength is a Conditional Access grant control that decides which of those registered methods will satisfy this particular policy (Conditional Access authentication strengths[15]).
Three built-in strengths ship, and they cannot be modified: Multifactor authentication strength, Passwordless MFA strength, and Phishing-resistant MFA strength. A custom strength lets you name the exact combinations you accept. Phishing resistance is the sharpest line here, and it is a property of the method, not of the number of factors: the built-in phishing-resistant strength admits a passkey (FIDO2 security key), Windows Hello for Business or a platform credential, and multifactor certificate-based authentication, because each requires an interaction between the credential and the sign-in surface. A password plus an SMS code, a voice call, or a push notification satisfies MFA strength and fails phishing-resistant strength. The strength table in the overview above lists each method against all three strengths.
Three behaviours around the control catch people out:
- Require multifactor authentication and Require authentication strength cannot both be used in one Conditional Access policy, because the built-in multifactor authentication strength is the equivalent of the older control.
- A strength does not restrict the user's initial authentication. Conditional Access is evaluated after that first authentication, so a user can still type a password and is then required to complete a phishing-resistant method before continuing.
- A strength grants nothing by itself. If passkeys were never enabled for the target group in the authentication methods policy, the users in scope have no way to satisfy a phishing-resistant requirement, and the result is a support queue rather than security.
The strength control is also how the PIM activation gate becomes specific. Point a role's On activation, require Microsoft Entra Conditional Access authentication context setting at an authentication context, then write one Conditional Access policy for that context requiring the strength you want, as described in the elevation section above. That combination, rather than the plain MFA-on-activation setting, is what forces a nominated credential at elevation time.
One application, two objects
Adding an application to a tenant can create two directory objects, and knowing which one a setting lives on answers a whole family of questions. The app registration is the global definition of the application: its application (client) ID, redirect URIs, credentials, the APIs it exposes, the permissions it requests, and its app-role definitions. The enterprise application is the service principal, the local instance of that application inside one tenant, and it holds everything tenant-specific: single sign-on, provisioning, user and group assignment, the Assignment required property, Conditional Access, and consent (Application and service principal objects[16]).
The figure below shows how the objects relate. A multitenant application has one app registration in its home tenant and a separate service principal in every tenant that uses it; a gallery SaaS application you add has only a service principal in your tenant, because its registration lives with the vendor (What is application management[17]). Deleting the service principal removes your tenant's instance along with its assignments and consent, and leaves the registration of a multitenant or gallery application untouched. You cannot configure per-tenant single sign-on or user assignment on an application that has only a registration and no service principal in your tenant, and editing your local enterprise application never changes the vendor's global definition.
Who may sign in to the application
On the enterprise application, Assignment required = Yes means only explicitly assigned users and groups can sign in to it; No means any user in the tenant can (Assign users and groups to an application[18]). Group-based assignment requires Microsoft Entra ID P1 or P2, while assigning individual users works on the Free tier.
Group assignment has one behaviour that surprises almost everyone: it does not cascade through nested groups. Members of a subgroup of an assigned group receive no access, so each group that needs access is assigned directly, or its users are. App roles are declared in the app registration's manifest, assigned on the enterprise application, and emitted in the token's roles claim, the claim an application reads to decide what the caller may do inside it; where no app role is defined, Microsoft Entra assigns the well-known Default Access role.
Assignment answers who may sign in and, when the application exposes app roles, what role the assignee receives. What the application may then call is decided by consent, the subject of the next section, and an application that requires assignment must have its permissions consented by an administrator even where the tenant's user consent policy would otherwise let a user self-consent.
Who consents, and to what
Requesting a permission and holding it are different states, and consent is the step between them. An application declares the permissions it wants on its app registration; nothing is granted until a user or an administrator consents, which creates the actual grant object in the tenant, the OAuth permission grant (Overview of permissions and consent[4]).
There are two kinds of permission, and the difference decides who is even allowed to consent. Delegated permissions, also called scopes, are used when the application acts on behalf of a signed-in user: both the application and the user must be authorized, so the application can never reach data the user could not reach personally. Application permissions, also called app roles, are used when the application acts as itself with no user present, in a daemon or background service, and the application can then reach any data the permission covers across the tenant. Because there is no user whose privileges could bound it, only an administrator can consent to an application permission. The term app role appears in two senses on this page: here it names a permission the application itself holds, while in One application, two objects above it names a role the application defines for its own users. The figure below traces the resulting decision.
Converting an interactive workload to application permissions merely to stop a consent prompt therefore trades a bounded permission for an unbounded one, which is the opposite of least privilege.
Tune what users may consent to
The tenant's user consent setting has three positions (Configure how users consent to applications[19]):
- Do not allow user consent, where only administrators consent.
- Allow user consent for apps from verified publishers, for selected permissions, the low-impact policy, which permits consent only to applications from a verified publisher or registered in your own tenant, and only to the permissions you have classified as low impact. Classifying those permissions is a prerequisite, not an option: with nothing classified, users can consent to nothing.
- Allow user consent for apps, which permits consent to any permission that does not itself require administrator consent.
Restricting consent without an escalation path just moves the problem to the help desk, so pair it with the admin consent workflow: a blocked user submits a justification from the consent prompt, and designated reviewers, who hold Global Administrator, Cloud Application Administrator, or Application Administrator, grant or deny the request (User and admin consent[20]).
Preauthorize what the whole organization needs
Where a line-of-business application is meant for everyone, granting tenant-wide administrator consent to its delegated Microsoft Graph permissions creates the grant once for the organization, and users stop seeing the prompt entirely unless the application later requests a permission nobody has consented to. Adding permissions to the registration alone never achieves this, and neither does telling each user to consent when user consent is disabled: the permission list on a registration is a request, and the grant is a separate object created by the act of consenting. Cloud Application Administrator and Application Administrator can grant consent for most permissions, while permissions that grant privileged directory access require Privileged Role Administrator or Global Administrator (User and admin consent[20]).
Credentials a workload never holds
The safest client secret is the one that was never created. A managed identity is a service principal in Microsoft Entra ID whose credentials Azure issues and rotates for you, at no extra cost, so code running on a supported Azure host can request a token for a target service without a secret anywhere in its configuration (Managed identities for Azure resources[5]).
Mechanically the flow is short, and the figure below traces it. Code calls the Azure Identity library or the Microsoft Authentication Library (MSAL), which contacts the identity endpoint local to the host, at the Azure Instance Metadata Service address 169.254.169.254[21] for a virtual machine. The endpoint is reachable only from inside the resource, the request carries a Metadata: true header and a resource parameter naming the audience such as https://storage.azure.com/, and Microsoft Entra ID returns a JSON Web Token. The target service must support Microsoft Entra authentication for any of this to help.
Choose the identity type by lifecycle
A system-assigned managed identity is created on one Azure resource, shares that resource's lifecycle so deleting the resource deletes the identity, and cannot be shared with anything else. It is the better answer when the audit trail must name the exact resource that acted, and when access should disappear with the workload.
A user-assigned managed identity is a standalone Azure resource with its own lifecycle: it can be attached to many hosts, survives the deletion of any of them, and can be granted permissions before the workload it will serve even exists. Microsoft's own arithmetic makes the operational case: four virtual machines reaching two storage accounts need eight role assignments with system-assigned identities and two with one shared user-assigned identity (Managed identity best practice recommendations[22]). A resource can carry a system-assigned identity and one or more user-assigned identities at the same time, and when a token request names no identity, the identity endpoint defaults to the system-assigned one where it exists, so a role granted only to a user-assigned identity comes back as an authorization failure rather than an authentication error (Managed identities FAQ[23]). With no system-assigned identity and two or more user-assigned identities, the request must name one.
Authenticating is not authorizing
Enabling an identity on a host proves who the caller is; it grants no access to anything. Every downstream resource needs its own role assignment for that identity, at the narrowest scope that permits the required data operation, and the role-assignment mechanics themselves are covered on the governance page. Two operational details follow from the same model: managed identity tokens are cached by the platform for around 24 hours and carry group and role membership as claims, so changes made through group membership can take hours to take effect, which is why Microsoft recommends assigning roles directly to a user-assigned identity when changes must apply quickly. And role assignments are not removed when an identity is deleted, leaving orphaned assignments that show as "Identity not found" until someone clears them.
Because the host is the credential, anyone who can run code on that host can use every identity attached to it. A managed identity does not make a shared build agent safe to grant Key Vault access; it moves the trust boundary to the host.
Outside Azure, and the last resort
Workloads that do not run on a supported Azure host, such as GitHub Actions, another cloud, or Kubernetes off Azure, can use workload identity federation[24] with a user-assigned managed identity or app registration. The workload trades a token issued by the external platform for a Microsoft identity platform access token, so nothing has to store a secret. A maximum of 20 federated identity credentials can be added to one application or user-assigned managed identity.
Where none of that is possible, a confidential client falls back to a credential on its app registration: Microsoft recommends a certificate over a client secret before an application goes to production, and a client secret's lifetime is limited to 24 months with an expiration under 12 months recommended (Add and manage app credentials[25]). Whichever credential you use, track its expiry, because the failure mode of a forgotten secret is a production outage at an hour nobody chose.
Exam-pattern recognition
SC-500 questions on this objective are short scenarios that name a symptom and ask for the one setting that fixes it. Sorting them by which of the five controls the stem is really about is faster than reading the options first.
Privileged access. A stem that says elevation must be authorized by someone else is asking for Require approval to activate with named approvers; requiring justification is the distractor that records a reason and grants the role anyway. A stem that caps how long an elevation lasts is Activation maximum duration, not Expire eligible assignment after, which only ends the eligibility. A stem where a policy was set on a subscription and a resource group behaves differently is the per-role, per-resource rule: Azure resource role settings do not inherit downward. A stem demanding reauthentication at every activation needs an authentication context plus a Conditional Access policy with sign-in frequency set to Every time, and even that carries the 10-minute window across activations.
Conditional Access. Where two policies disagree, the block wins and there is no priority order to reorder. Where one identity must be exempt, the answer is an exclusion inside the policy. Where the stem says "validate the impact before enforcing", the answer is report-only mode plus the sign-in logs, or the What If tool; reading audit logs after turning the policy on is the trap. Where the caller is a script or a daemon, a user-scoped policy does not apply, adding the owner's account changes nothing, and Conditional Access for workload identities with the service principal assigned directly is the fix, unless the identity is a managed identity, which those policies do not cover at all.
Credentials. "Only phishing-resistant methods" means the built-in Phishing-resistant MFA strength, not Require multifactor authentication, and it means enabling passkeys for those users in the authentication methods policy first, since a strength provisions nothing. A Temporary Access Pass is the answer to bootstrapping or recovering a passwordless credential; it satisfies MFA strength but is in neither the passwordless nor the phishing-resistant built-in strength. When the stem lists what a method must do, check the capability table: Microsoft Authenticator passwordless is primary authentication only, and Verified ID does account recovery and nothing else.
Applications. Users seeing a consent prompt when user consent is disabled means the delegated permissions need tenant-wide administrator consent; adding permissions to the registration is not a grant. A background job that needs data with no user signed in means application permissions with administrator consent. Restricting which staff can open an application means Assignment required = Yes with direct assignments, and members of nested groups still need their own assignment. Editing the enterprise application never changes a multitenant application's global definition, which lives on the registration in its home tenant.
Workload identity. A stored client secret on an Azure host is replaced by a managed identity, system-assigned when the identity should die with the resource and the audit trail must name it, user-assigned when several hosts share permissions or the permissions must exist before deployment. A workload outside Azure gets a federated identity credential instead. And whenever the stem says the code authenticates but cannot read the target, the missing piece is the role assignment on the target resource, not anything on the source.
Which built-in authentication strength each method satisfies
| Authentication method | MFA strength | Passwordless MFA strength | Phishing-resistant MFA strength |
|---|---|---|---|
| Passkey (FIDO2 security key) | Satisfies | Satisfies | Satisfies |
| Windows Hello for Business or platform credential | Satisfies | Satisfies | Satisfies |
| Certificate-based authentication (multifactor) | Satisfies | Satisfies | Satisfies |
| Microsoft Authenticator passwordless (phone sign-in) | Satisfies | Satisfies | No |
| Temporary Access Pass | Satisfies | No | No |
| Password plus SMS, voice, push, or OATH token | Satisfies | No | No |
| Password alone | No | No | No |
Decision tree
Sharp facts the exam loves — give these one last read before exam day.
Cheat sheet
Sharp facts the exam loves — scan these before test day.
- Eligible PIM assignments require activation before privileges become usable
An eligible assignment supplies no standing role access until the assignee completes its configured activation steps; an active assignment supplies the role without activation. Use eligible assignments when privileged access should exist only just in time.
Trap Create a permanent active assignment and rely on an access review to make each use temporary.
9 questions test this
- Your Microsoft Entra tenant contains a role-assignable group named ElevationGroup that is assigned the Application Administrator role. Engineers hold eligible member assignments for ElevationGroup, an
- Your Microsoft Entra tenant uses Privileged Identity Management (PIM). Yesterday you created an eligible assignment to the Exchange Administrator role for a user named User1, and the role's PIM role s
- You have an Azure subscription named Sub1 and use Privileged Identity Management (PIM) for Azure resource roles. A contractor named User1 joins a six-week data migration project and must manage the st
- You have an Azure subscription named Sub1 that uses Privileged Identity Management (PIM) for Azure resource roles. Resource administrators keep creating permanent active Contributor assignments on Sub
- You have an Azure subscription named Sub1 that contains a resource group named RG1. In Privileged Identity Management (PIM), eight engineers hold eligible User Access Administrator assignments that ar
- Your Microsoft Entra tenant uses Privileged Identity Management (PIM). Every Global Administrator and Privileged Role Administrator in the tenant holds an eligible assignment only, and no active assig
- Your Microsoft Entra tenant uses Privileged Identity Management (PIM). The Cloud Application Administrator role requires approval to activate, and two members of the security team are its designated a
- Your company has a Microsoft Entra tenant that uses Privileged Identity Management (PIM). Ten security engineers hold permanent active assignments to the Security Administrator role, so they carry the
- You have an Azure subscription named Sub1 that contains a resource group named RG1, which hosts Microsoft Foundry resources. A cloud engineer named User1 must be able to manage every resource in RG1,
- PIM approval settings make another administrator authorize elevation
Enable Require approval to activate and designate approvers when an eligible user's request must be explicitly approved before the role becomes active. Requiring justification records a reason but does not create an approval gate.
Trap Require justification on activation.
5 questions test this
- Your Microsoft Entra tenant contains a role-assignable group named ElevationGroup that is assigned the Application Administrator role. Engineers hold eligible member assignments for ElevationGroup, an
- You have an Azure subscription named Sub1 that contains a resource group named RG1. In Privileged Identity Management (PIM), eight engineers hold eligible User Access Administrator assignments that ar
- Your Microsoft Entra tenant uses Privileged Identity Management (PIM). Every Global Administrator and Privileged Role Administrator in the tenant holds an eligible assignment only, and no active assig
- Your Microsoft Entra tenant uses Privileged Identity Management (PIM). The Intune Administrator role requires approval to activate, and a security lead named Admin1 is the only designated approver for
- Your Microsoft Entra tenant uses Privileged Identity Management (PIM). The Cloud Application Administrator role requires approval to activate, and two members of the security team are its designated a
- Activation maximum duration automatically ends each PIM elevation
Set Activation maximum duration to limit how long an approved activation remains active before expiring. Assignment expiration controls how long an eligible or active assignment exists, not the duration of each activation.
Trap Configure Expire eligible assignments after for a four-hour elevation window.
5 questions test this
- Your Microsoft Entra tenant uses Privileged Identity Management (PIM). An engineer named User1 activated an eligible Microsoft Entra role and, when prompted for a duration, accepted the maximum that t
- You have an Azure subscription named Sub1 that contains a resource group named RG-Prod. In Privileged Identity Management (PIM), you configured the Owner role settings on Sub1 to require approval to a
- Your Microsoft Entra tenant uses Privileged Identity Management (PIM). Security engineers hold eligible assignments to a Microsoft Entra role that they activate before a monthly patching window that r
- Your Microsoft Entra tenant uses Privileged Identity Management (PIM). A security engineer named User1 activated an eligible Microsoft Entra role, and the activation reached its maximum duration and e
- You have an Azure subscription named Sub1. In Privileged Identity Management (PIM), an engineer named User1 holds an eligible Owner assignment on a resource group named RG-Web, and the role's Activati
- Azure resource PIM settings are isolated by role and resource
PIM role settings apply to one role at one Azure resource scope, and every assignment for that role at that resource follows them. Settings configured at a subscription do not inherit to the same role at a child resource group.
Trap Configure the role policy once at the management group and expect child-resource policies to inherit it.
4 questions test this
- Your Microsoft Entra tenant uses Privileged Identity Management (PIM). An engineer named User1 activated an eligible Microsoft Entra role and, when prompted for a duration, accepted the maximum that t
- You have an Azure subscription named Sub1 that contains a resource group named RG-Prod. In Privileged Identity Management (PIM), you configured the Owner role settings on Sub1 to require approval to a
- Your Azure environment contains a management group named MG-Core that contains subscriptions named Sub1 and Sub2. In Privileged Identity Management (PIM), engineers hold eligible Owner assignments and
- Your Azure environment contains a management group named MG1 that contains subscriptions named Sub1 and Sub2. In Privileged Identity Management (PIM), an engineer named User1 holds an eligible Contrib
- Use an authentication context when PIM activation must force policy-controlled reauthentication
PIM role settings can require MFA or a Conditional Access authentication context when an eligible user activates a role. A prior strong or MFA authentication in the session can satisfy the ordinary MFA setting; to require reauthentication for each activation, target the authentication context with a Conditional Access sign-in frequency of Every time, noting that a 10-minute reauthentication window still applies across eligible role activations.
2 questions test this
- Your company has a Microsoft Entra tenant that uses Privileged Identity Management (PIM). Security engineers hold eligible assignments to the Cloud Device Administrator role, and the role settings alr
- Your Microsoft Entra tenant uses Privileged Identity Management (PIM). Engineers hold eligible assignments to the Authentication Policy Administrator role, and the role settings require Conditional Ac
- Scope PIM access reviews to the privileged assignment types that require recertification
Create PIM access reviews for Microsoft Entra or Azure resource roles to confirm that privileged access is still required. Select eligible assignments only, active assignments only, or all active and eligible assignments according to which grants must be recertified, then apply the review decisions to remove access that is no longer justified.
4 questions test this
- Your Azure environment contains a subscription named Sub2 that uses Privileged Identity Management (PIM) for Azure resource roles. Engineers and two workload identities hold Virtual Machine Contributo
- Your Microsoft Entra tenant uses Privileged Identity Management (PIM). Each quarter you run an access review of the eligible assignments to the Helpdesk Administrator role. In the last cycle, reviewer
- Your Microsoft Entra tenant uses Privileged Identity Management (PIM). Thirty users hold assignments to the Security Reader role: some can use the role's permissions as soon as they sign in, while the
- You have an Azure subscription named Sub1 that uses Privileged Identity Management (PIM) for Azure resource roles. A quarterly access review of the User Access Administrator role on Sub1 is scheduled
- PIM role settings control activation-notification recipients and urgency filtering
Configure each role's activation notifications by selecting its default recipients and adding other recipient email addresses as needed. Select Critical emails only when those recipients should receive messages requiring immediate action rather than every message of that notification type.
- Use PIM audit history as evidence of privileged role activity
Review or download PIM audit history when evidence of privileged-role assignments and activations is required. PIM makes this history available for internal or external audit.
- A sign-in must satisfy every applicable Conditional Access policy
Microsoft Entra evaluates all Conditional Access policies that apply to the identity and target resource and grants access only when all applicable requirements are met. A block control in any applicable policy prevents access rather than being canceled by a grant in another policy.
Trap Place a permissive grant policy at higher priority so it overrides a separate block policy.
7 questions test this
- You have a Microsoft Entra tenant that contains 45 enabled Conditional Access policies and 6 policies in report-only mode. A user named User1 reports that a sign-in to a SharePoint site was interrupte
- You have a Microsoft Entra tenant. You create a Conditional Access policy named CA20 that includes the Finance group, targets an app named App1, uses a named location called HighRisk-Countries as its
- You are designing a Conditional Access policy for a Microsoft Entra tenant that must require an authentication strength of phishing-resistant multifactor authentication for all users and all resources
- Your Microsoft Entra tenant contains an app named Payroll and a group named Finance. A Conditional Access policy named CA40 targets the Finance group and the Payroll app and grants access when multifa
- Your Microsoft Entra tenant contains two enabled Conditional Access policies that both target the Sales group and all resources: CA10 grants access and requires multifactor authentication, and CA11 gr
- Your company has a Microsoft Entra tenant. A Conditional Access policy named CA01 targets all users and all resources and grants access when multifactor authentication is completed. A second policy na
- You have a Microsoft Entra tenant that contains 30 Conditional Access policies. You plan to onboard an app named App1 for a group named Engineers. Before anyone signs in to App1, you must determine ev
- Broad Conditional Access policies must preserve emergency access
For policies targeting all users, exclude emergency or break-glass accounts so administrators can recover from a lockout. Within one policy, an explicit identity exclusion overrides that identity's inclusion.
Trap Include every Global Administrator so no privileged identity can bypass the policy.
7 questions test this
- Your Microsoft Entra tenant has an enabled Conditional Access policy that targets all users and all resources and requires a device marked as compliant. A group named EmergencyAccess that contains you
- Your company federates its Microsoft Entra tenant to an on-premises Active Directory Federation Services farm. Two emergency access accounts are synchronized from on-premises Active Directory and are
- Your Microsoft Entra tenant contains two emergency access accounts in a security group named EmergencyAccess that is excluded from all 20 enabled Conditional Access policies. Several engineers hold th
- You are designing a Conditional Access policy for a Microsoft Entra tenant that must require an authentication strength of phishing-resistant multifactor authentication for all users and all resources
- Your Microsoft Entra tenant contains an app named Payroll and a group named Finance. A Conditional Access policy named CA40 targets the Finance group and the Payroll app and grants access when multifa
- Your Microsoft Entra tenant contains two emergency access accounts that hold permanently active Global Administrator assignments and are excluded from every enabled Conditional Access policy. Microsof
- Your Microsoft Entra tenant uses Privileged Identity Management. Two emergency access accounts are excluded from every enabled Conditional Access policy, and each account holds an eligible Global Admi
- Report-only mode evaluates a Conditional Access policy without enforcing it
Use report-only mode and inspect the Conditional Access results in sign-in logs to validate expected impact before switching a policy on. Report-only evaluation neither blocks users nor prompts them to satisfy grant or session controls.
Trap Enable the policy for all users and use the audit logs only after enforcement begins.
5 questions test this
- Your Microsoft Entra tenant contains 31 Conditional Access policies. One of them, named CA61, targets the Finance group and all resources and requires multifactor authentication. CA61 has had the Enab
- Your company has a Microsoft Entra tenant that has Microsoft Entra ID P1 licenses and a Microsoft Security Copilot deployment with provisioned security compute units. New users and applications are on
- You have a Microsoft Entra tenant that contains 32 enabled Conditional Access policies and six policies in report-only mode. An internal audit requires a file that covers the past two weeks of sign-in
- You have a Microsoft Entra tenant that contains 40 enabled Conditional Access policies. You must measure the impact of a new policy that targets the user action Register security information and block
- Your company has a Microsoft Entra tenant that contains 25 enabled Conditional Access policies. You create a policy named CA50 that targets the Engineering group and all resources and requires a devic
- User-scoped Conditional Access does not govern service-principal calls
Calls made by service principals are not blocked by Conditional Access policies scoped to users. Use Conditional Access for workload identities when a policy must target service principals, and replace script credentials with managed identities where supported.
Trap Add the application's owner account to an all-users policy and assume the service principal is covered.
3 questions test this
- Your Microsoft Entra tenant has Workload Identities Premium licenses and uses Microsoft Entra ID Protection. A single-tenant line-of-business application named App2 authenticates with its own service
- Your company deploys Azure resources from a GitHub Actions workflow that signs in to Microsoft Entra ID as an app registration named Deploy1 by using a client secret that is stored as a GitHub reposit
- Your Microsoft Entra tenant contains a single-tenant line-of-business application named App3 that calls Microsoft Graph with its own service principal. A Conditional Access policy assigned to App3's s
- Build Conditional Access as an identity-and-resource if-then decision
Assign a Conditional Access policy to the intended users, groups, or workload identities and target resources, then refine applicability with signals such as IP location, device platform or state, and user or sign-in risk. Choose block access or grant access with the required controls, such as MFA, authentication strength, or a compliant device.
6 questions test this
- Your company has enabled adaptive protection in Microsoft Purview, which continuously classifies employees as Minor, Moderate, or Elevated based on data-exfiltration behavior such as bulk downloads be
- Your Microsoft Entra tenant has Microsoft Entra ID P2 licenses. A policy named Microsoft-managed: Multifactor authentication for all users appears in the Conditional Access policy list with Microsoft
- Your company has a Microsoft Entra tenant that uses Privileged Identity Management. Several cloud security engineers hold eligible assignments to the Security Administrator role, and that role current
- In your Microsoft Entra tenant, all users may join and register their own devices, and the device setting Require multifactor authentication to register or join devices with Microsoft Entra is set to
- Your Microsoft Entra tenant contains a group named CloudAdmins whose members administer Azure subscriptions. Every corporate laptop is enrolled in Microsoft Intune and can be marked as compliant, and
- Your company has a Microsoft Entra tenant. A group named PortalOps contains staff who use a browser to work in the Azure portal, the Exchange admin center, and the Microsoft 365 admin center. The same
- Authentication strengths restrict which method combinations satisfy Conditional Access
A Conditional Access authentication strength can require the built-in multifactor, passwordless MFA, or phishing-resistant MFA strength, or a custom set of allowed combinations. Requiring generic MFA does not guarantee that a phishing-resistant method was used.
Trap Use the Require multifactor authentication grant control when only phishing-resistant credentials are acceptable.
8 questions test this
- Your company has a line-of-business web application named App5 that is registered in Microsoft Entra ID and developed in house. Most work in App5 is routine, but approving a wire transfer is highly se
- Your company invited 40 engineers from a partner Microsoft Entra tenant as B2B collaboration guests. A Conditional Access policy in your tenant requires the built-in Phishing-resistant MFA strength fo
- Your company has 900 field technicians who use company-owned iOS and Android phones that have Microsoft Authenticator installed. The technicians sign in with a password and then approve a push notific
- Your company issues smart cards, and Microsoft Entra certificate-based authentication is enabled for all users. Users sign in successfully with their smart cards, and the sign-in logs confirm that the
- Your company has 5,000 users. Every user is registered for a password plus a text message, and 200 executives also carry FIDO2 security keys. A new standard states that a document repository named Rep
- Your company has a design team of 60 users who work only on Intune-managed Mac computers that run macOS 14. A Conditional Access policy requires the built-in Phishing-resistant MFA strength for a medi
- Your company protects all employee sign-ins with a non-Microsoft multifactor authentication provider that is integrated with Microsoft Entra ID as an external authentication method. No employee has re
- A user named User1 has a Windows 11 laptop that is joined to Microsoft Entra ID and is registered for Windows Hello for Business. A Conditional Access policy for a payroll application requires a custo
- Passkeys, Windows Hello, and multifactor CBA can satisfy phishing-resistant strength
The built-in phishing-resistant MFA strength includes passkeys such as FIDO2 security keys, Windows Hello for Business or platform credentials, and multifactor certificate-based authentication. Password plus an SMS code can satisfy MFA strength but not phishing-resistant MFA strength.
Trap Microsoft Authenticator push notification with number matching.
6 questions test this
- Your company invited 40 engineers from a partner Microsoft Entra tenant as B2B collaboration guests. A Conditional Access policy in your tenant requires the built-in Phishing-resistant MFA strength fo
- Your company has 900 field technicians who use company-owned iOS and Android phones that have Microsoft Authenticator installed. The technicians sign in with a password and then approve a push notific
- Your company issues smart cards, and Microsoft Entra certificate-based authentication is enabled for all users. Users sign in successfully with their smart cards, and the sign-in logs confirm that the
- Your company has 5,000 users. Every user is registered for a password plus a text message, and 200 executives also carry FIDO2 security keys. A new standard states that a document repository named Rep
- Your company has a design team of 60 users who work only on Intune-managed Mac computers that run macOS 14. A Conditional Access policy requires the built-in Phishing-resistant MFA strength for a medi
- A user named User1 has a Windows 11 laptop that is joined to Microsoft Entra ID and is registered for Windows Hello for Business. A Conditional Access policy for a payroll application requires a custo
- Temporary Access Pass bootstraps passwordless credential registration
Issue a Temporary Access Pass so a user can perform initial sign-in or recover access and register a passwordless method such as a passkey. A TAP can satisfy MFA strength, but it is not included in the passwordless or phishing-resistant built-in strengths.
Trap Send the user a permanent password and exempt the registration session from MFA.
9 questions test this
- A user named User2 in your Microsoft Entra tenant signs in with a passkey on a FIDO2 security key and has no other registered authentication method. Your organization never issues passwords to its use
- A user named User2 in your Microsoft Entra tenant signs in with a passkey on a FIDO2 security key and has no other registered authentication method. Your organization never issues passwords to its use
- Your company has a Microsoft Entra tenant in which the Temporary Access Pass method is enabled and targeted at a group named AllStaff. A service desk team named Desk1 must be able to create and delete
- Last month your service desk issued Temporary Access Passes that could be used more than once to a group of field employees who were setting up new tablets. This week, to close an audit finding, you e
- A user named User1 has a Windows 11 laptop that is joined to Microsoft Entra ID. User1 signs in only with a FIDO2 security key and Windows Hello for Business and has never been issued a password. Afte
- Your company has 3,000 users who complete multifactor authentication with a text message. Passkey (FIDO2) is enabled for all users and Allow self-service set up is set to Yes, but almost nobody has re
- Your Microsoft Entra tenant contains a group named Contractors, and Passkey (FIDO2) is enabled and targeted at that group with self-service set up allowed. A service desk agent who holds the Authentic
- Your company gives each new hire a Windows 11 laptop that the hire joins to Microsoft Entra ID during setup. New hires are never given a password, so the service desk issues each one a Temporary Acces
- Your company issues a Temporary Access Pass with a one-hour lifetime to each contractor so that the contractor can register a passkey. During a review you find that a contractor who signed in to a web
- Authentication methods policy controls which users can register each method
Enable an authentication method in the Microsoft Entra authentication methods policy and target the intended groups before users can register and use it. Configuring a Conditional Access authentication strength does not itself enable or provision the underlying credentials.
Trap Create a phishing-resistant authentication strength and skip enabling passkeys for the target users.
8 questions test this
- Your Microsoft Entra tenant has Passkey (FIDO2) enabled with All users added as a target and a passkey profile that allows device-bound passkeys. A group named ShopFloor was added to the excluded targ
- Every user in your Microsoft Entra tenant has registered a passkey, and most users also kept a text message as a backup method that the business wants to remain available. Users report that Microsoft
- Your company has 3,000 users who complete multifactor authentication with a text message. Passkey (FIDO2) is enabled for all users and Allow self-service set up is set to Yes, but almost nobody has re
- Your Microsoft Entra tenant contains a group named Contractors, and Passkey (FIDO2) is enabled and targeted at that group with self-service set up allowed. A service desk agent who holds the Authentic
- The Authentication methods policy in your Microsoft Entra tenant is in the Migration in Progress state. In that policy you enabled Passkey (FIDO2) and Microsoft Authenticator for all users, and you ne
- Over two years your team enabled Microsoft Authenticator and Passkey (FIDO2) in the Authentication methods policy and targeted each method at a separate group for every department, so the policy now t
- Your Microsoft Entra tenant verifies sign-ins with Microsoft Authenticator push notifications, and a small group uses voice calls. Attackers have begun sending repeated verification requests to users,
- Your Microsoft Entra tenant uses passkey profiles. A profile named Profile1 targets a group named Admins, allows device-bound passkeys only, restricts registration to the Microsoft Authenticator AAGUI
- Select authentication methods by their documented sign-in, MFA, and recovery capabilities
Choose a method only for the roles its capability table supports: primary authentication, secondary MFA, SSPR, or account recovery. Microsoft Authenticator passwordless supports primary authentication but not secondary MFA or recovery, whereas Authenticator push notifications support primary authentication, MFA, and SSPR; Verified ID supplies account-recovery proof but cannot perform sign-in or MFA.
4 questions test this
- A government agency has a Microsoft Entra tenant and an internal public key infrastructure that already issues smart card certificates to every employee. Employees must complete first factor sign-in t
- Your company operates 60 retail stores, and each store keeps five shared Android tablets that associates use for a shift application registered in your Microsoft Entra tenant. Associates switch tablet
- Your company acquires a subsidiary that already runs a non-Microsoft multifactor authentication service with an OpenID Connect discovery endpoint. A group named Pilot contains 50 subsidiary staff who
- Your company has a Microsoft Entra tenant in which every employee signs in with a passkey and no employee is ever issued a password. A remote engineer named User1 loses both of the devices that hold U
- An app registration defines the application while its service principal represents a tenant instance
The application object stores the global definition configured under App registrations. An enterprise application is the service principal in a tenant, where administrators manage local access settings, assignments, and consent for that tenant instance.
Trap Edit the enterprise application's service principal to change the multitenant application's global definition.
3 questions test this
- Your company has a Microsoft Entra tenant named contoso.onmicrosoft.com. A vendor's multitenant SaaS application named App2 was added to the tenant when an administrator granted admin consent, and App
- Your company, Adatum, develops a multitenant application named App1 that is registered in the Adatum Microsoft Entra tenant. Two customers, Contoso and Fabrikam, have each granted admin consent to App
- You have a Microsoft Entra tenant with Workload Identities Premium licenses. The tenant contains an application named App3 that your team registered. App3 is single-tenant, runs as an unattended daemo
- Delegated permissions act with a user while application permissions act as the app
Use delegated permissions when an application accesses an API on behalf of a signed-in user; effective access is constrained by both the grant and the user's authorization. Use application permissions for app-only background access, and obtain administrator consent because no user context exists.
Trap Convert an interactive on-behalf-of workload to application permissions merely to suppress its user prompt.
4 questions test this
- Your Microsoft Entra tenant has the user consent for applications setting configured as Do not allow user consent. Users report that when they first open a new line-of-business application, they recei
- Your Microsoft Entra tenant has the user consent for applications setting configured as Do not allow user consent. Users report that when they first open a new line-of-business application, they recei
- You have a Microsoft Entra tenant that contains an application named App7 that runs as an unattended background service. App7's registration requests the Microsoft Graph application permissions Mail.S
- Your company has a Microsoft Entra tenant named contoso.onmicrosoft.com. A vendor's multitenant SaaS application named App2 was added to the tenant when an administrator granted admin consent, and App
- Tenant-wide admin consent can preauthorize delegated permissions for all users
When user consent is disabled, grant tenant-wide administrator consent to the required delegated Microsoft Graph permissions so users can sign in without an interactive consent prompt. Adding permissions to the registration alone does not create the OAuth permission grant.
Trap Configure the delegated permissions and rely on each user to consent during sign-in.
7 questions test this
- Your Microsoft Entra tenant allows users to consent to applications from verified publishers for the permissions that you classify as low impact. Your team registered an OpenID Connect application nam
- Your company plans to deploy a vendor's multitenant SaaS application named App23 to all employees next Monday. The vendor supplies the application (client) ID for App23 and states that the application
- Your company is standing up a new Microsoft Entra tenant in which user consent for applications is disabled. A deployment pipeline will register 25 internal line-of-business applications, and each one
- You have a Microsoft Entra tenant named fabrikam.onmicrosoft.com in which user consent for applications is disabled. Your team registered an application named App21 that reads Microsoft Graph data on
- Your Microsoft Entra tenant contains a web application named App22 that your team registered and that was granted tenant-wide admin consent for three delegated Microsoft Graph permissions. A new relea
- Your Microsoft Entra tenant contains an enterprise application named App25 that is configured for SAML-based single sign-on. App25 has the Assignment required property set to Yes, and you assigned a s
- Your Microsoft Entra tenant contains a SaaS application named App24 that appears in Enterprise applications. Some employees use App24 without ever seeing a consent prompt, while others are prompted th
- Requiring assignment restricts who can sign in to an enterprise application
Set Assignment required to Yes and assign permitted users or groups when only selected identities may use an enterprise application. This access control is not a substitute for granting API consent; applications that require assignment need administrator consent rather than user consent.
Trap Require user assignment and assume the setting grants the application's Microsoft Graph scopes.
6 questions test this
- Your Microsoft Entra tenant contains an enterprise application named App28 that hosts a self-service benefits portal. Every employee must be able to open App28 from the user access URL that is shown o
- Your Microsoft Entra tenant allows users to consent to applications from verified publishers for the permissions that you classify as low impact. Your team registered an OpenID Connect application nam
- You have a Microsoft Entra tenant named fabrikam.onmicrosoft.com in which user consent for applications is disabled. Your team registered an application named App21 that reads Microsoft Graph data on
- Your Microsoft Entra tenant contains an enterprise application named App25 that is configured for SAML-based single sign-on. App25 has the Assignment required property set to Yes, and you assigned a s
- Your Microsoft Entra tenant is licensed for Microsoft Entra ID P1 and contains an enterprise application named App29 that uses OpenID Connect. App29 has Assignment required set to Yes, and only a grou
- Your Microsoft Entra tenant contains a SaaS application named App24 that appears in Enterprise applications. Some employees use App24 without ever seeing a consent prompt, while others are prompted th
- Use nonsecret credentials for production confidential clients
Use a certificate or federated identity credential instead of a client secret for a production confidential client; federation lets supported external workloads obtain tokens without managing a secret. If a client secret is temporarily unavoidable, set and track its expiration for replacement before it expires: its lifetime cannot exceed 24 months, and Microsoft recommends less than 12 months.
2 questions test this
- Your datacenter hosts a Windows service named Service1 that runs unattended on physical servers and calls Microsoft Graph as an app registration named App32 in your Microsoft Entra tenant. No external
- You have an Azure subscription that contains a virtual machine named VM1, and a Microsoft Entra tenant that contains an app registration named App33. An application on VM1 must call Microsoft Graph as
- Constrain user consent and escalate disallowed grants for administrator review
Apply the low-impact user-consent policy so users can consent only to selected low-impact permissions for verified-publisher applications or applications registered in the tenant. Enable the admin-consent workflow so requests outside that policy can be submitted for administrator review instead of being granted by the user.
4 questions test this
- Your Microsoft Entra tenant restricts user consent to low-impact delegated permissions for verified-publisher applications, and the admin consent workflow is not yet enabled. The help desk is receivin
- Your Microsoft Entra tenant lets users consent to applications from verified publishers and to applications registered in the tenant, for the delegated permissions that you classify as low impact. A s
- Your Microsoft Entra tenant has the admin consent workflow enabled, and three named administrators are listed as the reviewers for admin consent requests that involve delegated Microsoft Graph permiss
- Your Microsoft Entra tenant currently allows users to consent to applications from verified publishers for the delegated permissions that you classify as low impact. A new security policy states that
- Assign nested group members explicitly when an enterprise application requires assignment
An enterprise application's group assignment grants access only to users directly in the assigned group; it does not cascade through nested groups. Assign a nested group or its intended users directly when they must receive the application's access or app role.
- Managed identities obtain Microsoft Entra tokens without application-held credentials
Code running on a supported Azure host can use its managed identity through Azure Identity or MSAL to request a token without storing a client secret or certificate. The target service must support Microsoft Entra authentication, and the identity still needs authorization to the target resource.
Trap Create an app registration and store its client secret in the workload configuration.
7 questions test this
- You have an Azure subscription that contains an API Management instance named APIM1 and a Microsoft Foundry resource that hosts a model deployment. Client applications reach the model only through API
- Your company has an Azure subscription that contains a virtual machine named VM1 with a user-assigned managed identity named UMI1. An application on VM1 must call a partner company's REST API that acc
- You have an Azure subscription that contains a web app named App1 in Azure App Service. App1 has a system-assigned managed identity and must read the profiles of all users in your Microsoft Entra tena
- You have an Azure subscription that contains an Automation account named AA1. A PowerShell runbook in AA1 stops virtual machines every night by signing in with a Microsoft Entra service principal whos
- Your company has an Azure subscription that contains an Azure Kubernetes Service (AKS) Standard cluster named cluster1 and a key vault named KV1 that uses the Azure RBAC permission model. Pods in thre
- Your on-premises datacenter contains a Windows Server named Server1 that is connected to Azure Arc-enabled servers in a subscription named Sub1. A scheduled, unattended process on Server1 must retriev
- You have an Azure subscription that contains a virtual machine named VM1. Two user-assigned managed identities named UMI1 and UMI2 are assigned to VM1, and no system-assigned identity is enabled on VM
- A system-assigned managed identity follows one resource's lifecycle
Enabling a system-assigned identity creates a service principal tied to that Azure resource, and deleting the resource causes Azure to delete the identity. Only its parent resource can use that identity to request tokens.
Trap Share one system-assigned identity across a web app and a virtual machine.
7 questions test this
- You have an Azure subscription that contains a virtual machine named VM1 in a resource group named RG-Pay. VM1 hosts two applications: a payments service that uses the system-assigned managed identity
- You have an Azure subscription named Sub1 that contains five virtual machines in a resource group named RG-Ingest. All five share a user-assigned managed identity named UMI1 that holds the Azure Event
- You have an Azure subscription named Sub1 that contains a resource group named RG-Dev in which several application teams deploy their own workloads. Your organization requires that every workload iden
- You have an Azure subscription named Sub1 in which 40 virtual machines that each had a system-assigned managed identity were decommissioned last quarter. Access control (IAM) for several storage accou
- You have an Azure subscription named Sub1 that contains a resource group named RG-App. A platform team pre-creates a user-assigned managed identity named UMI-App in a separate resource group and grant
- Your company completed a merger and transferred an Azure subscription named Sub1 from one Microsoft Entra directory to another. Sub1 contains a web app named App1 in Azure App Service that read blobs
- You have an Azure subscription that contains an Azure App Service web app named App1 and a storage account named storage1. App1 has a system-assigned managed identity that holds a data role on storage
Create a user-assigned identity as an independent Azure resource when several hosts need the same permissions or authorization must exist before workload deployment. Removing or deleting a host does not automatically delete this identity.
Trap Enable a separate system-assigned identity on every ephemeral instance when permissions must be precreated and shared.
7 questions test this
- You have an Azure subscription named Sub1 in which a deployment pipeline creates a function app named func1 in a resource group named RG-App. The pipeline runs as a service principal that holds the Co
- You have an Azure subscription named Sub1 that contains two virtual machines and two App Service web apps that all run the same processing tier. Each of the four resources must read the same reference
- You have an Azure subscription named Sub1 in which an automated test pipeline creates and deletes about 200 virtual machines every night in a resource group named RG-Test. Each virtual machine is depl
- You have an Azure subscription named Sub1 that contains three App Service web apps that read messages from a Service Bus namespace named sb1. All three apps were configured to use a user-assigned mana
- You have an Azure subscription named Sub1 that contains a key vault named KV1 that has soft delete and purge protection enabled. KV1 contains an RSA key named key1. You plan to deploy a new storage ac
- You have an Azure subscription named Sub1 that contains a resource group named RG-Batch and a resource group named RG-Identity. RG-Batch contained 12 virtual machines that used a user-assigned managed
- You have an Azure subscription named Sub1 that contains a premium container registry named acr1 and a resource group named RG-Jobs. A scheduled process deploys container groups to Azure Container Inst
- A managed identity needs a least-privilege role on every downstream resource
Assign the managed identity a role that permits the required data operation at the narrowest target scope; enabling the identity on the source host authenticates it but grants no target access. Anyone able to run code on the source can exercise permissions of identities attached to that source.
Trap Grant Contributor on the source application and expect it to read a destination key vault automatically.
5 questions test this
- You have an Azure subscription named Sub1 that contains a resource group named RG-App and a resource group named RG-Sec. RG-Sec contains a Log Analytics workspace named Workspace1. From the Azure port
- You have an Azure subscription that contains an Azure App Configuration store named appcs1 and a web app named App1 in Azure App Service. Access key authentication is disabled on appcs1. App1 has a sy
- You have an Azure subscription named Sub1 that contains an Azure Cosmos DB for NoSQL account named cosmos1 and a function app named func1. func1 has a system-assigned managed identity that holds the C
- You have an Azure subscription that contains a Key Vault Managed HSM named HSM1 and a virtual machine named VM1. HSM1 holds an RSA key named signkey1 along with several other keys. A payment applicati
- You have an Azure subscription that contains an Event Grid custom topic named topic1, a Service Bus namespace named sb1 that contains a queue named queue1, and a storage account named storage1. Compan
References
- What is Microsoft Entra Privileged Identity Management?
- Manage authentication methods for Microsoft Entra ID
- Building a Conditional Access policy
- Overview of permissions and consent in the Microsoft identity platform
- Managed identities for Azure resources overview
- Configure Microsoft Entra role settings in Privileged Identity Management
- Configure Azure resource role settings in Privileged Identity Management
- Create an access review of Azure resource and Microsoft Entra roles in PIM
- View audit history for Microsoft Entra roles in Privileged Identity Management
- Conditional Access report-only mode
- Manage emergency access accounts in Microsoft Entra ID
- Conditional Access for workload identities
- Microsoft Entra authentication methods overview
- Configure a Temporary Access Pass to register passwordless methods
- Conditional Access authentication strengths
- Application and service principal objects in Microsoft Entra ID
- What is application management in Microsoft Entra ID?
- Assign users and groups to an application
- Configure how users consent to applications
- User and admin consent in Microsoft Entra ID
- How managed identities for Azure resources work with Azure virtual machines
- Managed identity best practice recommendations
- Managed identities for Azure resources frequently asked questions FAQ
- Workload identity federation
- Add and manage application credentials in Microsoft Entra ID