Microsoft Purview Endpoint DLP | Hands on security lab | Part 2
Preventing sensitive data loss does not always require a complex new security product. Sometimes the most useful controls are already available in Microsoft Purview: restricting copy/paste, network shares, and remote file transfer channels when a file contains sensitive information. These are foundational controls every organization should assess and, where appropriate, enable through a phased rollout.
This is a continuation of my previous article, From Audit to Block: Protecting Cloud Secrets with Microsoft Purview DLP, where I configured a custom policy, validated credential detection in OneDrive and on Windows, and demonstrated a blocked USB copy. In this follow-up, I tested four more endpoint data-exfiltration paths: Clipboard, SMB network shares, SFTP, and RDP.
1. A simple lab, four additional controls
The environment is intentionally straightforward: a dedicated Microsoft 365 E5 lab tenant, one onboarded Windows 11 test device, a Synology NAS, and an Azure Windows VM. I reused a synthetic, nonfunctional Word file named DLP-Lab-Cloud-Credentials.docx, already detected by the built-in Client Secret / API Key and General Password sensitive information types.
In Microsoft Purview → Data Loss Prevention → Policies → Edit rule → Audit or restrict activities on devices, I configured the relevant actions as Block. The screenshot also shows USB and Print, but the verified new scenarios covered in this article are the four below. Testing was limited to the lab and should not be read as a recommendation to immediately block every activity for every user in production.
Figure 1. The lab policy includes multiple endpoint Block actions. Print was also configured but is not part of this validated test series.
2. Copy to clipboard blocked
First, I opened the synthetic credentials document in Microsoft Word, selected content, and attempted to copy it into Notepad. Windows displayed a DLP notification stating that copying from the document was not allowed. The Notepad window remained empty.
Figure 2. Copying sensitive content from Word to Notepad is denied by Endpoint DLP.
Why it matters: Copy/paste is a fast way for sensitive information to move between applications. This is a clipboard control, not a screen-capture control; screenshot restrictions require separate consideration.
3. Copy to a network share blocked
Next, I used Windows Explorer to copy the same classified document from my laptop to the TechShare SMB share on a home Synology NAS. The transfer was denied. The DLP client’s detailed view explicitly listed CopyToNetworkShare for Windows Explorer, as well as the separate clipboard block in Word.
Figure 3. DLP client details record CopyToNetworkShare in Windows Explorer and CopyToClipboard in Word as blocked actions.
Why it matters: A mapped or browsed network share can become an unmonitored copy destination if endpoint restrictions stop at USB devices. Network-share controls are especially relevant for NAS devices and file servers.
4. FTP/SFTP WinSCP access prevented
New in Purview (October 2026 General Availability): The FTP and SFTP transfers endpoint activity is marked New in the rule editor. Microsoft documents this feature as generally available in October 2026, expanding device DLP from established channels such as USB and SMB shares to supported FTP/SFTP transfers. Under the action, administrators can choose Audit only, Block, Block with override or Allow. See Microsoft Purview What’s New and FTP/SFTP protection guide.
Figure 4. Purview explicitly marks FTP and SFTP transfers as a New endpoint DLP control.
For the third test, I enabled the Synology NAS SFTP service on port 22, keeping the service inside the lab network, and connected from Windows through WinSCP. When I attempted to upload the sensitive Word file, WinSCP reported System Error 356 because Windows blocked access to the source file.
Figure 5. SFTP was enabled on the Synology lab NAS, using port 22 on the home network.Figure 6. WinSCP could not open the sensitive source document for upload; Windows reported an operation blocked by policy.
The endpoint blocked actions details later identified the WinSCP action as AccessByFtpApp. This demonstrates that the selected client could not access the protected file for the attempted transfer. It is not a blanket claim about every SFTP client or server.
5. Remote Desktop (RDP) — transfer prevented
Finally, I connected from the DLP managed Windows 11 laptop to an Azure Windows VM over RDP. With local drive redirection available inside the remote session, I attempted to copy the same sensitive document into the VM. Windows reported that it could not read from the source file, and a DLP notification indicated that the attempted upload was not allowed.
The DLP blocked-actions dialog identified Remote Desktop Connection with the action RemoteDesktopAccess, alongside the WinSCP event from the previous test.
Figure 7. DLP client details identify AccessByFtpApp for WinSCP and RemoteDesktopAccess for Remote Desktop Connection.
Why it matters: Remote sessions and redirected drives can become alternative routes for moving data beyond a managed endpoint. The exact enforcement depends on the transfer method, client, policy scope and applicable endpoint capabilities.
These results illustrate how a small set of Microsoft Purview Endpoint DLP controls can reduce common data exfiltration paths. What makes them effective is not simply selecting Block: start in Audit, confirm the sensitive information types, evaluate business exceptions, scope policies carefully, and validate both the Windows notification and DLP activity details. Also remember that blocked transfers in one lab do not establish universal coverage of all applications or exfiltration techniques.
A closing thought: what about SSH?
SFTP is built on SSH, but SSH is not the same as SFTP. SFTP uses an encrypted SSH connection for file transfers. SSH itself also supports remote terminal sessions, tunneling and other capabilities. Therefore, enabling FTP and SFTP transfers → Block is not equivalent to disabling SSH, and it does not demonstrate comprehensive coverage of other SSH-based file movement methods such as SCP or rsync over SSH.
My suggestion for Microsoft: Extend Purview’s content-aware controls with deeper visibility and granular protection for additional SSH-based file transfer methods, without indiscriminately blocking legitimate SSH administration. This is a proposed future improvement, not a feature claimed to exist or to have been tested in this lab.
What’s next — Microsoft Purview Insider Risk Management
So far, our policies have focused on what sensitive content is being moved and through which channel. The natural next question is: what if the user’s behavior and risk context should also influence the response?
In the next article, I will move into Microsoft Purview Insider Risk Management (IRM) examining risk indicators, insider risk policies, privacy aware investigations and how Adaptive Protection can connect insider risk levels with DLP enforcement. This is the next planned hands on exploration, not a feature configured or validated in the present lab.
From intelligent data classification to runtime protection for AI agents
Microsoft Ignite 2026 introduced several important advancements in Microsoft Purview, reflecting the changing nature of enterprise data security in an increasingly AI driven workplace.
As organizations adopt Microsoft 365 Copilot, autonomous AI agents, third party coding assistants and intelligent automation platforms, the traditional boundaries of data security are rapidly expanding.
Historically, enterprise data protection strategies have primarily focused on how users access, store and share sensitive information. Today, AI agents can independently retrieve information, interact with applications, invoke external tools and perform actions on behalf of users.
This introduces a fundamental architectural question:
How do organizations maintain consistent data protection when sensitive information is no longer accessed exclusively by humans, but also by intelligent agents?
The latest Microsoft Purview announcements at Ignite 2026 provide an interesting perspective on how Microsoft is addressing this challenge.
In this article, we will explore the key announcements, their implications for enterprise security architecture, and how these capabilities could influence future data protection strategies.
1. Microsoft Purview Ignite 2026 – Announcements at a Glance
Capability
Announced availability
Runtime DLP for supported local AI agents
Public preview – January 2027
Content based Copilot grounding protection
Public preview – January 2027
DLP for Copilot attachments and linked files
Public preview – January 2027
Recurring classification refresh
Public preview – January 2027
Enhanced Sensitive Information Types (SITs)
Phased availability from January 2027
Unified classification management
Public preview
Increased auto labeling capacity
Generally available
Expanded auto labeling simulation
Generally available
Adaptive scopes for auto labeling
Generally available
Default SharePoint library labels for existing files
Public preview
Purview integration with Unified Agent Risk
Public preview
2. Extending Data Loss Prevention to Local AI Agents
One of the most interesting announcements at Ignite 2026 is the extension of Microsoft Purview Data Loss Prevention to supported AI agents operating locally on Windows endpoints.
Unlike traditional applications, AI coding assistants and autonomous agents may dynamically access local files, interpret instructions, invoke tools and communicate with external services.
Supported agents announced by Microsoft include Claude Code, Claude Desktop, GitHub CLI, GitHub Copilot and supported Visual Studio Code extensions.
This creates new data exposure scenarios that go beyond conventional file transfers and browser uploads.
Understanding the risk through a practical scenario
Consider a software developer using an AI coding assistant on a corporate Windows workstation to troubleshoot an application.
During the troubleshooting process, the agent encounters a configuration file containing application credentials, database connection strings or API keys.
Depending on the agent’s workflow, this information could become part of an outbound prompt or tool invocation.
With the announced Microsoft Purview capabilities, organizations will be able to introduce content aware DLP controls at supported agent interactions.
Figure 1 – Conceptual local AI agent DLP enforcement flow
The objective is not necessarily to prevent developers from using AI assistants. Instead, it is to establish appropriate boundaries around the sensitive information that these assistants can process.
Agent-specific policy scoping also introduces the possibility of applying different data protection requirements according to an agent’s business purpose.
Enterprise security architecture perspective
This represents an opportunity to extend existing Endpoint DLP strategies into agent-driven workflows.
Organizations should consider incorporating AI agent interactions into their existing data exfiltration threat models, alongside conventional channels such as removable media, browsers, cloud storage and external communications.
Importantly, runtime DLP should complement not replace secrets management, least-privilege access, endpoint security and network-level protection.
3. Microsoft 365 Copilot DLP Beyond Sensitivity Labels
Sensitivity labels remain a fundamental component of enterprise information protection.
However, one of the practical challenges faced by large organizations is ensuring that sensitive information across their entire data estate has been correctly classified and labeled.
Legacy documents, inconsistent labeling practices and newly created content can introduce gaps in protection.
Microsoft’s latest announcements introduce additional content-aware protection for Microsoft 365 Copilot, allowing DLP policies to restrict the use of sensitive files without requiring a sensitivity label as the sole protection condition.
Comparing existing and announced protection scenarios
Data protection scenario
Existing capabilities
Ignite 2026 enhancements
Sensitive information typed into prompts
Content-based DLP
Existing protection retained
Sensitivity-labeled documents
Label-based restrictions
Existing protection retained
Unlabeled files containing sensitive information
Label-based restrictions alone do not cover these files
Content-based grounding restrictions
Sensitive files attached to prompts
Limited by existing policy capabilities
Expanded attachment inspection
Sensitive files linked within prompts
Limited by existing policy capabilities
Expanded linked-file inspection
A practical enterprise use case
Imagine an employee requesting Microsoft 365 Copilot to summarize a financial planning document stored in SharePoint.
The employee has legitimate access to the document, but it has not been assigned a sensitivity label.
The announced DLP enhancements introduce the ability to restrict Copilot from using that document when its contents match configured sensitive information conditions.
Figure 2 – Sensitivity label based versus content based Copilot protection
From an architectural perspective, this establishes an additional layer of protection for organizations where sensitivity label adoption is still evolving.
However, this should not be interpreted as a replacement for information classification or sensitivity labels. Labels remain essential for persistent protection, encryption, access restrictions and data governance.
The real value lies in combining classification, labeling, access governance and content-aware DLP as complementary controls.
4. Scaling Enterprise Information Protection
Data classification and labeling have always been foundational components of Microsoft Purview.
However, at enterprise scale, the challenge is not simply identifying sensitive information. It is doing so consistently across millions of documents while keeping protection aligned with changing business and regulatory requirements.
Microsoft announced several improvements that address this operational challenge.
Significant improvements in auto labeling scalability
Capability
Previous limit
New limit
Improvement
Daily auto-labeling capacity
100,000 files
500,000 files
5x
Auto-labeling simulation
4 million items
20 million items
5x
The daily labeling limit applies to SharePoint and OneDrive files per tenant.
Figure 3 – Microsoft Purview auto labeling scalability improvements
Adaptive scopes for auto labeling
Managing individual SharePoint site locations within information protection policies can become operationally complex in large organizations.
Adaptive scopes allow auto labeling policies to target sites dynamically using defined attributes.
For example, a policy could target SharePoint sites associated with Finance based on a supported site attribute, such as a naming pattern in the site URL.
This helps reduce manual policy maintenance as new sites are introduced.
Default sensitivity labels for existing SharePoint content
Another important enhancement is the ability to extend a document library’s default sensitivity label to existing files at rest.
This could help organizations establish baseline information protection across business-critical document libraries without relying exclusively on users opening or modifying older files.
5. Moving Towards Continuous Data Classification
Traditional classification initiatives often operate as periodic activities. However, enterprise information and the definition of sensitive data continuously evolve.
Microsoft’s announced recurring classification refresh introduces a more continuous approach to maintaining classification coverage.
Following an initial baseline scan, existing information can be reassessed when applicable classifiers are introduced or updated.
Microsoft is also enhancing more than 100 commonly used built-in Sensitive Information Types as part of its initial rollout.
Additionally, the unified classification management experience brings multiple classifier technologies into a centralized administrative interface, including:
Sensitive Information Types (SITs)
Exact Data Match (EDM)
Trainable classifiers
Document fingerprinting
Enterprise security architecture perspective
Classification should increasingly be treated as an ongoing security lifecycle rather than a one-time implementation project.
This becomes particularly important when AI applications can discover and retrieve historical information that may not have been reviewed or modified for several years.
A more continuous classification strategy can help reduce the gap between data discovery and policy enforcement.
6. Unified Agent Risk – A New Dimension of Insider Risk
Traditionally, insider risk management has focused on human-driven scenarios such as unauthorized disclosure, inappropriate access, intellectual property theft and accidental data leakage.
The emergence of autonomous and semi-autonomous AI agents introduces an additional dimension to this risk landscape.
An AI agent may operate with legitimate permissions while performing actions that introduce unintended security risks.
Examples include:
Retrieving sensitive information outside its intended business purpose.
Transmitting confidential data to an external tool.
Performing unexpected actions following a prompt injection.
Operating with excessive or inherited permissions.
These scenarios do not necessarily require malicious human intent.
At Ignite 2026, Microsoft announced further integration of Microsoft Purview data security signals into the Unified Agent Risk assessment within Microsoft Agent 365.
Connecting data, identity and threat intelligence
Microsoft’s Dynamic Agent Risk capability brings together information from multiple security domains to establish an evolving understanding of agent risk.
Microsoft Purview contributes context about agent activity and sensitive information interactions, while Microsoft Entra and Microsoft Defender contribute complementary identity, access and security signals.
These signals can support risk-based investigation, prioritization and appropriate mitigation across supported Microsoft security capabilities.
What this means for Insider Risk Management
From an enterprise architecture perspective, organizations should begin evaluating AI agents as an additional category of trusted actors within their insider threat models.
This does not mean that Unified Agent Risk replaces Microsoft Purview Insider Risk Management or that existing human focused insider risk policies automatically extend to AI agents.
Rather, it highlights an opportunity to evolve insider threat management strategies to address both human and non-human actors.
Future insider risk programs may increasingly need to consider agent ownership, permission boundaries, data access behavior, runtime activity and accountability for autonomous actions.
7. What Should Enterprises Do Next?
While several of these capabilities are still in preview or scheduled for future release, organizations can begin preparing their security architectures today.
Key areas of consideration include:
Assessing existing sensitivity labeling and classification coverage.
Identifying AI assistants and agents operating across enterprise endpoints.
Reviewing agent permissions and potential data exposure paths.
Establishing data protection requirements for AI-driven workflows.
Incorporating agent-related scenarios into insider threat models.
Defining controlled pilot environments for validating emerging security capabilities.
These activities can help organizations establish the foundation required to adopt new Purview capabilities as they become available.
Final Thoughts
The Microsoft Purview announcements at Ignite 2026 demonstrate an evolution from traditional data protection towards a more integrated approach encompassing users, applications and intelligent agents.
The fundamental principles of information protection remain unchanged. Organizations still need to understand their data, classify it appropriately, establish access boundaries and prevent unauthorized disclosure.
What is changing is the environment in which these controls must operate.
As AI agents become increasingly embedded within enterprise workflows, data security architectures must evolve to address not only who accesses sensitive information, but also how intelligent systems retrieve, process and act upon it.
Microsoft Purview’s latest announcements provide an interesting glimpse into that future.
What’s Next?
This article serves as the starting point for our Microsoft Purview Ignite 2026 technical blog series.
In the upcoming articles, we will take a closer look at each of these scenarios through detailed hands-on demonstrations, policy configurations, practical testing and enterprise security architecture considerations as the capabilities become available.
Stay tuned as we explore each of these capabilities in detail and bring the Ignite announcements to life through practical demonstrations.
This overview is based on Microsoft’s Ignite 2026 announcements. Availability is subject to rollout schedules, licensing and applicable prerequisites. The architecture illustrations are conceptual.
Hands on Microsoft 365 E5 security lab | Microsoft Purview DLP | November 2026
Credit card numbers are not the only sensitive information that organizations need to protect. Application client secrets, API keys and passwords can be just as valuable to an attacker especially when they are copied into documents and moved outside managed storage. In this lab, I configured Microsoft Purview Data Loss Prevention (DLP) to detect synthetic financial and credential-related data, observe a USB copy, and demonstrate a blocked transfer on a Windows 11 endpoint.
This article focuses on the configuration and confirmed results, rather than covering every DLP option or a long troubleshooting journey. All data used is synthetic and nonfunctional.
1. Environment and policy design
The lab used a dedicated Microsoft 365 E5 tenant and an onboarded Windows 11 test device. A custom DLP policy, LAB – Endpoint Sensitive Data Exfiltration, was created in Microsoft Purview. The selected primary locations included Exchange, SharePoint, OneDrive, Teams and Devices. This walkthrough’s enforcement actions, however, were configured for endpoint file activities; selecting other locations does not automatically enable their individual blocking actions.
Figure 1. Creating a custom DLP policy in Microsoft Purview.Figure 2. Naming the lab policy.(more…)
How quickly could an attacker turn a leaked application secret into access to Azure Key Vault? In one investigation, Microsoft observed an AI agent progress from searching public GitHub repositories to exfiltrating Key Vault data in just five minutes. This is an observed case, not a typical or guaranteed attack duration.
On November 5, 2026, Microsoft Threat Intelligence published Threat actors use agentic AI tooling to find and abuse exposed secrets. The report describes actors using ARTEX, an agentic offensive framework, to identify exposed credentials and then abuse valid application identities across Microsoft Entra ID, Azure and Microsoft 365.
In this walkthrough, we will map the attack chain and investigate relevant signals using Microsoft Defender XDR. The lab screenshots are from a separate test tenant; they illustrate legitimate baseline activity and do not represent the Microsoft incident or evidence of compromise. Identifying details in the screenshots have been redacted.
1. What Microsoft observed
Microsoft reported GitHub secret scanning beginning in August 2026 and follow on credential abuse activity observed from October 28, 2026. Attackers used valid OAuth application credentials to perform service principal sign ins. In some cases, a vendor owned multitenant application credential was involved, potentially exposing downstream customer tenants.
This was not a demonstrated bypass of Microsoft Entra ID authentication. The risk came from stolen, valid credentials and the privileges of the compromised application identity.
Public code repositories searched for credentials, including OAuth application secrets and cloud service keys.
Valid application credentials used for service principal authentication and cloud discovery.
Follow on activity included Azure Key Vault and Storage access, Microsoft Graph searches, access to Microsoft 365 content, and Azure resource operations in some environments.
One observed sequence reached Azure Key Vault data exfiltration in about five minutes.
2. Agentic AI attack chain: GitHub → ARTEX → Entra ID → Azure
Stage 1 — Exposed secrets in public GitHub repositories
Secrets committed to code, configuration files, scripts or repository history provide potential initial access. Deleting a secret from the latest commit is insufficient because it may remain copied or cached elsewhere.
Stage 2 — ARTEX automates discovery and follow on activity
The offensive framework searched for exposed secrets, evaluated the results and automated additional cloud requests. Microsoft documented adaptive request patterns, including rapid changes to unsupported Azure API versions after HTTP errors.
Stage 3 — Microsoft Entra ID service principal sign in
With an exposed application credential, an attacker can request tokens as that application and exercise its effective permissions. Human MFA requirements alone do not protect client credential authentication.
Stage 4 — Cloud discovery and access
Microsoft observed enumeration of subscriptions, resource groups, service configurations and Microsoft Graph content. In certain cases, attackers sought Key Vault secrets, Storage data, connection strings and other credentials. Additional privileges made further compromise possible.
3. Investigating the attack pattern in Microsoft Defender XDR
Open Microsoft Defender XDR → Hunting → Advanced hunting. Start with baseline activity. A search for a known attacker IP can return zero results even when the hunting tables are fully functional.
Lab context: These queries were executed in an authorized Microsoft 365 test tenant on November 19, 2026. The screenshots below show real telemetry, but no malicious activity was confirmed. Availability depends on licensing, permissions, enabled data sources and retention.
Step 1 — Verify service principal sign-in telemetry
EntraIdSpnSignInEvents
| where Timestamp > ago(30d)
| summarize
TotalSignIns = count(),
SuccessfulSignIns = countif(ErrorCode == 0),
FailedSignIns = countif(ErrorCode != 0),
FirstSeen = min(Timestamp),
LastSeen = max(Timestamp)
Figure 2. Lab baseline: four service principal sign in events, all successful, with zero failures in the selected 30-day window.
The query returned 4 sign-ins, 4 successes and 0 failures in the lab. This verifies that the table contains telemetry. It does not establish whether applications are secure or insecure.
Step 2 — Understand which service principals are active
EntraIdSpnSignInEvents
| where Timestamp > ago(30d)
| summarize
SignInCount = count(),
Successful = countif(ErrorCode == 0),
Failed = countif(ErrorCode != 0),
UniqueIPs = dcount(IPAddress),
IPAddresses = make_set(IPAddress, 10),
LastSeen = max(Timestamp)
by ServicePrincipalName, ServicePrincipalId
| order by SignInCount desc
| take 20
Figure 3. One service principal generated the four successful sign ins from one source IP. Its name is redacted for publication.
In this test environment, one service principal accounted for the four sign ins from a single source IP. The original application name and identifying values are intentionally not included in this article. Review your own application owners, expected IP ranges, credential type and authorized resource access before interpreting any pattern.
Step 3 — Baseline Microsoft Graph API activity
GraphAPIAuditEvents
| where Timestamp > ago(30d)
| summarize
TotalRequests = count(),
DistinctApplications = dcount(ApplicationId),
DistinctIPs = dcount(IpAddress),
FirstSeen = min(Timestamp),
LastSeen = max(Timestamp)
Figure 4. Lab Graph API baseline: 93,144 requests, 128 distinct application IDs and 1,022 distinct source IPs in the selected 30 day interval.
These numbers are activity measurements, not a threat verdict. Large volumes can be expected from normal Microsoft 365 operations. The next step is to identify which app IDs and operations are expected, assess HTTP response patterns and correlate suspicious requests with Entra sign-ins.
Step 4 — Hunt for the reported attacker infrastructure
Microsoft’s report identified 199.19.77.84 as a primary indicator in the October 28 service principal sign-in activity and also discussed 199.19.77.18, a Tor exit node that may be associated with unrelated activity. Use these IPs as investigation pivots, not as definitive proof.
let startTime = datetime(2026-10-28T00:00:00Z);
EntraIdSpnSignInEvents
| where Timestamp >= startTime
| where IPAddress in ("199.19.77.84", "199.19.77.18")
In the lab, the earlier IP filtered service principal and Graph hunting queries returned zero matches. This is unsurprising in a test tenant. It does not prove the environment is uncompromised and should not be presented as an attack reproduction.
Step 5 — Examine suspicious Microsoft Graph requests
GraphAPIAuditEvents
| where Timestamp >= datetime(2026-10-28)
| where IpAddress in ("199.19.77.84", "199.19.77.18")
If the IP based hunts return no data, use your tenant baseline to investigate unfamiliar application IDs, bursts of searches, repeated error responses followed by success, and access that is unusual for a particular application. Cross correlate with Azure Activity, Key Vault diagnostic logs, Storage logs and Entra audit records. A single data source does not establish the full attack chain.
4. What should security architects prioritize?
Control area
Recommended action
Access Control
Review application permissions and credential hygiene periodically, validate ownership, and monitor sign in behavior for anomalies.
Workload identity design
Prefer managed identities or supported federated identity credentials where practical; reduce long lived client secrets. (Better approach)
Application permissions
Review Microsoft Graph permissions, Azure RBAC, third party applications and multitenant consent.
Identity protection
Use eligible workload identity Conditional Access and risk protection where supported and correctly licensed.
Cloud workload monitoring
Monitor Azure Key Vault, Storage, Azure Resource Manager and relevant Microsoft 365 audit events.
Incident response
Revoke/rotate affected credentials, examine all accessible resources and assess any issued tokens until expiry.
Microsoft notes that Conditional Access policies for workload identities require appropriate Workload ID Premium licensing and cover eligible single tenant service principals registered in the tenant. They do not provide universal coverage for every application or managed identity.
5. Lessons from the lab and the real incident
The attack speed is the differentiator: machine driven discovery can shorten time from credential exposure to sensitive resource access.
The identity is the security boundary: application permissions determine the attacker’s reach when a valid secret is stolen.
Good telemetry begins with a baseline: confirm your hunting tables work before expecting matches for published indicators.
Zero hits are not a clean bill of health: investigate behavioral anomalies and multiple data sources, not only fixed IP indicators.
Document lab evidence accurately: distinguish observed tenant data from Microsoft’s reported compromise.
Conclusion
Microsoft’s November 2026 investigation shows that agentic AI can accelerate an already familiar security problem: exposed application credentials with powerful cloud permissions. The response is not simply stronger human sign-in controls. Organizations need continuous secret monitoring, a clear inventory of workload identities, least-privilege permissions, cloud audit visibility and rapid credential containment.
For security architects, workload identities should be treated as first-class Zero Trust subjects. The time to detect and revoke an exposed application secret may now matter just as much as the original prevention control.
A security architecture diagram can be completely accurate and still fail to answer the question that matters to a board member. Consider a proposed enterprise AI security initiative: The engineering team presents an impressive topology of Cloud proxies, API gateways, policy engines and data stores. But the board asks a simpler question: Which critical capabilities will this investment strengthen, and how will we know?
This is where a capability oriented architecture view changes the conversation. In this hands on demonstration, we will map business concerns to security enabling capabilities, Microsoft controls, implementation evidence and technical assets. Then we will build three different views over the same model using Power BI. The approach is inspired by ArchiMate 3.2, but the dashboard is not presented as a certified ArchiMate modeling tool.
“Show me what the AI security investment enables, how far delivery has progressed, and where I can verify the evidence.”
Demo disclosure: Every organization name, maturity score, test percentage, owner and status in this article is fictional. No production Microsoft tenant was used to produce these results. The aim is to build and explain a repeatable architecture reporting pattern, not to claim measured business improvements.
The following ArchiMate inspired architecture view shows how the board question links to security capabilities, delivery initiatives, Microsoft controls and implementation evidence. It is a conceptual traceability view rather than a formal ArchiMate model.
Figure 1. Executive to technical AI security traceability (synthetic architecture example).
The architecture mistake: starting with technology instead of the stakeholder concern
An API gateway, a Copilot DLP policy or a Conditional Access rule is not the answer to a board level capability question. These are important implementation details, but they belong in the next layer of the conversation. An executive needs to see the investment’s intended outcome, the capabilities it supports, delivery confidence and proof that controls are working.
We should not throw away the engineering diagram. We should add an executive capability view and preserve the connections to implementation. The technical view remains available for architecture review and audit, without forcing every executive to interpret network components.
Our design: one initiative, three complementary views
Board capability view: Which security enabling capabilities support safer AI adoption? What is their baseline, target, implementation coverage and evidence review status?
Capability traceability view: Which initiatives and Microsoft controls support the selected capability, who owns them, and what evidence supports the mapping?
Engineering detail view: Which policies, gateways, applications, interfaces and technical diagrams implement the control?
The traceability chain is easy to explain: Business objective → Capability → Initiative → Security control → Evidence → Technical asset. It is a navigational reporting chain, not a claim that these are all direct ArchiMate relationships.
Sample scenario: Enterprise AI Security Foundation
Imagine an organization planning to expand Microsoft 365 Copilot adoption and internal AI agents. The proposed security program includes sensitive data protection, governed identity access, risky OAuth app visibility, incident monitoring, audit assurance and secure custom agent interfaces.
Capability we want to support
Microsoft control example
What we should validate
Protect sensitive business information
Microsoft Purview DLP for Copilot
Percentage of approved sensitive prompt test cases that behave as expected
Govern employee AI access
Microsoft Entra Conditional Access
Access policy test results across intended user and device scenarios
Manage third party AI applications
Defender for Cloud Apps app governance
Percentage of identified risky OAuth apps reviewed
Detect and respond to AI related threats
Microsoft Defender XDR
Percentage of agreed simulated incident scenarios detected and triaged
Produce audit ready assurance
Microsoft Purview Audit
Percentage of required evidence retrieval tests passed
Secure custom AI agent interfaces
Azure API Management
Authentication and rate limit policy test results
These are examples of security enabling capabilities. To tie them to the wider business, record the associated outcome, such as trusted employee AI adoption, protected customer information or repeatable regulatory assurance. Do not equate the number of configured controls with business value.
A product specific caveat matters here: Microsoft Purview DLP has different actions for restricting external web searches, processing sensitive prompts and excluding labeled content. Sensitive prompt blocking is described by Microsoft as a feature subject to preview rollout, so validate availability and supported conditions in your tenant before designing tests. See Microsoft’s Copilot DLP documentation.
Step 1: prepare the data model
For an initial proof of concept, we can build the report entirely in Power BI Desktop using synthetic CSVs. No Microsoft 365 admin privileges or production telemetry are needed.
Dataset
Purpose
01_Capabilities.csv
Capability ID, name, outcome, owner, criticality and baseline/target maturity
02_Initiatives.csv
Initiative, sponsor and delivery stage
03_Controls.csv
Named controls, Microsoft product, owner and type
04_Traceability.csv
Associations between an initiative, capability and control, plus status and rationale
05_Evidence.csv
Test metric, observed and target values, review status and source
06_TechnicalAssets.csv
Implementing component, technology layer, owner and diagram reference
Figure 2. Capabilities and Initiatives sample datasets used in the demonstration.Figure 3. Controls and Traceability sample datasets showing the capability control mapping.Figure 4. Evidence and TechnicalAssets sample datasets used to validate control mappings.
Use stable text IDs such as CAP-01, INIT-01 and CTRL-01. The TraceID key is the bridge from a control mapping to its supporting evidence and engineering artifacts. Keep what we plan, what is implemented and what has been tested as separate attributes.
Download the Power BI starter kit:AI Security Capability Map – Power BI Starter Workbook (.xlsx). This workbook includes six synthetic datasets, relationship guidance, a README and DAX measures. Alternatively, use the original CSV files with Get Data → Text/CSV as described in the steps below.
Step 2: load the datasets into Power BI Desktop
Open Power BI Desktop and select Home → Get data → Text/CSV.
Load the six files from the starter kit. Use Transform data to confirm key columns are text and measurement columns are numeric.
In Model view, create the five one to many relationships shown below. Use single-direction filtering in the first version.
Disable or review automatically inferred relationships so that additional ambiguous filter paths are not introduced.
The relationships make it possible to filter a capability down to its mapped controls and then into relevant evidence and assets. Avoid casually enabling bidirectional filtering across all the tables, which can produce misleading totals and ambiguous navigation.
Figure 5. Power BI relationship model connecting AI security capabilities, initiatives, controls and evidence (synthetic demonstration). The Traceability Evidence relationship is active with single direction filtering.
Step 3: create simple DAX measures
The first report should distinguish implemented mappings from evidence reviewed mappings. Start with these measures, using the imported table names from the starter kit:
Format the two percentage measures as percentages. Implementation Coverage % measures the share of mapped controls flagged implemented in our sample, not the degree to which the business capability has improved. Similarly, reviewed evidence records show review completion, not independent assurance that an enterprise risk has been eliminated.
Step 4: build the board capability view
Create a report page called Board Capability Overview. Add a Matrix visual with CapabilityName as rows. Include BaselineMaturity, TargetMaturity, Implemented Mappings, Implementation Coverage % and Reviewed Evidence Records. Add a slicer for InitiativeName, with criticality and owner available as supplementary context.
Use conditional formatting for implementation coverage, but keep maturity and evidence in separate columns. A red capability might be a delivery gap, an evidence gap, or both. The dashboard should tell the board which problem exists instead of combining everything into a single unexplained red/amber/green status.
Create a second page named Capability Traceability. Add CapabilityID to the page’s drillthrough fields. Include the selected capability, mapped initiative, control name, implementation status, rationale, owner and evidence validation state.
From the board report, right click a capability and use Drill through → Capability Traceability. Add a Back button for a natural navigation path. Microsoft documents this pattern in its Power BI drillthrough guidance.
Our fictional example should let the reviewer start with Protect sensitive business information, inspect the Enterprise AI Security Foundation initiative, see the mapped Purview Copilot DLP control, and open its synthetic test evidence record. This is traceability from a high level capability to implementation, not just another static slide.
Capability drillthrough page showing the mapped control, test result, review state and control owner.
Step 6: keep the detailed technical architecture
Create a third page called Engineering Detail. Display the policy set, API gateway, application interface, audit source or other technical asset referenced by the selected traceability record. Include architecture diagram links as reviewed metadata. This is where the network topology belongs.
For custom agents, Azure API Management can enforce token validation and request throttling. Refer to validate-jwt, validate-azure-ad-token for Entra-issued tokens, and rate-limit-by-key. The dashboard should link to tested implementation details without displaying secrets, tokens or unnecessary user data.
Engineering detail page, with a technical component inventory
Now do the Drill through by going to the capability traceability tabe
And after that it must show the expected result
Step 7: move from CSV to Microsoft Lists and security evidence
Once the static report works, create six Microsoft Lists in SharePoint using the same fields. In Power BI Desktop use Get data → SharePoint Online List, enter the SharePoint site URL and select the lists. Microsoft documents the supported connector in Power Query’s SharePoint Online List reference.
For a later version, enrich the Evidence list using carefully permissioned exports or APIs. Example sources include app governance reviews, Entra policy test results, Purview audit data and Microsoft Graph security incidents. Microsoft Graph exposes an incident listing API, but API permissions, retention, schema and licensing must be verified. Do not assume every Purview DLP event can be fetched through the same API or that evidence is available in every tenant.
Store only approved aggregates and reference links in the board facing dataset. Don’t load raw prompts, secrets, individual user identities or unrestricted incident descriptions into a broadly shared Power BI semantic model. Apply SharePoint permissions and Power BI row level security or audience separation where required.
Where ArchiMate fits
The modeling logic can be expressed through ArchiMate’s distinct concerns: Motivation for stakeholder concerns and goals, Strategy for capabilities, Implementation and Migration for delivery work packages, and Application/Technology for the supporting services and components.
The Power BI data relationships are a reporting model inspired by those ideas, not literal ArchiMate connector definitions. If a formal ArchiMate artifact is needed, create and validate the view in a modeling tool such as the free Archi, using the Open Group ArchiMate specification and guidance to choose appropriate elements and relationships.
What this dashboard proves, and what it does not
It can show: mapped capabilities, accountable owners, planned versus implemented controls, test results, last review dates and links to technical implementations.
It cannot automatically prove: a real reduction in AI risk, regulatory compliance, higher capability maturity or a causal return on investment.
To demonstrate improvement: define the outcome KPI, establish a baseline, agree on the test method, capture time-bound results and record independent review.
Closing thoughts
The engineering architecture and the executive capability view are both necessary, but they serve different audiences. A board member should be able to start with what the investment strengthens. An architect should be able to drill into how it is implemented. And an auditor should be able to follow what evidence exists.
By connecting these views in Power BI and Microsoft Lists, we make enterprise AI security architecture easier to explain without losing the underlying technical detail. The next enhancement would be a small, controlled pipeline that refreshes selected evidence from Microsoft security services, with explicit review and data access boundaries.
Microsoft 365 Copilot helps employees find, summarize, and work with information they are already authorized to access. That productivity benefit also raises an important security question: how can an organization identify potentially risky AI interactions without assuming that every unusual prompt represents malicious intent?
This article explores how Microsoft Purview Insider Risk Management (IRM) can detect and investigate risky AI usage, and how it complements Data Loss Prevention (DLP), audit, and Data Security Posture Management (DSPM) for AI.
Why Microsoft 365 Copilot Changes the Risk Conversation
Copilot operates within the user’s effective access permissions; it is not a substitute for fixing excessive permissions or oversharing. But natural language discovery and summarization can make already-accessible information easier to aggregate. For example, a user might request summaries of financial forecasts, customer escalations, sensitive project documents, or security incidents.
Such queries are not inherently suspicious. Investigators need to consider the user’s role, the sensitivity of the information, the interaction’s context, related file activities, and whether the behavior differs from expected work.
Which Purview Capabilities Detect What?
Insider Risk Management — correlates risk indicators and supports alert triage, cases, and investigations. Its dedicated Risky AI usage policy template is the most relevant starting point for this article.
DSPM for AI — provides posture insights and recommendations, including a path to configure detection of risky AI interactions.
Data Loss Prevention — helps enforce restrictions involving sensitive information and supported Copilot interactions. DLP policy matches are different from insider-risk alerts.
Audit and Activity Explorer — help investigate supported AI interaction and data activities, depending on permissions, licensing, and configuration.
[Figure 2 — Screenshot Placeholder: Risky AI usage policy template]
Configure a Risky AI Usage Policy
1. Confirm that your Microsoft Purview licensing and role assignments support Insider Risk Management and the relevant AI indicators. Available signals vary by workload and license.
2. In Microsoft Purview, review Insider Risk Management > Settings > Policy indicators. Inspect the Generative AI apps indicators and the available Microsoft Copilot experiences and other app selections. Check any applicable pay as you go billing requirements before enabling non-Microsoft 365 AI data sources.
3. Review the Risky AI usage policy template in Insider Risk Management > Policies. Configure the scope, supported indicators, thresholds, and privacy controls. Microsoft’s documentation lists a browser extension and at least one browsing indicator as prerequisites for this template; validate the current requirements for the signals you intend to monitor.
[Figure 3 — Screenshot Placeholder: Generative AI policy indicators]
4. Start with an authorized pilot group and test using non-production sample data. Document expected activity, what generated an indicator, and whether an alert was actually created. Do not assume that every prompt or file summary automatically generates an alert.
5. Where applicable, use DSPM for AI’s recommendation to detect risky interactions in AI apps, then inspect the related reports and activity explorer once telemetry becomes available.
Four Investigation Scenarios
Scenario 1: Departing employee collecting data
An employee nearing departure reviews confidential project files and downloads unusual volumes of material. IRM can help correlate supported file-exfiltration indicators with configured departure signals. A Copilot interaction alone does not establish data theft: review the file activity, timing, policy triggers, and legitimate job requirements.
Scenario 2: Sensitive or risky Copilot interactions
A user submits prompts containing sensitive information or asks for protected material. The Risky AI usage template and supported generative AI indicators may detect qualifying risky prompts or sensitive responses. Confirm the workload, policy coverage, classifications, and required signals before claiming detection.
Scenario 3: Large scale information aggregation
An employee gathers and summarizes multiple sensitive documents. Investigate related access, sharing, downloads, and any supported AI indicators. The volume of summaries by itself should not be treated as proof of an insider threat.
Scenario 4: Privileged-user activity
Users with broad effective access may be able to retrieve more information through Copilot. Review entitlement hygiene, SharePoint permissions, sensitivity labels, and correlated behavior rather than assuming privileged users are automatically monitored as a special Copilot category.
Microsoft describes Insider Risk Management as privacy by design, including pseudonymization by default and role-based access controls. In production, involve legal, privacy, works council, and employee-relations stakeholders as applicable. A prompt is not a conviction; a risk score and alert are leads for proportionate review.
Detection depends on supported services, configured indicators, policy triggers, licensing, and telemetry. Some AI scenarios concern prompts and responses; traditional exfiltration scenarios concern activities such as downloads or external sharing. Be explicit about which evidence comes from which source.
Operational Best Practices
Pilot first and measure false positives before expanding policy scope.
Tune indicators and alert thresholds against legitimate workflows.
Review overshared permissions and sensitivity label coverage separately from monitoring.
Pair IRM with DLP, DSPM for AI, Audit, and Adaptive Protection where supported.
Train analysts to document evidence, context, and the reason for escalation.
Revalidate Microsoft’s current licensing and feature prerequisites before rollout.
Conclusion
Microsoft 365 Copilot can accelerate knowledge work, but it also makes the quality of access governance and insider risk detection more important. Microsoft Purview’s Risky AI usage template offers a targeted way to assess supported AI interactions, while conventional data-leak and departing user policies help examine surrounding file activities. A defensible investigation relies on multiple signals, careful tuning, and human context not on treating every sensitive-sounding prompt as malicious.
A practical guide to protecting sensitive prompts with policy controls
As more organizations introduce Microsoft 365 Copilot Chat, employees are increasingly using conversational AI to solve everyday business problems. An innocent troubleshooting request or a request to summarize a financial transaction can become a security concern when the user includes confidential information in the prompt.
Microsoft Purview Data Loss Prevention (DLP) helps security teams define what types of information should be restricted in supported Copilot prompts. This article explains the business need, the available safeguards, the prerequisites and a practical configuration completed in a demonstration tenant. It also describes how to validate the policy without confusing successful configuration with proven enforcement.
Why organizations need controls for AI prompts
The objective is not to stop employees from using AI. It is to apply the same information protection discipline that organizations already expect across email, files and collaboration tools to the way people interact with AI assistants.
Financial information: A user includes payment card data in a prompt while preparing a customer summary.
Cloud credentials: A developer pastes an application secret or a storage access key into a troubleshooting question.
Governance and compliance: Security teams need a documented approach to protecting regulated or confidential information.
User awareness: Clear guidance helps employees understand what information belongs in an approved AI workflow.
A meaningful control must do more than exist in a policy list. It should have a defined scope, reliable detection conditions, an appropriate restriction action and evidence that its intended behavior has been tested.
I built a small AI Governance Control Center to explore application inventory, granted permissions, and control assessments. Here is what the working Entra ID integration can show today and what still needs evidence before calling it an AI governance finding.
AI governance becomes difficult when an organization has to answer several questions at once: Which applications and agents exist? What permissions have they been granted? What data can they reach? Which safeguards are actually in place?
I wanted a simple workspace to explore those questions. The result is an AI Governance Control Center prototype with two clearly separated parts: an interactive sample assessment and a live, read only inventory from my test Microsoft Entra ID tenant.
The separation matters. An Entra application inventory is useful evidence about identity and permissions. It does not, on its own, prove that an application is an AI agent, that it accessed confidential data, or that a content safety control is enabled.
What the prototype does today
The sample workspace has an overview, an AI application list, a control assessment, and prioritized recommendations. You can switch illustrative controls on or off and watch the sample coverage score and recommendations change. These records and scores are demonstration data, not findings from my tenant.
The separate Test tenant view signs me into my own Entra tenant and calls Microsoft Graph. It lists enterprise applications, supports searching by application name or client ID, and lets me inspect the application permissions granted to a selected service principal. In my test, the sign-in and inventory retrieval worked against the tenant.
“Illustrative dashboard and control scores; no live risk assessment is implied.”
In my previous article, “From Prompt to Privilege Practical Guardrails for Securing Agentic AI and MCP,” we looked at Agentic AI security from a broader architectural perspective. The key takeaway was simple: securing AI systems cannot rely on a single control. As AI applications evolve from answering questions to retrieving enterprise data, calling tools, interacting with APIs and eventually performing actions on behalf of users, the security model also needs to evolve. Identity, authorization, data protection, prompt protection, content filtering, monitoring and agent behaviour controls all become part of the same security story.
But architecture diagrams are only the beginning.
The next question is:
What do these guardrails actually look like when we implement them? That is what I want to explore in this series. Rather than trying to cover every AI security control in one large article, I will take them one at a time, deploy them, test them and document what happens.
For the first control, I am starting with Azure AI Content Safety. Microsoft describes Azure AI Content Safety as a service for detecting harmful user-generated and AI-generated content. Its capabilities include text and image analysis, Prompt Shields, groundedness detection, protected material detection, custom categories and Task Adherence.
Why start with Azure AI Content Safety? When we think about securing a traditional application, we normally place controls around identities, networks, applications and data.
Generative AI introduces an additional trust boundary:
Natural language input itself.
A user prompt might simply ask a valid business question. But the same interface can also be used to attempt to manipulate the model, override system instructions, inject hidden instructions or push the model towards unsafe responses. So before we move deeper into areas such as agent permissions, tool invocation and MCP controls, it makes sense to first look at what is entering the AI system. Microsoft’s Azure AI security guidance similarly recommends a layered approach, including analyzing input for malicious content and prompt injection attempts alongside output filtering and other application controls.
For this first hands on exercise, I therefore kept the scope deliberately small:
Text moderation : Can Azure identify potentially harmful text? Prompt Shields : Can Azure recognize a prompt attempting to manipulate the model?
AI agents don’t just answer anymore. They act and that changes the security model.
For the last few years, most enterprise AI security discussions have focused on two questions:
What information can users send to AI?
and
What information can AI return?
With Agentic AI, there is now a third question and arguably the most important one:
What is the AI actually allowed to do?
An AI assistant summarizing a document presents one type of risk.
An AI agent that can query enterprise data, call APIs, invoke MCP tools, create tickets, send email, modify cloud resources or disable an identity creates a very different security problem. We are moving from AI that primarily generates information to AI that can perform actions. That means the security boundary can no longer stop at the prompt.
A Prompt Defines the Goal .Not the Permission Boundary !
Imagine asking an AI agent:
“Move me higher on this waitlist.”The intention sounds harmless. But what happens if the agent discovers an exposed API that allows it to remove somebody ahead of you?
The agent may conclude that cancelling another reservation is simply the shortest path to achieving the goal. The user authorized the objective. They did not authorize every possible method. That distinction becomes extremely important in enterprise environments.
“Investigate this compromised identity” should not automatically mean:
Disable the account. Remove authentication methods. Delete applications. Revoke everything.
Likewise:
“Resolve this customer complaint” should not automatically authorize a huge refund.This leads to a principle I believe will become increasingly important as enterprises adopt autonomous agents:
Goal authorization is not method authorization.
The prompt tells the agent what we want.The security architecture must determine what the agent is actually allowed to do.
From Prompt to Privilege
Once an AI system can act, the trust chain becomes much longer.
It may look something like:
User → Prompt → Agent → Identity → MCP / AI Gateway → API → Data → Action → Monitoring
And every transition introduces a security decision.
Agentic AI Guardrails Architecture which i have tried to map looks like below in every chain that we can think of