One toggle. Full compliance. No custom code.
Building AI apps is easy. Shipping them to production is not.
Microsoft Foundry lets developers bring powerful AI apps and agents to production in days. But managing safety, security, and compliance for each one quickly becomes the real bottleneck. Every enterprise AI project hits the same wall: security reviews, data classification, audit trails, DLP policies, retention requirements. Teams spend months building custom logging pipelines and governance systems that never quite keep up with the app itself.
There is a faster way.
Enable Purview & Ship Faster!
Microsoft Foundry now includes native integration with Microsoft Purview. When you enable it, every AI interaction in your subscription flows into the same enterprise data governance infrastructure that already protects your Microsoft 365 and Azure data estate.
No SDK changes. No custom middleware. No separate audit system to maintain.
Here is what you get:
- Visibility within 24 hours. Data Security Posture Management (DSPM) shows you total interactions, sensitive data detected in prompts and responses, user activity across AI apps, and insider risk scoring. This dashboard exists the moment you flip the toggle.
- Automatic data classification. The same classification engine that scans your Microsoft 365 tenant now scans AI interactions. Credit card numbers, health information, SSNs, and your custom sensitive information types are all detected automatically.
- Audit logs you do not have to build. Every AI interaction is logged in the Purview unified audit log. Timestamps, user identity, the AI app involved, files accessed, sensitivity labels applied. When legal needs six months of AI interactions for an investigation, the data is already there.
- DLP policy enforcement. Configure policies that block prompts containing sensitive information before they reach the model. This uses the same DLP framework you already know.
- eDiscovery, retention, and communication compliance. Search AI interactions alongside email and Teams messages. Set retention policies by selecting "Enterprise AI apps" as the location. Detect harmful or unauthorized content in prompts.
How to Enable
Prerequisite: You need the “Azure AI Account Owner” role assigned by your Subscription Owner.
- Open the Microsoft Foundry portal (make sure you are in the new portal)
- Select Operate from the top navigation
- Select Compliance in the left pane
- Select the Security posture tab
- Select the Azure Subscription
- Enable the toggle next to Microsoft Purview
Repeat the above steps for other subscriptions
By enabling this toggle, data exchanged within Foundry apps and agents' starts flowing to Purview immediately. Purview reports populate within 24 hours.
What shows up in Purview?
Purview Data Security Admins:
Go to the Microsoft Purview portal, open DSPM, and follow the recommendation to setup “Secure interactions from enterprise AI apps” .
Navigate to DSPM > Discover > Apps and Agents to review and monitor the Foundry apps built in your organization
Navigate to DSPM > Activity Explorer to review the activity on a given agent/application
What About Cost?
Enabling the integration is free. Audit Standard is included for Foundry apps. You will only be charged for data security policies you setup for governing Foundry data.
A Real-World Scenario: The Internal HR Assistant
Consider a healthcare company building an internal AI agent for HR questions.
The Old Way: The developer team spends six weeks building a custom logging solution to strip PII/PHI from prompts to meet HIPAA requirements. They have to manually demonstrate these logs to compliance before launch.
The Foundry Way: The team enables the Purview toggle.
- Detection: Purview automatically flags if an employee pastes a patient ID into the chat.
- Retention: The team selects "Enterprise AI Apps" in their retention policy, ensuring all chats are kept for the required legal period.
- Outcome: The app ships on schedule because Compliance trusts the controls are inherited, not bolted on.
Takeaway
Microsoft Purview DSPM is a gamechanger for organizations looking to adopt AI responsibly. By integrating with Microsoft Foundry, it provides a comprehensive framework to discover, protect, and govern AI interactions ensuring compliance, reducing risk, and enabling secure innovation.
We built this integration because teams kept spending months on compliance controls that already exist in Microsoft's stack.
The toggle is there. The capabilities are real. Your security team already trusts Purview. Your compliance team already knows the tools.
Enable it. Ship your agent. Let the infrastructure do what infrastructure does best: work in the background while you focus on what your application does.
Additional Resources
Documentation: Use Microsoft Purview to manage data security & compliance for Microsoft Foundry | Microsoft Learn