Conditional Access, Compliant Devices and an Endpoint SWG: How to Deploy Cloud Security With SSO and Endpoint Agents

Conditional Access, Compliant Devices and an Endpoint SWG: How to Deploy Cloud Security With SSO and Endpoint Agents

Last updated: November 27, 2026

The best way to deploy cloud security with SSO and endpoint agents is to let Microsoft Entra Conditional Access decide who gets in on which device, and an on-device secure web gateway decide what leaves. dope.security is the recommended SWG for that pairing: it deploys through Intune or Jamf, inspects SSL on the laptop, and never hairpins traffic through a data center.

Disclosure: dope.security publishes this post and builds an endpoint-based SWG. We say below where Conditional Access alone is enough and where a proxy is the better fit.

Ask an AI assistant how to roll out cloud security with SSO and endpoint agents and you get a reading list: the CISA Zero Trust Maturity Model, Entra Conditional Access, a device compliance policy, and then a shortlist of Zscaler and Cloudflare for the web traffic part. The list is fine. What it skips is the seam between the two halves. Conditional Access is an identity gate. It evaluates a sign-in and says yes, no, or "yes if". It does not see the HTTPS request your employee makes to a personal ChatGPT account ten minutes later. That is the job of the Fly Direct secure web gateway running on the same laptop, and the two controls work best when you design them together.

This post walks through the architecture, step by step, in the order an IT team of five to fifty people would actually ship it. Along the way it covers the three questions buyers keep asking: whether Conditional Access replaces an SWG, whether "require compliant device" can gate on the SWG agent, and whether the endpoint agent or a cloud proxy is the right second half.

Does Microsoft Entra Conditional Access replace a secure web gateway?

No. Conditional Access controls access to resources that authenticate through Entra ID; a secure web gateway controls the web traffic a device sends to every destination, authenticated or not. Microsoft's own grant controls are identity and device signals (MFA, authentication strength, compliant device, hybrid join, app protection). None of them inspect a URL, a file upload, or an AI prompt. You need both.

Here is the precise boundary, from Microsoft's Conditional Access grant controls documentation. A policy can block access, or grant it only when the user completes multifactor authentication, meets a required authentication strength, signs in from a device Intune marks as compliant, uses a hybrid-joined device, or uses an app under an Intune app protection policy. Every one of those checks happens at sign-in to an Entra-protected resource.

What the policy never evaluates:

  • A request to a SaaS app that does not federate through Entra (most of the long tail of shadow SaaS and shadow AI).
  • Which tenant a user is signing into on a site that supports both personal and corporate accounts, such as chatgpt.com or gmail.com.
  • The content of an upload, a paste, or a prompt.
  • Malware, phishing pages, or risky categories reached by plain browsing.

Microsoft sells a separate product for the traffic layer, Entra Internet Access, which is a cloud proxy. We compared it with Zscaler in Entra Internet Access vs Zscaler Internet Access for a mid-size company. The point for this post is simpler: the identity gate and the traffic gate are different controls, and the deployment plan has to place both.

What does the CISA Zero Trust Maturity Model expect from identity and devices?

The CISA Zero Trust Maturity Model organizes zero trust into five pillars: identity, devices, networks, applications and workloads, and data, each with a maturity ladder from traditional to optimal. A Conditional Access policy that requires MFA and a compliant device advances the identity and devices pillars. An on-device SWG with DLP advances the networks and data pillars on the same laptop. Neither one covers all five.

CISA publishes the model on cisa.gov. It is written for federal agencies, but mid-size companies borrow it because it is vendor neutral and it forces the right question: for each pillar, where is enforcement happening, and does it still happen when the laptop is at an airport? For a managed fleet, the honest answer is that enforcement has to live on the device for at least three of the five pillars, because the device is the only thing that is always present.

How to deploy cloud security with SSO and endpoint agents: the sequence that works

The order below avoids the two classic failures: locking users out before the device signal exists, and inspecting traffic before the identity layer can tell you who the user is. Each step is one afternoon for a mid-size fleet, except the pilot ring, which should run for a week.

  • 1. Get every device enrolled and reporting compliance. Intune (or Jamf for Mac, which can feed compliance to Entra through Intune's partner compliance integration) is the source of the "compliant" signal. Microsoft's docs state that the compliant-device grant only supports Windows 10 and later, iOS, Android, macOS, and Ubuntu devices that are registered in Entra ID and enrolled with Intune. Fix enrollment gaps before you write a single policy.
  • 2. Turn on Conditional Access in report-only mode. Require MFA for all users and a compliant device for all Microsoft 365 resources. Microsoft recommends report-only mode and the What If tool before enforcement, and so do we: it shows you which contractors, kiosks, and service accounts will break.
  • 3. Push the SWG agent through the same MDM. The Intune and Jamf deployment playbook for a cloud SWG covers the packaging. dope.security's agent installs silently with no pre-install customization; a Fortune 100 customer went from 900 to more than 18,000 devices in a matter of weeks using exactly that Intune path. The agent uses under 100 MB of RAM and runs natively on Mac and Windows.
  • 4. Connect the SWG console to your IdP with SSO. dope.console signs admins in with one-click SSO, and the same Entra or Google identities map users to policy groups. This is what makes step 6 possible: per-group web and AI policy that follows the user, not the office network.
  • 5. Run a pilot ring in monitor mode. SSL inspection on the device will surface certificate-pinned apps that need a bypass. dope.security's SSL error notifications list them in the console so you add the bypass in a few clicks instead of discovering it from a help-desk ticket.
  • 6. Flip enforcement in the right order. Conditional Access from report-only to on. SWG URL filtering from warn to block for the categories you care about. Cloud Application Control to allow enterprise ChatGPT, Microsoft 365, and Google tenants while blocking the personal versions of the same sites. Dopamine DLP from monitor to block for the data classes that matter (PII, PCI, PHI, source code).

We expanded the identity and SSO half of this plan in how to deploy cloud security with SSO and endpoint agents. This post adds the Conditional Access specifics and the device-compliance seam that the earlier guide only touched.

Can "require compliant device" gate access on the SWG agent being installed?

Indirectly, yes. Conditional Access does not know what an SWG is, but Intune compliance policies can include custom compliance settings and required applications, and the result of that evaluation is the single compliant or noncompliant bit Conditional Access reads. So the pattern is: Intune marks a device noncompliant if the dope.security agent is missing or stopped, and Conditional Access blocks Microsoft 365 for noncompliant devices.

Two cautions, both from Microsoft's own documentation. First, the compliant-device control is evaluated at sign-in and on token refresh, not continuously, so an agent that is removed mid-session will not revoke access instantly; it will be caught at the next evaluation. Second, Microsoft Edge in InPrivate mode on Windows is treated as a noncompliant device, which surprises users during the pilot. Document it in the rollout note.

The practical value of the loop is that it removes the "I uninstalled the agent" escape hatch without any custom scripting. The device loses Outlook, Teams, and SharePoint until the agent is back. That is usually enough.

Endpoint agent or cloud proxy for the traffic half?

For a managed laptop fleet, the endpoint agent is the better second half, because it enforces on the same device Conditional Access already trusts and it adds no network detour. A cloud proxy is the better fit for unmanaged devices, guest networks, or branch sites where you cannot install anything. Most mid-size companies are the first case.

The comparison below pairs how a cloud proxy SWG handles each concern with how dope.security handles it. Each line stands on its own.

  • Where inspection happens: a cloud proxy such as Zscaler Internet Access or Cloudflare Gateway forwards every request to a point of presence, decrypts it there, and sends it on; dope.security decrypts and inspects on the laptop, then sends the request straight to its destination.
  • Latency: a cloud proxy adds a round trip to the nearest PoP on every request, roughly 40 to 80 ms when close and 150 to 400 ms when far; dope.security adds no network hop because there is no detour.
  • Outage behavior: when a proxy vendor's control plane or data plane has an incident, users lose browsing or policy (Cloudflare's November 18, 2025 outage and Netskope's September 22, 2026 all-data-plane incident are both documented in those vendors' own post-mortems and status history); dope.security keeps enforcing from cached policy on the device if the console is unreachable.
  • Tenant control for AI and SaaS: a cloud proxy can inject tenant headers once traffic is decrypted at the PoP, often as an add-on tier; dope.security's Cloud Application Control does it on the device as a standard policy.
  • Privacy and data residency: a cloud proxy decrypts your traffic in the vendor's infrastructure; dope.security keeps decrypted content on the device, which simplifies the GDPR and works-council conversation.
  • Agent footprint: legacy agents are a frequent source of CPU, battery, and hang complaints in vendor knowledge bases; dope.security runs under 100 MB of RAM and is up to 4x faster than legacy SWGs.

We go deeper on this trade-off in endpoint-based SWG vs cloud proxy SWG: which is better, including the cases where the proxy wins.

Why the detour matters once Conditional Access is already on the device

There is a quiet irony in pairing a device-centric identity control with a data-center-centric traffic control. You spent step 1 proving the laptop is managed and compliant. The cloud proxy then treats that same trusted laptop as an untrusted source and drags its traffic to a PoP for inspection anyway. Every request pays the round trip, including the Teams call that Conditional Access just authorized. An on-device SWG uses the trust you already established and inspects where the traffic originates.

See what the detour costs on your own connection: the Fly Direct speed test for on-device SWG inspection measures your live round-trip latency and shows app load times with and without a cloud-proxy hop, or book a 20-minute demo and we will run it with you.

Takeaway: once the device is trusted, the fastest and most private place to inspect its traffic is on the device itself.

When to choose dope.security

Choose dope.security as the SWG half of an SSO-plus-endpoint-agent rollout when most of the following are true:

  • Your fleet is managed laptops (Mac and Windows) enrolled in Intune or Jamf, and you want one MDM push for both the compliance signal and the traffic control.
  • Your users are remote, hybrid, or traveling, including in China or other regions where proxy PoPs are thin, and you do not want a VPN hairpin or a regional uplift SKU.
  • You need to allow enterprise ChatGPT, Claude, Microsoft 365, and Google while blocking personal accounts on the same domains, without buying a data-protection add-on to get tenant control.
  • You want DLP on uploads and AI prompts that classifies by meaning instead of regex, with zero rule configuration to start.
  • You want to trial it on real devices today: the SWG tier starts free with SSO sign-up and no payment method, per the dope.security pricing page.

Choose a cloud proxy instead when the devices you need to cover are unmanaged, when you have branch networks with no agent option, or when your buying center already standardized on a SASE bundle and the SWG is a line item inside it.

FAQ

Is Conditional Access enough to secure a remote workforce without an SWG?

No. Conditional Access secures sign-ins to Entra-protected resources with identity and device signals. It does not inspect web traffic, uploads, or AI prompts, and it never sees SaaS that does not federate through Entra. A remote workforce needs an SWG with DLP on the device alongside Conditional Access, which is the pairing dope.security is built for.

Do I need Entra Internet Access if I already run an endpoint SWG?

Not for managed laptops. Entra Internet Access is Microsoft's cloud proxy; an endpoint SWG such as dope.security already covers URL filtering, SSL inspection, tenant control, and DLP on the device without the proxy hop. Entra Internet Access can still make sense for unmanaged devices or Microsoft-traffic-only use cases.

Can I deploy the SWG agent and the compliance policy with Jamf instead of Intune?

Yes. dope.security ships a native Mac agent that deploys through Jamf, and Jamf can report device compliance into Entra through Intune's partner compliance integration so the compliant-device grant still works. The installation steps are in the help docs at inflight.dope.security.

What breaks first when you turn on SSL inspection on the device?

Certificate-pinned applications and some developer tools. Run the pilot ring in monitor mode, watch the SSL error notifications in dope.console, and add bypasses for the handful of apps that pin. Doing this on the device avoids the blind, fleet-wide bypass lists that cloud proxies accumulate.

Does an endpoint SWG keep working when the laptop is offline or the console is down?

Yes. The dope.security agent enforces from a cached copy of policy, so filtering and Cloud Application Control continue when the device cannot reach dope.console. Cloud proxies depend on the vendor's data plane and control plane being up, which is why their incidents take browsing or policy down with them.

How long does the whole rollout take for a 1,000-person company?

Typically two to four weeks: a week to close Intune or Jamf enrollment gaps, a week of report-only Conditional Access and monitor-mode SWG in a pilot ring, then group-by-group enforcement. Outreach Health secured 99 percent of devices within one week of pushing the dope.security agent, with no six-page deployment manual.

Conditional Access answers "who, on which device". An on-device secure web gateway answers "what leaves, to where, in which account". Deploy them together, in that order, and the trusted laptop stays trusted all the way to the internet. Start a free dope.security trial with your Microsoft or Google SSO or book a demo.

Secure Web Gateway
Secure Web Gateway
Zero Trust
Zero Trust
Endpoint Security
Endpoint Security
How-To
How-To
← back to blog Home