Share via

Blocking sharing of sensitive content with AI

Denys Pasternak 85 Reputation points
2026-02-04T18:13:30.68+00:00

Hello, I'm trying to figure out how to set up blocking of sensitive content and prevent unwanted transmission of this content to popular AI systems.

More specifically, my goal is to block this only for Gemini (public) and only allow it for corporate Gemini.

After some research, I decided to use

Network Data Security (inline web traffic) in Microsoft Purview.

https://learn.microsoft.com/en-us/purview/dlp-create-policy-ai-network-data-security

After reviewing the prerequisites, I obtained two licenses:

Microsoft Entra Internet Access

Microsoft 365 Business Premium

Microsoft Purview Suite for Microsoft 365 Business Premium

Configured Data Security Posture Management for AI:

Activate Microsoft Purview Audit

Install Microsoft Purview browser extension

Onboard devices to Microsoft Purview

Extend your insights for data discovery

Configured Global Secure Access:
https://learn.microsoft.com/en-us/purview/dlp-create-policy-ai-network-data-security

https://learn.microsoft.com/en-us/entra/global-secure-access/how-to-transport-layer-security

Traffic forwarding

File policies - Web category - Artificial Intelligence

TLS inspection policy - Web category - Artificial Intelligence

  • TLS inspection policies certificate

Security profiles

Conditional Access Policy

Installed GlobalSecureAccessClient

Added the root certificate to trusted certificates

Healthcheck for GlobalSecureAccessClient: everything is fine, common errors have been resolved. I see traffic on the EntraID portal from the client.

In Microsoft Purview,

  • I created an Inline web traffic policy for browser and network traffic, specifying sensitive data and blocking actions.

First question: However, I can still transfer sensitive test data, both files and plaintext.

Second question: Do I understand correctly that the DLP Inline web traffic policy can block data transfer for applications that don't have SSO, and therefore aren't corporate? If the application works with EntraID as an identity provider, it will be considered corporate. This is in response to the question "In more detail, my goal is to block this only for Gemini (public), and only allow work with Gemini corporate."

Thank you.

Microsoft Security | Microsoft Purview
0 comments No comments

2 answers

Sort by: Most helpful
  1. Manoj Kumar Boyini 15,650 Reputation points Microsoft External Staff Moderator
    2026-02-04T19:27:05.59+00:00

    Hi Denys Pasternak

    Your configuration is mostly correct. The reason you can still send sensitive content to Gemini (public) is that Inline Web Traffic DLP only enforces blocking when the traffic is actually inspected by Global Secure Access (GSA).

    Inline Web Traffic DLP depends on traffic interception and TLS inspection. If the browser traffic does not pass through the GlobalSecureAccessClient or if TLS inspection is bypassed, Purview cannot see the request payload and therefore cannot block it—even if a DLP policy exists.

    The most common causes are:

    Browser traffic is not actually forwarded through GSA (split tunneling, forwarding profile not applied, unsupported browser).

    TLS inspection is not applied or the root certificate is not trusted on the device.

    The destination domain (Gemini public) is not matched by the Artificial Intelligence category or a custom domain rule.

    The connection uses TLS features (for example, Encrypted Client Hello or certificate pinning) that prevent inspection.

    You can confirm this by checking Global Secure Access traffic logs and TLS inspection logs. If the Gemini request does not appear as decrypted traffic, Inline Web Traffic DLP cannot evaluate or block it.

    Regarding your second question: Inline Web Traffic DLP does not decide “corporate vs public” purely based on whether an application uses Entra ID or SSO. Enforcement is primarily domain- and network-based. If Gemini Enterprise and Gemini Public use the same base domain, Purview cannot automatically distinguish them at the network layer. To allow only the corporate version, the enterprise service must be identifiable via:

    A distinct enterprise domain, or

    An explicitly allowed enterprise application combined with Conditional Access and device compliance

    Blocking public Gemini requires that traffic flows through GSA with TLS inspection enabled and that the Gemini public domain is included in the policy scope.

    Allowing corporate Gemini requires an explicit allow condition (distinct domain or enterprise app), not SSO alone.

    Once traffic is correctly routed through GSA and decrypted, Inline Web Traffic DLP will block sensitive content for Gemini Public while allowing access to the corporate Gemini endpoint.

    Helpful References:
    https://learn.microsoft.com/en-us/purview/dlp-create-policy-ai-network-data-security
    https://learn.microsoft.com/en-us/purview/dlp-network-data-security-learn
    https://learn.microsoft.com/en-us/entra/global-secure-access/how-to-transport-layer-security
    https://learn.microsoft.com/en-us/entra/global-secure-access/how-to-transport-layer-security
    https://learn.microsoft.com/en-us/purview/dlp-create-policy-block-to-ai-via-edge
    https://learn.microsoft.com/en-us/purview/endpoint-dlp-using

    Hope this helps, Please let us know if you have any questions and concerns.

    Was this answer helpful?

    1 person found this answer helpful.

  2. AI answer

    2026-02-04T18:13:46.04+00:00

    To address your first question regarding the ability to transfer sensitive test data despite having set up an Inline web traffic policy in Microsoft Purview, there are a few factors to consider:

    1. Policy Configuration: Ensure that the policy is correctly configured to block the specific types of sensitive data you are concerned about. Double-check the conditions and actions specified in the policy to confirm they align with your objectives.
    2. Scope of Policy: The policy should explicitly include the sensitive data types you want to protect. If the policy is not capturing the data being transmitted, it may not be triggering the block as intended.
    3. Testing Environment: If you are testing with data that is not classified as sensitive according to your DLP rules, the policy will not block it. Make sure the test data meets the criteria set in your DLP policy.

    For your second question, you are correct in your understanding that the DLP Inline web traffic policy can block data transfer for applications that do not support Single Sign-On (SSO) and are therefore not recognized as corporate applications. If an application integrates with EntraID as an identity provider, it is typically treated as a corporate application, which means the DLP policy may not apply in the same way. This aligns with your goal of blocking only public Gemini while allowing corporate Gemini access.


    References:

    AI-generated content may be incorrect. Read our transparency notes for more information.

    Was this answer helpful?

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.