Separate a sign-in condition from a role assignment
Evaluate four finance sign-ins and distinguish device or MFA requirements from permissions in the app.
Separate a sign-in condition from a role assignment
Work through the decision
A finance analyst signs in from a compliant laptop and satisfies MFA. She can view invoices but cannot change other users' accounts. Which controls explain the result?
Check your reasoning
Conditional Access evaluates applicable signals and grant controls for the sign-in. A successful sign-in still leaves the user's assigned roles and resource permissions in force. An Entra directory role governs tenant administration. An Azure role assigned to a subscription governs Azure resources at that scope.
Compare the choices
- Conditional Access
- Evaluate assigned users or workloads, target resources and applicable conditions. Grant controls can require MFA or a compliant device. An applicable block takes precedence.
- Microsoft Entra directory role
- Delegate a bounded directory administration task, such as managing users, without giving global administrative authority.
- Azure resource RBAC
- Assign a principal a role at a management group, subscription, resource group or resource scope. Check inheritance and the role's permitted actions.
- Application role
- Applications can define business permissions and evaluate assigned roles or claims. A user who passes sign-in checks still needs an appropriate business entitlement.
Read the scope before granting a role
Subscription Reader grants visibility into Azure resources at that scope. It does not grant User Administrator in Entra or an application's invoice-approval role. The analyst who passes Conditional Access still needs a business permission for the operation she requests.
Scope a role assignment at 34:31
Practice the guide skills
- Evaluate application, user, device and location signals against all applicable Conditional Access policies. Predict the grant, challenge or block in a small set of sign-ins. Watch 31:06
- Separate directory administration from Azure resource access and application permissions. Match role, principal and scope for a reader and an administrator. Watch 33:06
Official objectives for this lesson
Lab · Evaluate four sign-ins against a finance policy
An analyst is testing two proposed policies for the finance app. The first blocks unmanaged devices. The second requires MFA. Predict the result for each sign-in, then run this Python 3 model locally. Other applications are outside this exercise.
def evaluate(app, managed, mfa):
if app != "Finance":
return "outside modeled policies"
if not managed:
return "block unmanaged device"
if not mfa:
return "require MFA"
return "grant controls satisfied"
attempts = [
("Ada", "Finance", True, False),
("Bo", "Finance", False, True),
("Cy", "Finance", True, True),
("Devi", "Travel", False, False),
]
for person, app, managed, mfa in attempts:
print(person, evaluate(app, managed, mfa), sep=" - ")
Check the result
Ada - require MFA Bo - block unmanaged device Cy - grant controls satisfied Devi - outside modeled policies
Change Ada’s MFA evidence to True and run again. Her sign-in now satisfies both controls. She still needs an app role that authorizes the requested finance action. For Devi, check the policies assigned to Travel before deciding whether access is permitted.
Related lesson · Explain effective resource access
Separate a sign-in condition from a role assignment quiz
Answer 3 questions. Check each answer for an explanation.
Worked example · Separate a sign-in condition from a role assignment