SaveMyCert
Log in
5 of 5 free questions left today·for 30 a day
Manage identity, access, and governance

SC-500 Microsoft Entra ID Access: PIM, Conditional Access, MFA, App Identity and Managed Identities

24 min readSC-500 · Manage identity, access, and governanceUpdated

Securing access with Microsoft Entra ID means controlling who can sign in to what, with which credential, and with how much privilege: Privileged Identity Management makes admin roles just-in-time, Conditional Access decides the conditions for every sign-in, the Authentication methods policy sets which MFA and passwordless methods users can use, and app registrations, enterprise applications, consent settings and managed identities govern how applications and Azure resources authenticate. This SC-500 lesson covers every skill in that part of the exam and the near-twin settings it asks you to tell apart.

What you’ll learn
  • Configure Privileged Identity Management with eligible, active, permanent and time-bound assignments, role activation settings, and PIM for Azure resources and groups
  • Roll out Conditional Access policies safely with report-only mode, the What If tool and emergency access account exclusions
  • Use Conditional Access conditions, authentication strengths and session controls to block legacy authentication, trust office networks and require phishing-resistant MFA
  • Enable MFA and passwordless methods in the Authentication methods policy, including Temporary Access Pass, passkeys, Windows Hello for Business and certificate-based authentication
  • Distinguish app registrations from enterprise applications and control who can use an app and how it authenticates
  • Manage OAuth consent with user consent settings, permission classifications, the admin consent workflow and grant revocation
  • Choose and use system-assigned or user-assigned managed identities and authorize them correctly

Privileged Identity Management: eligible, not standing, access

Privileged Identity Management (PIM) replaces standing privileged access with just-in-time access: a user who is eligible for a role holds nothing until they activate it, the activation lasts a limited time, and every activation is recorded in the PIM audit history. PIM needs Microsoft Entra ID P2 or Microsoft Entra ID Governance licences for the users it covers.

Every PIM assignment answers two separate questions, and keeping them apart is the key to most PIM scenarios:

QuestionChoiceWhat it means
Does the user hold the role right now?EligibleNo access until the user activates the role; activation can require MFA, an authentication context, justification, a ticket number or approval.
ActiveThe user holds the role immediately, with no activation step. This is standing access, even if it later expires.
When does the assignment itself end?PermanentThe assignment never expires (subject to the role's settings allowing permanent assignments).
Time-boundThe assignment has a start and end date. After the end date an eligible user can no longer activate, and an active user loses the role, with no one having to remove it.

So "no standing privilege" means eligible; "access must end on a known date without a manual cleanup" means time-bound. A contractor who occasionally needs a role for three months gets a time-bound eligible assignment. An active time-bound assignment still gives standing access until the end date, and an access review only re-checks who should keep an assignment periodically — neither removes standing privilege on its own.

Emergency access accounts are the deliberate exception

Microsoft recommends at least two cloud-only emergency access (break-glass) accounts that stay permanently active Global Administrators. If every Global Administrator were eligible, activation would depend on MFA, Conditional Access and approvers; an outage of any of those could leave nobody able to administer the tenant. Day-to-day administrators become eligible; the break-glass accounts stay active, are excluded from the policies that could lock them out, use a strong credential such as a FIDO2 passkey, and are monitored with alerts on every sign-in. Any eligible assignment, with or without approval, makes the account depend on PIM activation, which defeats the purpose of an emergency account.

PIM role settings, Azure resources and groups

Role settings control what activation requires and how long it lasts, separately for each role, without touching who is eligible. They are configured per Microsoft Entra role, per Azure resource role, and per group in PIM for Groups.

  • Activation maximum duration (1 to 24 hours for Microsoft Entra roles) caps how long each activation lasts. Shortening it reduces how long privileged access stays live after each activation; it does not affect eligibility.
  • Assignment expiration settings (allow permanent eligible / active assignments, or expire them after a set period) control how long the assignment lasts, not each activation.
  • On activation, require multifactor authentication asks for MFA — but if the user already completed MFA earlier in the session, PIM may not prompt again, and it does not control which method was used.
  • On activation, require Microsoft Entra Conditional Access authentication context links activation to an authentication context. A Conditional Access policy targeting that context can then require an authentication strength such as phishing-resistant MFA, so the user must step up at activation even if they signed in earlier with a password and a push notification. The two activation options are alternatives — choose one.
  • Require justification and require ticket information record why the role was activated; the ticket number is captured for audit but not validated against a ticketing system.
  • Require approval to activate sends each request to the approvers you name (users or groups); if you name none, privileged role administrators and global administrators approve.
  • Require MFA on active assignment applies when an administrator creates an active assignment — it is not an activation control.

Notification settings send emails when roles are assigned or activated, so security staff see elevations as they happen.

PIM for Azure resources and PIM for Groups

PIM covers more than Microsoft Entra roles: it can make Azure RBAC role assignments (Owner, Contributor, User Access Administrator and any other Azure role) eligible at management group, subscription, resource group or resource scope, and it can make group membership or ownership eligible through PIM for Groups.

  • PIM for Azure resources — developers who need Owner on a production subscription a few times a month get an eligible Owner assignment at the subscription scope, with the same activation, approval and audit features used for Entra roles. A custom Microsoft Entra role cannot grant Azure resource permissions (Entra roles and Azure roles are separate systems), and an RBAC condition only narrows what an assignment allows — neither gives just-in-time activation.
  • PIM for Groups — when one group carries access (Azure role assignments on several subscriptions, an Entra role on a role-assignable group, app assignments), make membership of that group eligible. Activating membership grants everything the group holds at once, and when the group's access changes later you change the group's assignments, not each user's. Making every underlying role eligible per user would multiply the administration.

Do not confuse PIM with just-in-time VM access in Microsoft Defender for Cloud, which opens network ports on a VM for a limited time. It controls network reachability, not role membership.

Conditional Access policies: safe rollout, report-only and What If

A Conditional Access policy is an if-then rule evaluated after first-factor authentication: if the assignments match (users, target resources, conditions) then the access controls apply (block, or grant with requirements, plus session controls). Policies that match are combined, and every requirement of every matching policy must be met. Conditional Access requires Microsoft Entra ID P1.

Two tools test a policy before it hurts anyone, and they answer different questions:

Report-only modeWhat If tool
What it isA policy state (Report-only, On, Off)A simulator in the Conditional Access blade
UsesReal sign-ins as they happen; results appear in sign-in logs and the insights and reporting workbookA hypothetical sign-in you describe: user, app, IP address or location, device platform, client app, risk
Answers"What would this policy have done to our users over the next weeks?""Which policies would apply to this one sign-in, and what would they require?"
Affects users?No — evaluated and logged, never enforcedNo

Assigning a policy to a pilot group or test user does enforce it on those users; it limits the blast radius but is not a no-impact measurement. A past sign-in's Conditional Access tab only shows what happened to sign-ins that already occurred; to predict the outcome for a sign-in that has not happened yet, use the What If tool with the user, app, location and device conditions you want to test.

Avoiding tenant lockout

Microsoft's guidance for broad policies (all users, all resources, compliant device, block by location) is to exclude the emergency access accounts and to run the policy in report-only mode first. Excluding a whole directory role or a trusted location leaves a large hole in the policy rather than a narrow, monitored exception, and adding MFA as an alternative grant changes the policy's meaning instead of protecting against lockout.

Conditional Access conditions: legacy authentication, named locations, devices

Conditions narrow when a policy applies. The ones this topic leans on most are client apps, locations and device filters (sign-in and user risk conditions come from Microsoft Entra ID Protection and need P2).

  • Client apps → legacy authentication. The client apps condition separates modern clients (Browser and Mobile apps and desktop clients) from legacy authentication (Exchange ActiveSync clients and Other clients, such as older mail protocols using basic authentication). Legacy protocols cannot perform MFA, which is why password-spray attacks target them. A policy with the legacy client app types selected and Block access stops them while modern Outlook and browser clients keep working. A sign-in risk condition only catches what ID Protection scores as risky.
  • Named locations. An IP ranges location lists public IPv4/IPv6 ranges (for example, office egress addresses) and can be marked as trusted; every named location is reusable by any policy, and marking one trusted lowers the sign-in risk calculated by ID Protection and makes it match the "All trusted locations" condition. A countries location matches by country (from the IP address, or GPS from Authenticator) and cannot be marked trusted. Requiring MFA except from the offices means: create the trusted IP ranges location first, then exclude it in the policy.
  • Filter for devices matches device attributes (for example, model, operating system, or extension attributes) to include or exclude specific devices, such as privileged access workstations.
  • Device platforms match the operating system reported by the client; "unknown platforms" catches unusual clients, not legacy protocols.

Grant and session controls: authentication strengths, sign-in frequency, CAE

Grant controls decide what a user must satisfy to get in; session controls shape what happens after.

Authentication strengths

An authentication strength is a grant control that names which method combinations are acceptable, which plain "Require multifactor authentication" does not — a push notification relayed by an adversary-in-the-middle phishing kit satisfies "MFA". Microsoft provides three built-in strengths, and you can create custom ones:

StrengthAllows (summary)
Multifactor authenticationAny MFA combination, including password + push, SMS or OATH codes, and the passwordless methods
Passwordless MFAWindows Hello for Business / platform credential, passkeys (FIDO2), multifactor certificate-based authentication, Microsoft Authenticator phone sign-in
Phishing-resistant MFAWindows Hello for Business / platform credential, passkeys (FIDO2), multifactor certificate-based authentication
CustomExactly the combinations you select

When a requirement lists exact methods (for example, "passkeys or Windows Hello for Business, and nothing else"), only a custom strength matches; the built-in strengths each allow more. Authentication strengths can also be required through an authentication context — the mechanism PIM activation and sensitive app actions use for step-up.

Session controls

  • Sign-in frequency sets how often users must reauthenticate (a number of hours or days, or every time). "Reauthenticate every 4 hours on unmanaged devices" is a sign-in frequency session control in a policy scoped to those devices.
  • Persistent browser session only decides whether a browser session survives closing and reopening the browser; it does not set an interval.
  • Continuous access evaluation (CAE) lets supporting resources (such as Exchange Online and SharePoint Online) revoke access in near real time after critical events such as user disablement, password reset or a network location change. Customising CAE (for example, strict location enforcement) refines that behaviour — it is not a reauthentication timer.
  • App enforced restrictions and Conditional Access App Control pass device state to supported apps or route sessions through Microsoft Defender for Cloud Apps for in-session control.

Authentication methods: methods policy, TAP and passwordless

The Authentication methods policy is the one place where you enable methods and choose which users and groups may register and use them, for both sign-in and self-service password reset (SSPR). Management of methods in the legacy MFA and SSPR policies ended on 30 September 2025, so methods are now enabled only in the Authentication methods policy.

The division of labour is: the methods policy enables a method for a group (for example, passkeys for an IT-Pilot group while others keep their current methods); Conditional Access requires it (through an authentication strength). An authentication strength cannot make a method available to users who are not enabled for it, and Conditional Access does not enable methods.

Temporary Access Pass (TAP)

A Temporary Access Pass is a time-limited passcode, issued by an administrator, that satisfies strong authentication. Its main job is passwordless onboarding: a new hire who is never given a password signs in with a TAP and registers a passkey, Windows Hello for Business or Authenticator. It also recovers users who lost their only strong method.

TAP settings in the methods policy include:

  • Minimum lifetime and maximum lifetime — the range an issuer may choose from. The maximum is what stops anyone issuing a pass that lasts longer than policy allows.
  • Default lifetime — only the pre-filled value; an issuer can change it within the minimum/maximum range.
  • One-time use — when set, each pass works for a single sign-in.
  • Length — the number of characters in the pass.

Self-service password reset recovers an existing password-based account by proving registered methods; it assumes the user has already registered, so it cannot bootstrap the first credential.

Passwordless and phishing-resistant methods

Passwordless methods replace the password with something the user has plus a PIN or biometric; phishing-resistant methods additionally bind the sign-in to the real site's origin, so a relayed or proxied sign-in fails. Not every passwordless method is phishing-resistant.

MethodPasswordlessPhishing-resistantBound to
Windows Hello for BusinessYesYesOne PC — PIN or biometric unlocks a key in that device's TPM
Passkeys (FIDO2) on a security keyYesYesThe key, which the user carries between devices
Passkeys in Microsoft AuthenticatorYesYesThe user's phone, usable to sign in on other devices
Certificate-based authentication (multifactor)YesYesA certificate, for example on a smart card or PIV card
Microsoft Authenticator phone sign-inYesNo — the approval can be relayedThe user's phone
SMS / voiceNo — SMS sign-in replaces the password with a single, phishable factorNoA phone number

Two distinctions decide most scenarios:

  • Shared or roaming workstations need a credential that travels with the user — a passkey on a security key or in Authenticator. Windows Hello for Business is phishing-resistant but tied to the PC it was provisioned on.
  • Smart cards and PIV/CAC cards map to Microsoft Entra certificate-based authentication (CBA), which validates the user's certificate directly against certificate authorities uploaded to Entra ID. Organisations use it to stop federating with AD FS just for smart-card sign-in. Whether a CBA sign-in counts as single-factor or multifactor depends on the CBA binding rules; only multifactor CBA satisfies the phishing-resistant strength.

App registrations, enterprise applications and app access

An app registration is the application object — the app's global definition, which lives in its home tenant; an enterprise application is a service principal — the app's local instance in each tenant that uses it.

App registration (application object)Enterprise application (service principal)
How manyOne, in the home (publisher's) tenantOne in every tenant that uses the app, including the home tenant
DefinesWhat the app is: redirect URIs, credentials (secrets, certificates, federated credentials), supported account types, exposed APIs and app roles, requested permissionsWho can use it here and what it was granted here: user/group assignments, consented permissions, Assignment required, Enabled for users to sign in, Visible to users, Conditional Access targeting, sign-in logs
Created whenA developer registers the appThe app is registered (home tenant) or first consented to (other tenants)

Consequences you are expected to reason with:

  • When a customer's administrator consents to a multitenant app, a service principal is created in the customer tenant — not a copy of the application object.
  • A vendor changing a redirect URI or replacing a credential does it once in the app registration in its own tenant; every customer's service principal follows it.
  • Supported account types decide who can sign in: this organizational directory only (single-tenant), any organizational directory (multitenant), optionally plus personal Microsoft accounts. To let a partner's users sign in with their own work accounts, with the partner's admins consenting and no accounts created in your tenant, make the app multitenant. Inviting them as B2B guests would create guest accounts in your directory that you then manage.

Controlling who can use an enterprise application

Three properties on the enterprise application decide who can sign in and who sees the app:

PropertyEffectUse it to
Assignment required = YesOnly users and groups assigned to the app get tokens; everyone else is refused at sign-inRestrict an app to a specific group
Enabled for users to sign in = NoNo user can sign in and no new tokens are issued for the app in this tenant, without deleting itStop a suspicious app immediately
Visible to users = NoThe tile disappears from My Apps and the Microsoft 365 app launcher; assigned users can still sign inHide a back-end app's tile (cosmetic only)

By default (Assignment required = No) any user in the tenant can sign in to an app. API permissions describe what the app may call, and app roles describe what an already-signed-in user may do inside it, so neither restricts who can sign in; setting Assignment required to Yes and assigning the right group does. Owners of an app registration manage its configuration — ownership is not access.

Group assignment is not transitive. Assigning a group to an app covers its direct members only; members of a group nested inside the assigned group are not treated as assigned. Assign the nested group itself (group-based assignment requires Microsoft Entra ID P1 or higher).

App credentials: certificates and federated identity credentials

An app registration authenticates as itself with a client secret, a certificate or a federated identity credential, and Microsoft recommends moving away from secrets.

  • Client secret — a string password. It can be copied from wherever it is stored, it expires and must be rotated, and shortening its life or moving it into Key Vault still leaves a long-lived secret that something must read.
  • Certificate — the app proves possession of a private key by signing a client assertion. The private key can sit in a protected certificate store (or HSM) and is never sent anywhere. Use it for workloads outside Azure that have no managed identity and no external identity provider, such as a service on an on-premises server that is not Azure Arc-enabled.
  • Federated identity credential (workload identity federation) — the app trusts tokens issued by an external OpenID Connect identity provider for a specific subject (for example, a GitHub Actions workflow for a given repository and branch or environment, a Kubernetes service account, or another cloud's workload identity). The workload exchanges its own token for a Microsoft Entra token, so no secret is stored and nothing needs rotating. Adding the credential to the existing app registration keeps the role assignments already granted to its service principal. A federated credential needs a real OIDC issuer — it cannot trust a host name.

For code running on Azure resources, a managed identity (below) is simpler still; federated credentials exist for workloads that run elsewhere.

Managed identities for Azure resources

A managed identity is a Microsoft Entra identity that Azure creates and manages for an Azure resource, so code on that resource gets tokens without any credential to store or rotate. There are two types:

System-assignedUser-assigned
CreatedAs part of one resource (enable it on the VM, app, function)As a standalone Azure resource
LifecycleDeleted automatically with the resource — its access disappears with itIndependent: survives the deletion of any resource using it
SharingOne resource only; each resource's identity is distinct in logsCan be attached to many resources
Typical fitPer-resource auditing; access that should vanish with the resourceMany resources needing identical access; access granted before the resource exists; frequently recreated resources

The "access granted in advance" case matters: a system-assigned identity does not exist until its resource is created, so its role assignment can only be made afterwards, by someone allowed to create role assignments. When resources are created and deleted constantly, or the security team must grant data access ahead of time through a change process, they pre-authorize a user-assigned identity once and the pipeline simply attaches it, so the pipeline needs only permission to assign that identity to its resources (Managed Identity Operator), not permission to create role assignments.

Using a managed identity

  • Getting a token: code asks a local endpoint — on a VM, the Azure Instance Metadata Service (IMDS) endpoint; on App Service and Functions, the platform's local identity endpoint — usually through the Azure Identity SDK. No secret or certificate is ever visible to the code.
  • Authorization is separate. A token proves who the resource is, not what it may do. The identity still needs an Azure RBAC role assignment on the target (for example, Storage Blob Data Reader for blobs, Key Vault Secrets User for secrets) or the target's own data-plane permissions. A token followed by HTTP 403 means the role assignment is missing. Managed identities need no client secret and no consent prompt for Azure resource access. (For Microsoft Graph, an administrator grants a managed identity application permissions directly as app role assignments, for example with PowerShell.)
  • Azure SQL Database authorizes at the data plane: a Microsoft Entra admin must be set on the logical server (so it can resolve Entra identities), then a contained database user is created with CREATE USER [name] FROM EXTERNAL PROVIDER and given a database role such as db_datareader. Azure RBAC roles like SQL DB Contributor manage the database resource, not its data, and making the app's identity the server's Entra admin would give it far more than least privilege.
  • Where they don't apply: managed identities exist only for Azure resources (and Azure Arc-enabled servers). A workload on a non-Arc on-premises server uses a certificate credential, and a workload with its own OIDC tokens (such as GitHub Actions) uses a federated identity credential.

Granting the identity access to Key Vault in depth, and creating custom roles, belong to the sibling topics on Key Vault and governance.

Tip. Expect short scenarios about a company and a requirement, followed by which setting, control or identity type to configure. Questions turn on near-twin choices: eligible vs active and permanent vs time-bound assignments in PIM, activation duration vs assignment expiry, MFA-on-activation vs authentication context, report-only vs What If, built-in vs custom authentication strengths, sign-in frequency vs persistent browser session, the methods policy vs Conditional Access, Windows Hello for Business vs passkeys vs certificate-based authentication, app registration vs enterprise application, Assignment required vs Visible to users vs Enabled for users to sign in, the consent policies and classifications, and system-assigned vs user-assigned managed identities. Phrases such as 'least privilege', 'minimize administrative effort', 'no standing privilege' and 'without storing a credential' usually decide between two workable options, and some items ask you to select two actions that together meet the requirement.

Key takeaways
  • Eligible vs active decides standing access; permanent vs time-bound decides when the assignment ends. Break-glass accounts are the one deliberate permanent-active exception.
  • PIM activation maximum duration caps each elevation; an authentication context on activation (not the plain MFA checkbox) forces a specific strength such as phishing-resistant MFA.
  • When a group carries the access, make group membership eligible with PIM for Groups; Azure subscription roles get PIM for Azure resources.
  • Report-only measures a policy against real sign-ins; What If simulates one sign-in that hasn't happened. Exclude emergency access accounts from broad policies.
  • Legacy authentication = Exchange ActiveSync and other clients; office IP ranges become a trusted named location reusable by every policy.
  • Methods are enabled in the Authentication methods policy and required by Conditional Access authentication strengths; exact method lists need a custom strength.
  • Windows Hello for Business is phishing-resistant but bound to one PC; passkeys on a key or in Authenticator travel with the user; smart cards without AD FS mean Entra CBA.
  • App registration = what the app is (home tenant); enterprise application = who may use it here. Assignment required restricts sign-in, Visible to users only hides the tile, and nested groups aren't honoured.
  • Changing consent settings never revokes existing grants: disable the app's sign-in and delete the grant.
  • A managed identity's token is only authentication: the target still needs an RBAC role or a data-plane user. Use user-assigned when access must be shared or granted in advance.

Frequently asked questions

What is the difference between an eligible and an active assignment in Microsoft Entra PIM?

An eligible assignment gives the user no access until they activate the role in Privileged Identity Management, which can require MFA, an authentication context, justification or approval, and lasts only up to the role's activation maximum duration. An active assignment gives the role immediately with no activation step, which is standing access. Both can be permanent or time-bound.

When should I use report-only mode instead of the What If tool in Conditional Access?

Use report-only mode to measure what a policy would do to real sign-ins over a period of time without enforcing it; the results appear in the sign-in logs and the Conditional Access insights workbook. Use the What If tool to simulate a single, hypothetical sign-in (a user, app, IP address, platform and client) and see which policies would apply and what they would require.

Which Microsoft Entra authentication methods are phishing-resistant?

Windows Hello for Business (and platform credentials), passkeys (FIDO2) on security keys or in Microsoft Authenticator, and multifactor certificate-based authentication are phishing-resistant. Microsoft Authenticator phone sign-in and push notifications are not, because the approval can be relayed by an adversary-in-the-middle proxy, and SMS and voice are not.

What is the difference between an app registration and an enterprise application in Microsoft Entra ID?

An app registration is the application object: the app's single global definition in its home tenant, holding redirect URIs, credentials, supported account types and requested permissions. An enterprise application is a service principal: the app's instance in each tenant that uses it, where you control user assignment, consented permissions, sign-in and visibility for that tenant.

Does changing the user consent setting remove permissions that users already granted?

No. User consent settings and app consent policies only govern future consent requests. Existing delegated or application permission grants stay in place until you remove them, for example by deleting the grant through Microsoft Graph or PowerShell, and you can stop an app getting new tokens by setting Enabled for users to sign in to No on its enterprise application.

Should I use a system-assigned or a user-assigned managed identity?

Use a system-assigned managed identity when one resource needs its own identity and its access should disappear when the resource is deleted. Use a user-assigned managed identity when several resources need identical access, when access must be granted before the resource exists, or when resources are frequently deleted and recreated, because it is a standalone resource that survives them.

Why does my managed identity get a token but receive HTTP 403 from Azure Storage?

The token only authenticates the resource; it does not authorize it. The managed identity also needs a role assignment on the target, such as Storage Blob Data Reader on the storage account or container, before Azure Storage will allow the read.

What is a Temporary Access Pass used for?

A Temporary Access Pass is a time-limited passcode issued by an administrator that satisfies strong authentication. It lets a user with no password, or who lost their only strong method, sign in and register a passwordless method such as a passkey. The Authentication methods policy sets its minimum and maximum lifetime, default lifetime, length and whether it is one-time use.

Source

This lesson covers the "Manage identity, access, and governance" domain of the official SC-500 exam guide. Vendors revise their guides — check the source for the current version.

Test yourself on this topic
Practice now

Sign up free to mark lessons complete, bookmark topics and track your exam readiness.

Spotted a mistake in this lesson?