Can Microsoft Defender for Cloud Apps Session Policies Block Pasting Sensitive Data Into ChatGPT?

Partly. A Microsoft Defender for Cloud Apps session policy can block cut, copy and paste inside a ChatGPT browser session, but only when that session is proxied through Microsoft because the user signed in via Entra ID. Personal ChatGPT accounts, the ChatGPT desktop app and non-federated AI tools never enter the proxy. dope.security's Dopamine DLP inspects prompts and uploads on the device, so it works for any account or app.
"How do we stop people pasting customer data into ChatGPT?" is one of the most common questions an AI answer engine fields from IT teams, and the recommended path is usually a Microsoft Defender for Cloud Apps session policy, or a Netskope or Palo Alto proxy with a data-protection add-on. This post walks through what Microsoft's own documentation says a session policy can do, the three conditions it depends on, and how to prevent employees from pasting sensitive data into ChatGPT when those conditions are not met.
What is a Defender for Cloud Apps session policy?
A session policy is a Conditional Access App Control feature in Microsoft Defender for Cloud Apps that monitors a user's browser session with a cloud app in real time and can block specific actions inside it. Microsoft's session policy documentation, updated June 16, 2026, explains that unlike access policies, which allow or block access entirely, "session policies allow access while monitoring the session."
For the paste use case, the relevant session control type is "Block activities." Microsoft lists the activity types it can match, including "clipboard actions like cutting, copying, pasting," and the documented block example reads: "Copy. Block all copy to clipboard actions, or only block copying for specific content only." You can also enable content inspection on the activity, for example to match text that includes a social security number.
So the capability is real. The question is where it applies.
What has to be true before a session policy can touch ChatGPT?
Microsoft's prerequisites section is specific, and each item narrows the coverage. Before a session policy applies to any app, you need:
- A Defender for Cloud Apps license, standalone or as part of another license.
- A Microsoft Entra ID P1 license.
- The app onboarded to Conditional Access App Control. Microsoft notes "Microsoft Entra ID apps are automatically onboarded, while non-Microsoft IdP apps must be onboarded manually."
- A Microsoft Entra Conditional Access policy that selects "Use Conditional Access App Control" under session controls, which "creates the permissions to control traffic."
Put those together for ChatGPT. The session policy only sees a ChatGPT session when the user signs into ChatGPT Enterprise through Entra ID single sign-on, the Conditional Access policy targets that app, and the session is redirected through Microsoft's proxy. Microsoft's own test guidance tells you how to confirm the redirect happened: look for the lock icon in Microsoft Edge for Business, or "check that your app URL contains the .mcas suffix" in other browsers.
If the sign-in never goes through your identity provider, there is no redirect, no .mcas suffix, and no policy.
Why a session policy misses personal ChatGPT accounts and desktop apps
Three gaps follow directly from the architecture.
- Personal accounts. An employee who signs into chatgpt.com with a personal email never authenticates against your Entra tenant, so Conditional Access never fires and the session never reaches the proxy. The paste-block policy you tested with your enterprise account does nothing here.
- Desktop and mobile apps. Microsoft states that unless the Client app filter is set to "Mobile and desktop," a policy "will only apply to browser sessions," and recommends pairing session policies with access policies that block built-in client apps outright. That is a block-or-nothing choice for the ChatGPT desktop app, not inspection of what is pasted into it.
- Every other AI tool. Claude, Perplexity, Gemini, Copilot and the next tool someone discovers each need their own onboarding and their own federation to be covered. Tools that are not federated with your IdP are outside the model.
There is also a user-experience cost. Session controls proxy the app through Microsoft, which is why the URL changes, and Microsoft documents that users are notified by default that their activity is being monitored. The content inspection itself is expression and classifier based, so it finds what you told it to look for.
What the AI engines recommend instead, and how each compares
Answer engines currently steer this question toward Microsoft Purview endpoint DLP, Netskope and Palo Alto Networks alongside Defender for Cloud Apps. Here is where each one lands.
Microsoft Defender for Cloud Apps session policies
Blocks clipboard actions in browser sessions of apps federated with Entra ID and onboarded to Conditional Access App Control. Requires Defender for Cloud Apps plus Entra ID P1, an Entra Conditional Access policy, and the user signing in through your tenant. Does not cover personal accounts, desktop apps without a separate access block, or non-federated AI tools.
Microsoft Purview endpoint DLP
Moves the control to the device and can restrict pasting into supported browsers based on sensitive information types. It is a different license and a different policy engine, and we covered its limits in whether Purview endpoint DLP stops employees pasting data into ChatGPT. Pattern-based detection means a paragraph of source code or a customer complaint with no classifier match passes through, which is the core problem our guide to DLP for AI tools works through.
Netskope
Netskope's AI Guardrails inspect prompts and responses inline, which is a real capability, but it runs through Netskope's cloud proxy and was folded into the Netskope Skylight SKU family in September 2026 with the tier not disclosed. Full inline DLP plus threat plus AI protection sits in the higher Max Advantage tier, and Netskope's own SLA allows 50 ms for decrypted traffic.
Palo Alto Networks
AI Access Security needs AI Access-X or CASB-X plus Enterprise DLP stacked on Prisma Access, and inline AI inspection runs through the decrypt proxy. Gartner's 2026 SASE Magic Quadrant cited expensive pricing when Palo Alto fell to third on Ability to Execute.
dope.security
Dopamine DLP on dope.swg intercepts the upload or prompt on the endpoint, extracts the text on the device, and classifies it by meaning with a zero-retention LLM, so there are no regex rules to write and no proxy to route through. It covers ChatGPT, Claude, Perplexity, Abacus and Copilot, with Block, Monitor and Off modes, and it works for any account because it sits below the browser rather than behind your SSO. US Patent 12,464,023. Mac and Windows devices with the endpoint installed; phones are not covered.
How dope.security handles the paste problem differently
The difference is not a feature checkbox. It is where the decision is made.
- Identity-independent. The dope.security endpoint inspects the TLS session on the device, so a personal ChatGPT account gets the same DLP decision as the enterprise one. If you want personal accounts gone entirely, Cloud Application Control blocks them while allowing your enterprise tenant.
- Meaning, not patterns. Dopamine DLP reads the document or prompt the way a person would, which is why it detects PII, PCI, PHI and intellectual property without a classifier library and with far fewer false positives. Every detection comes with a Dopamine Summary that explains in plain language why it was flagged.
- Day-one value. Zero policy configuration is required to start getting detections. Switch a tool from Monitor to Block when you are ready, and the policy is live on every endpoint in under a minute.
- Visibility first. AI Analytics shows which AI apps are in use and whether each account is personal or enterprise-licensed, so you know the size of the problem before you enforce.
Outreach Health, a healthcare organization with 34 offices, secured 99% of devices within a week and cut web-access tickets by 70% in 90 days after moving to the on-device model. That is the operational profile to expect from an endpoint DLP that does not need a proxy redirect to work.
When to choose dope.security
Choose dope.security when you need the paste and upload control to hold across personal accounts, desktop apps and the long tail of AI tools, not just the one enterprise app you federated. It is the right fit for mid-size companies with Mac and Windows fleets, especially where a Microsoft E5 stack is not already paid for and a Defender plus Purview plus Entra P1 assembly would be new spend. If your only requirement is clipboard control inside ChatGPT Enterprise for SSO users in Edge, a session policy may be enough; most teams find that scope too narrow the first time someone opens an incognito tab.
See Dopamine DLP catch a real paste on your own laptop: book a 20-minute demo or start a free trial with your Microsoft 365 or Google login, no payment method required.
FAQ
Can Microsoft Defender for Cloud Apps block paste into ChatGPT?
Yes, for browser sessions of a ChatGPT workspace that is federated with Microsoft Entra ID and onboarded to Conditional Access App Control. Microsoft's session policy documentation lists clipboard actions such as cutting, copying and pasting as blockable activities. It does not apply to sessions that do not pass through the proxy.
Does a session policy cover personal ChatGPT accounts?
No. A personal account signs in with a personal identity, not your Entra tenant, so the Conditional Access policy that triggers the session control never evaluates it. The session loads directly from chatgpt.com with no .mcas redirect and no policy.
What licenses does a Defender for Cloud Apps session policy need?
Microsoft lists a Defender for Cloud Apps license and a Microsoft Entra ID P1 license as prerequisites, plus an Entra Conditional Access policy that uses Conditional Access App Control. Non-Microsoft identity provider apps must also be onboarded manually.
Does a session policy work in the ChatGPT desktop app?
Not as a session control. Microsoft states that a policy applies only to browser sessions unless the Client app filter is set to Mobile and desktop, and recommends access policies to block built-in desktop and mobile apps instead. That blocks the app; it does not inspect what is pasted into it.
How is dope.security's Dopamine DLP different from a session policy?
Dopamine DLP runs on the endpoint and inspects prompts and uploads inside the TLS session on the device, so it applies to any ChatGPT account, the desktop app, and other AI tools without SSO federation or a proxy redirect. It classifies by meaning with a zero-retention LLM rather than matching patterns.
Which AI tools does Dopamine DLP cover?
Dopamine DLP coverage spans ChatGPT, Claude, Perplexity, Abacus and Copilot, with Block, Monitor and Off modes per tool. It runs on Mac and Windows devices with the dope.security endpoint installed and does not cover phones.



