An enterprise security architecture perspective with practical implementation and validation
1. Introduction
As organizations accelerate the adoption of generative AI and Microsoft 365 Copilot, protecting sensitive enterprise data across AI interactions is becoming an increasingly important security requirement.
Traditional Data Loss Prevention (DLP) controls primarily focus on protecting sensitive information across endpoints, email, collaboration platforms, cloud applications and external data transfers. However, generative AI introduces additional data exposure paths that organizations must consider within their enterprise security architecture.
One such exposure path is external web grounding. When users interact with Microsoft 365 Copilot or Copilot Chat, their prompts may contain sensitive business information, customer records, financial data, personally identifiable information or other confidential information. Depending on the request, Copilot may use external web search to retrieve additional context and improve the relevance of its responses.
How can organizations prevent sensitive information from being exposed through external web searches without completely restricting the use of generative AI?
Blocking AI interactions entirely may reduce exposure risks, but it can also negatively impact business productivity. A more targeted approach is to identify sensitive information within AI prompts and restrict specific data exposure paths while allowing legitimate business activities to continue.
In this article, we explore the architecture, configuration and practical validation of this capability using a Microsoft 365 E5 lab environment. This is a practical continuation of our earlier Copilot prompt protection lab: that scenario restricted prompt processing, whereas this one targets external web search while allowing permitted Copilot responses.
2. Microsoft Ignite 2026 and the evolution of AI data protection
In my recent article on Microsoft Purview at Ignite 2026, we explored the broader evolution of data protection across Microsoft 365 Copilot and AI agents. This includes protection beyond sensitivity labels and the expansion of controls across AI interactions.
The selective web grounding restriction was announced in public preview in spring 2026, including at RSA 2026, and the worldwide general availability rollout completed in June 2026 (Microsoft 365 Roadmap ID 548671).
This is therefore a publicly documented, generally available capability in supported Microsoft 365 Copilot experiences not an NDA feature or a new Ignite 2026 launch. Microsoft’s RSA 2026 announcement provides the original release context.
3. Understanding the security risk
Consider an employee in a financial services organization using Copilot to research PCI DSS security recommendations. While constructing the prompt, the employee inadvertently includes customer payment card information. The business intention may be entirely legitimate, but the inclusion of sensitive information introduces a potential exposure risk if the interaction involves external web grounding.

Examples of information organizations may want to protect include credit card numbers, national identification numbers, customer records, confidential business identifiers and organization specific sensitive information defined through custom classifiers.
The objective is to ensure that appropriate restrictions are applied when sensitive information crosses a defined security boundary, without necessarily preventing employees from using this information within an approved AI environment.
4. Microsoft Purview DLP: Restricting external web grounding
| Control capability | Security objective |
|---|---|
| Prevent processing sensitive prompts | Restrict the AI interaction itself when configured sensitive information is detected. |
| Restrict external web grounding | Restrict external web search for matching prompts while allowing continued AI processing. |
| Restrict processing of labeled content | Prevent selected sensitivity labeled files and emails from being processed. |
For this implementation, we focus on restricting external web grounding based on Sensitive Information Types (SITs). When matching sensitive information is detected, external web search is restricted for that prompt. Copilot can continue generating a response using permitted information where available.
Logical security control flow

The design principle is to restrict the risky data path rather than unnecessarily block the entire AI interaction.
5. Lab environment and policy configuration
A custom Microsoft Purview DLP policy was configured in a dedicated Microsoft 365 E5 lab environment and scoped to a single test account. The objective was to restrict external web grounding when a prompt contains sensitive information, without unnecessarily blocking normal Copilot processing. Although the rule includes several credential related SITs, this article’s controlled validation centers on synthetic payment card data.
| Configuration | Value |
|---|---|
| Environment | Microsoft 365 E5 |
| Policy type | Custom DLP policy |
| Policy name | LAB – Copilot Sensitive Web Search Protection |
| Rule name | LAB – Restrict Sensitive Copilot Web Searches |
| Policy location | Microsoft Copilot, Copilot Chat, and Copilot Cowork |
| Detection condition | Content contains sensitive information types |
| Sensitive information types | Credit Card Number and credential-related SITs (tests below focus on Credit Card Number) |
| Enforcement action | Performing Web Searches restriction |
| Alert action | Generate Alert |
| Policy mode | Enabled |
Implementation steps
1. Navigate to the Microsoft Purview portal and open Data Loss Prevention, then Policies.
2. Create a custom DLP policy and select Microsoft Copilot, Copilot Chat, and Copilot Cowork as the policy location.
3. Configure a rule using the Credit Card Number sensitive information type.
4. Under Prevent Copilot from processing content, select Performing Web Searches.
5. Configure alert generation, enable the policy and allow sufficient time for policy propagation.
The important configuration decision is selecting Performing Web Searches = Block while leaving Processing Prompts unselected. Both actions evaluate typed prompt input, but only the latter prevents Copilot from processing the matching prompt altogether. The policy was scoped to the lab user for controlled validation; administrators should verify their tenant’s licensing, policy applicability, and synchronization before broader deployment.
6. Practical implementation and validation
Six scenarios were executed to evaluate sensitive information detection, selective web grounding restriction, continued productivity, avoidance of unnecessary restrictions and audit visibility. All payment information used in the tests was synthetic.
Test Case 1: Web search without sensitive information
Objective: Establish baseline Copilot behaviour when the prompt does not contain sensitive information.
Test input:
Search the web for the latest PCI DSS security recommendations and provide official source links. Include the publication dates of the sources.
Expected behaviour: Copilot should be able to use external web grounding and return relevant information with source citations.
Observed result: Copilot returned PCI DSS recommendations, publication dates and external source citations. No organizational policy restriction notification was displayed.

Result: The baseline demonstrates normal Copilot functionality when sensitive information is not present.
Test Case 2: Web search containing sensitive credit card information
Objective: Validate whether sensitive information triggers the configured web grounding restriction.
Test input:
Search the web for the latest PCI DSS security recommendations and provide official source links. Include the publication dates of the sources.Payment Type: VisaCredit Card Number: 4111 1111 1111 1111Cardholder: Test UserThis is synthetic test data.
Expected behaviour: Microsoft Purview detects the Credit Card Number SIT and restricts external web grounding.
Observed result: Copilot displayed the notification: Some relevant content wasn’t included due to your organization’s policies. Despite the restriction, Copilot continued generating PCI DSS recommendations.

Result: The policy notification and continued response generation are consistent with selective web grounding restriction.
Test Case 3: Sensitive information processing without web search
Objective: Validate whether Copilot can continue performing legitimate productivity tasks involving sensitive information.
Test input:
Convert the following synthetic payment information into a structured table. Do not search the web.Customer Name: Test UserPayment Type: VisaCredit Card Number: 4111 1111 1111 1111Payment Amount: EUR 250
Expected behaviour: Copilot should remain capable of processing the information without requiring external web grounding.
Observed result: Copilot displayed the policy restriction notification and generated the requested table, including the full synthetic credit card number.

Result: The configured DLP action does not prevent sensitive information from being processed or reproduced in the response. In this scenario, the policy notification should not be mistaken for proof that an external web search was attempted. Organizations that must prevent processing of sensitive prompts should evaluate the separate Processing Prompts restriction.
Test Case 4: Web search containing masked credit card information
Objective: Evaluate selective enforcement and whether masked payment information triggers an unnecessary restriction.
Test input:
Search the web for the latest PCI DSS security recommendations and provide official source links. Include the publication dates of the sources.Payment Type: VisaCredit Card Number: XXXX XXXX XXXX 1111Cardholder: Test User
Expected behaviour: The masked number should not independently satisfy the full credit card number detection criteria.
Observed result: Copilot recognized the masked information and displayed external source citations without a visible policy restriction notification.

Result: This demonstrates the value of targeted detection for legitimate business workflows involving masked identifiers.
Test Case 5: Live web search containing sensitive information
Objective: Evaluate the restriction using time sensitive information that may not be available in model knowledge.
Test input:
Search the live web for Microsoft Security announcements published on December 3, 2026. Provide the exact publication dates and official source URLs.Customer Payment Details:Payment Type: VisaCredit Card Number: 4111 1111 1111 1111Cardholder: Test UserThis is synthetic test data.
Expected behaviour: Web grounding is restricted while Copilot can still generate a response.
Observed result: Copilot displayed the policy notification and indicated that it could not verify Microsoft Security announcements for the requested date because retrievable web results were unavailable. It continued to provide general information about potential sources.

Result: The unavailable current information and visible policy notification provide evidence consistent with external web grounding restriction.
Test Case 6: Live web search without sensitive information
Objective: Perform a comparative control test using the same research request without payment information.
Test input:
Search the live web for Microsoft Security announcements published on December 3, 2026. Provide the exact publication dates and official source URLs.
Expected behaviour: Copilot should be able to retrieve current information when web search is otherwise available.
Observed result: Copilot returned Microsoft Security and Microsoft Entra announcements, publication dates and external source citations without a visible policy warning.

Result: The comparison demonstrates a clear difference in observed behaviour based on the presence of sensitive information. The returned announcements were not independently verified as part of this test.
7. Comparative analysis of web grounding behaviour
The comparison between Test Cases 5 and 6 provides particularly useful evidence because the research request remained the same while the sensitive payment information was removed.

| Without sensitive information | With sensitive information |
|---|---|
| External citations displayed | Current results unavailable |
| Current results returned | Organization policy restriction displayed |
| Response generated | Response generated |
| No visible policy warning | Behaviour consistent with restricted web grounding |
From an enterprise security architecture perspective, this distinction demonstrates the value of selectively restricting an AI data retrieval capability rather than indiscriminately disabling the entire AI experience.
8. Security monitoring and audit validation
Functional testing alone is not sufficient when validating an enterprise security control. Security operations and compliance teams also need visibility into policy matches, enforcement actions and associated user activities.
Activity Explorer displayed three DLP rule match events on December 3, 2026, at 18:36, 19:22 and 21:09 (UTC+01:00), with the CopilotExperiences enforcement plane.

The latest event was examined to validate the configured policy, sensitive information type and recorded actions.
| Event attribute | Recorded value |
|---|---|
| Activity | DLP rule matched |
| Event time | December 3, 2026, 21:09 |
| Content name | Search the web for the latest PCI DSS security rec |
| Sensitive information type | Credit Card Number |
| Policy | LAB – Copilot Sensitive Web Search Protection |
| Rule | LAB – Restrict Sensitive Copilot Web Searches |
| Policy mode | Enable |
| Rule actions | GenerateAlert, RestrictWebGrounding |
| Condition | HasActivity |
| Matched value | UploadText |
| Enforcement plane | CopilotExperiences |

The most significant evidence is the recorded RestrictWebGrounding action in enforcement mode. Combined with the user facing policy notifications and comparative tests, this supports the intended enforcement behaviour.
9. Final test results
| Test scenario | Policy notification | Copilot response | Functional result |
|---|---|---|---|
| Normal web search | No | Generated | Pass |
| Web search with credit card | Yes | Generated | Pass |
| Sensitive processing without web search | Yes | Generated | Pass |
| Masked credit card | No | Generated | Pass |
| Live web search with credit card | Yes | Current results unavailable | Pass |
| Live web search without credit card | No | Current results returned | Pass |
| DLP rule match and action | Applicable | Activity recorded | Verified |
All six functional scenarios produced the expected user facing behaviour. Activity Explorer additionally confirmed sensitive information detection and recorded the web grounding restriction action. Individual audit records were not correlated to every test interaction, and external search traffic was not independently inspected. This validation therefore demonstrates functional behaviour and recorded policy enforcement rather than network level proof of data transmission prevention for every request.
10. Enterprise security architecture considerations
Targeted enforcement rather than blanket restrictions
Completely blocking Copilot interactions whenever sensitive information is detected may introduce unnecessary operational friction, particularly within regulated industries. Selective web grounding restriction provides an additional enforcement option that can be evaluated against business requirements and classification policies.
Protection without relying exclusively on sensitivity labels
This implementation uses the Credit Card Number SIT rather than a sensitivity label. Users may enter sensitive information directly into prompts without referencing a classified document. This control provides an additional layer of protection for sensitive prompt text.
Understanding the control boundary
Test Case 3 demonstrates that restricting external web grounding does not prevent Copilot from reproducing sensitive information within a response. This is an input-driven web-search restriction, not a general output-content filter. Organizations should distinguish between preventing external web exposure, blocking sensitive prompt processing, protecting files and emails used for grounding, and preventing onward sharing to unauthorized destinations. The SIT-based typed-prompt rule in this lab does not independently inspect files uploaded directly as prompt attachments. Complementary controls, including Endpoint DLP and other Copilot-specific DLP policies, must be evaluated separately.

Alignment with Zero Trust principles
| Zero Trust principle | Application to Copilot DLP |
|---|---|
| Verify explicitly | Evaluate sensitive information within the prompt. |
| Use least privilege access | Restrict unnecessary external grounding for matching requests. |
| Assume breach | Reduce potential data exposure paths and maintain security monitoring. |
This capability contributes to a more granular and context aware data protection model but does not establish a complete Zero Trust architecture.
Security operations and compliance
DLP activities can support investigation, policy tuning, security control assessments, identification of recurring sensitive data handling patterns and compliance evidence collection. For organizations subject to PCI DSS, GDPR or other requirements, the control may contribute to a broader data protection strategy but does not alone demonstrate regulatory compliance.
11. Recommended enterprise implementation approach

An effective implementation should begin by identifying critical data assets and understanding how employees interact with AI applications. Start with discovery and simulation, validate the intended SIT matches, identify legitimate business scenarios, and test with a small pilot group before expanding enforcement. Establish a governed exception process—with business ownership, justification, user scope and periodic reviews—because some external research may be legitimate. Where appropriate and supported, audit-only policies or narrowly scoped exclusions can reduce unnecessary user friction while maintaining risk visibility.
The objective should not simply be closing an audit finding or enabling another security feature. The primary objective should be protecting critical enterprise data while enabling the business to continue operating effectively.
12. Key findings and architectural conclusions
| Architectural finding | Supporting evidence |
|---|---|
| Sensitive information based enforcement | Credit Card Number SIT detected in Activity Explorer |
| Selective web grounding restriction | Policy notifications and comparative live search tests |
| Continued AI productivity | Structured responses generated |
| Reduced unnecessary restrictions | Masked card test displayed no restriction |
| Security monitoring | DLP rule match events recorded |
| Enforcement visibility | RestrictWebGrounding action recorded |
| Control limitation | Sensitive information remained visible in responses |
AI data protection does not necessarily require an organization to choose between security and productivity. A well designed architecture can apply different enforcement decisions based on the sensitivity of the information, the intended business activity and the data exposure path.
13. Conclusion
As generative AI becomes increasingly integrated into enterprise workflows, traditional data protection strategies must evolve to address the additional risks introduced by prompts, responses, grounding sources and agent interactions.
Through this practical validation, we observed that prompts without sensitive information continued to return web citations, while prompts containing synthetic credit card information triggered organizational policy restrictions. Copilot continued processing information and generating responses, demonstrating the distinction between restricting an external data exposure path and preventing AI interactions entirely.
The recorded RestrictWebGrounding action within Microsoft Purview Activity Explorer further supported the observed enforcement behaviour. From an enterprise security architecture perspective, this represents a valuable addition to a layered AI data protection strategy.

Next in this Microsoft Purview AI security series, we will explore additional protection boundaries—including the distinction between prompt input, grounding content and generated responses—through practical demonstrations and verifiable enforcement evidence.
References
Microsoft Ignite 2026 Book of News
Secure the data that fuels AI with Microsoft Purview
Microsoft Purview innovations at RSA 2026
