Last updated: November 10, 2026
Quick Answer: Set up conditional access policies in your identity provider so the right users get into the right SaaS apps only when their device, location, and sign-in risk meet your rules. In the first pilot, a 5-to-20-user group is usually enough to validate the policy. If the app sits behind Microsoft Entra ID, Google Workspace, or Okta, this is the control point that decides yes, no, or MFA.
Key Takeaways
- Conditional access policies decide whether a user can open a SaaS app based on device compliance, location-based access, risk-based sign-in, and MFA enforcement.
- Start with one identity source, one test app, and a rollback plan before tenant-wide enforcement.
- Define the app, choose the users, add the signals, and test in report-only or limited mode before enforcement.
- Begin with device compliance and MFA, then add location-based access, then add risk-based sign-in.
This guide walks through the steps, shows what to check after each one, and clears up the mistakes that break sign-in for good users. It is specifically about How to Set Up Conditional Access for SaaS Apps, so the examples stay on that policy layer.
What conditional access does for SaaS apps
Conditional access policies decide whether a user can open a SaaS app based on device compliance, location-based access, risk-based sign-in, and MFA enforcement. The policy sits in the identity provider, not inside each app, so one rule can cover many services.
Picture this: you already have Microsoft 365, Salesforce, and a few internal SaaS tools behind the same identity provider. You want contractors in one country to get in from managed laptops only, while employees can use their phones if they complete MFA. That is the job.
The key point is simple: conditional access does not replace SSO or provisioning. It controls entry. If your identity provider cannot see the user, the device, or the risk signal, the policy has nothing to work with.
Before you start, you need three things:
- An identity provider that supports conditional access, such as Microsoft Entra ID, Google Workspace, or Okta.
- A clear list of apps you want to protect.
- A source of device and risk signals, such as endpoint compliance data from your device management tool and sign-in risk from the identity system.
According to Microsoft, Google, and Okta documentation, those signals are evaluated at sign-in time, so the policy depends on current data rather than a static allow list. Microsoft Learn, Google Workspace Admin Help, Okta.
The truth is, the hard part is not clicking through the admin console. The hard part is deciding which users, which apps, and which signals belong in the first rule.
What do you need first?
You need one identity source, one test app, and one rollback plan before you enforce anything tenant-wide. If you skip that, a single bad rule can block every user from a core SaaS app in minutes.
Picture this: you are in the admin portal, and the policy editor shows app selectors, user groups, device filters, and grant controls. That looks simple until you realize one wrong include/exclude can hit executives, IT admins, or service accounts.
Start with these basics:
- A pilot group with 5 to 20 users, not the full company.
- At least one SaaS app already federated through the identity provider.
- A second admin account that stays excluded from the policy.
- Device compliance data if you plan to use device posture checks.
- A written note of the policy you want, so you are not building by memory.
If you are using Microsoft Entra ID, the policy engine lives under Conditional Access. If you are using Google Workspace, the access controls sit in the admin console under context-aware access and related app controls. If you are using Okta, the rules usually live under sign-on policies or device trust settings, depending on the app and license setup.
For reference, Microsoft documents Conditional Access under Entra ID, Google documents context-aware access in Workspace, and Okta documents device trust and sign-on policies in its admin help. Microsoft Learn, Google Workspace Admin Help, Okta Help Center
The first sign that you are ready is boring: you can name the group, the app, and the exact grant action in one sentence. If you can’t do that yet, stop and write it down.
How do I set up conditional access for SaaS apps?
You set it up by defining the app, choosing the users, adding the signals, and then testing the policy in report-only or limited mode before you enforce it.
Picture this: you are building the first real rule for a SaaS app that holds company files. You want employees on managed laptops to sign in with normal friction, but you want risky sign-ins or unmanaged devices to face extra checks or a block.
Use this order:
- Pick one SaaS app. Select a single app such as Salesforce, Slack, or Microsoft 365. The result you want is a narrow policy scope, not a tenant-wide rule.
- Choose the pilot users. Target one test group and exclude break-glass admins. You should see the policy apply to a small set of accounts in the editor.
- Attach the access signal. Add one control first: device compliance, location, or sign-in risk. When this works, the policy decision becomes visible in sign-in logs or policy simulation.
- Set the grant action. Choose allow, require MFA, require compliant device, or block. A working setup shows the exact control you picked in the policy summary.
- Run in report-only or limited mode. Keep the policy from enforcing until you confirm the outcome on a few test logins. The sign-in logs should show what would have happened without actually blocking users.
- Test one clean sign-in and one bad one. Try a compliant device and a noncompliant one, or a safe location and a risky one. You should see different results for each case.
- Move to enforcement. Turn the policy on for the pilot group, then widen slowly. The app should still open for allowed users, while blocked cases stop at the identity layer.
A policy that blocks the wrong user is not “strict.” It is broken. That is why the pilot matters more than the toggle.
Which signals should you use first: device, location, or risk?
You should start with device compliance and MFA, then add location-based access, then add risk-based sign-in. That order gives you a cleaner rollout and fewer false blocks.
Picture this: your security team wants strong rules on day one, but your help desk wants fewer tickets. Those two goals can live together if you add controls in layers instead of stacking everything at once.
Here’s the practical order:
- Device compliance: Best when company laptops are managed and you trust your endpoint tool.
- Location-based access: Best when office networks, countries, or IP ranges matter.
- Risk-based sign-in: Best when your identity provider can score the login as low, medium, or high risk.
- MFA enforcement: Best as the default extra step for protected apps.
Device posture checks usually come from a device management system, not from the SaaS app itself. That means the device must report healthy status first. If the endpoint is not enrolled, the policy may treat it as unknown or noncompliant; if you are unsure how your platform handles that state, consult the vendor documentation or a qualified administrator.
Location rules are useful, but they are blunt. A VPN can make a remote user look local, and a bad actor can use a residential IP that looks ordinary. Use location as one layer rather than the only layer.
Risk rules are the strongest signal when they are available, but they are also the hardest to explain to users. If your identity provider marks a login as risky, the user may need MFA, password reset, or a block depending on your policy. That is good security, but it can create support calls.
The honest trade-off: the more signals you add, the fewer easy sign-ins you allow. That is the point, but it also means your exception process has to be clear.
How do I enforce MFA without breaking normal sign-in?
You enforce MFA by requiring it only where the app or user group justifies the extra step, then excluding trusted service accounts and emergency admin access. Done badly, MFA becomes a wall. Done well, it becomes a gate.
Picture this: finance needs access to a billing app, your sales team uses a CRM, and both groups already sign in every day. You want the extra prompt to appear when it matters, not on every random admin tool that someone opens once a month.
Use MFA rules like this:
- Target the app group, not the whole tenant. If the policy includes every SaaS app, you will annoy users who do not need the control.
- Require MFA for medium or high value apps. Think payroll, HR, finance, source code, or customer data.
- Exclude emergency access accounts. Keep at least one break-glass admin out of the rule.
- Keep legacy protocols out. Basic auth and old app passwords can bypass the whole idea if you leave them open.
- Check the sign-in logs. A working policy shows MFA challenge events, not silent pass-through.
If you use Microsoft Entra ID, look for conditional access grant controls that require MFA. If you use Okta, the sign-on policy often handles the challenge step. If you use Google Workspace, the control may appear through context-aware access and sign-in verification settings.
Microsoft documents MFA grant controls in Conditional Access, and Google and Okta document their own sign-in challenge paths in admin help. Microsoft Learn, Google Workspace Admin Help, Okta Help Center
One thing people get wrong: they require MFA for the same user and the same app in three different places. That causes loops, confusing prompts, or hard-to-read logs. Pick one policy layer per control.
How do I test and roll out the policy without surprises?
You test it by reading sign-in logs, using a report-only mode if your identity provider offers one, and rolling the policy out to one app group at a time. That is the most reliable way to avoid a lockout.
Picture this: the policy looks perfect in the editor, but the first real login hits a mobile browser, a stale session, or a device that never checked in. The console will not warn you about those edge cases unless you test them.
Use this rollout pattern:
- Test one user from the pilot group on a managed laptop.
- Test one user from the same group on an unmanaged device.
- Test one login from an allowed location.
- Test one login from a denied location.
- Review the log entry for the policy decision and the reason code.
If the log shows the wrong outcome, change one condition at a time. Do not rewrite the whole rule unless the scope is wrong. Small edits and repeated log checks are usually the quickest route to a stable policy.
Now, you might be wondering how long this takes to settle. The answer depends on how many apps, device types, and user groups you have, but the first useful policy usually comes from a single app and a pilot group of 5 to 20 users.
The timing matters because Microsoft and Okta both recommend validating decisions in logs before broader enforcement. (Source: Microsoft Learn, Okta Help Center)
The best part is that good logs tell you whether the issue is the policy, the device signal, or the app integration. That saves hours of guesswork.
Common mistakes that make conditional access fail
Conditional access fails when the policy is too broad, the exclusions are sloppy, or the device and risk signals are not reliable enough. Those three mistakes cause most of the pain.
Picture this: a company turns on a new rule for all cloud apps at once. Within minutes, users can’t open email from home, contractors get blocked, and support has no clean path to fix it. That is not a security win.
Watch for these mistakes:
- Protecting every app at once. Cost: a broad outage. Fix: start with one app and one group.
- No break-glass account. Cost: admins lock themselves out. Fix: keep at least one emergency admin excluded and protected elsewhere.
- Weak device data. Cost: unknown devices pass or good devices fail. Fix: make sure enrollment and compliance reporting are working before enforcement.
- Too many overlapping rules. Cost: unpredictable prompts and blocks. Fix: document which policy owns which control.
- Using location as the only filter. Cost: easy bypass through VPNs or shared networks. Fix: pair it with MFA or device compliance.
- Skipping app exceptions for service accounts. Cost: automation breaks. Fix: separate human access from machine access.
If you see users stuck in repeated MFA prompts, check for competing sign-in rules first. If you see blocked users who should be allowed, check the include/exclude list before you touch the grant control.
This is also where the honest limits show up. Conditional access can improve control over SaaS entry, but it cannot fix bad identity hygiene, weak device management, or an app that was never integrated correctly. It is a control layer, not a cure-all.
Where conditional access fits in your SaaS security stack
Conditional access belongs between the identity provider and the app, where it can use identity, device, and risk data to decide access in real time. It works best alongside SSO, device compliance, and account lifecycle controls.
Picture this: you already use an identity provider to sign users into SaaS apps, and you already enroll devices in endpoint management. Conditional access connects those two systems so app access depends on the state of the user and device right now.
That is why the page on SaaS Security and Access Control — The Complete Guide sits above this one. This article handles the policy layer; the hub covers the wider model.
One useful way to think about the stack:
- Provisioning decides who gets an account.
- SSO decides how they sign in.
- Conditional access decides whether this sign-in should be allowed now.
- MFA adds a second proof step.
- Device compliance adds device health.
- Risk signals add threat context.
If you only use one of those layers, the rest of the stack has gaps. If you use all of them without a clear policy order, you get noise.
The clean setup is simple: identify the app, define the user group, attach the signal, test the result, and widen only after the logs look right. That gives you control without turning every login into a fight.
How conditional access works for SaaS apps
Conditional access works by checking the user, the device, the location, and the sign-in risk before the identity provider lets the SaaS app open. The policy can allow access, require MFA, require a compliant device, or block the sign-in.
The check happens during login, not after the app has already handed over data. That matters because the identity provider becomes the decision point for many apps at once.
A useful mental model is this: the SaaS app asks, “Can this user get in?” The identity provider answers with policy rules based on the conditions you set.
What policies should block risky sign-ins?
Policies should block risky sign-ins when the identity provider marks the attempt as high risk and the app holds sensitive data or admin access. If the risk is medium, many teams require MFA first and reserve blocking for the highest-risk cases.
The cleanest setup is to block impossible travel, anonymous traffic, or obviously suspicious sign-ins where your identity provider can score them that way. Otherwise, require MFA and review the logs before raising the block level.
Drafted with AI; not yet reviewed by a person.