
In Part 1, we gave our agents something concrete to govern. We built Wealth Advisor Copilot in Copilot Studio and gave the code-based Portfolio Risk Monitor its own Microsoft Entra Agent ID. We then put preventive controls around that identity: Conditional Access, reusable Agent 365 policy templates, and an access package with approval and expiry. The Portfolio Risk Monitor also demonstrated an important boundary: an agent can authenticate successfully without automatically being authorized to do everything.
But preventive controls are only the beginning. Once an agent is active, the governance problem changes. The questions are no longer just “Who is this agent?” and “What should it be allowed to access?”
They become:
- What happens when the owner leaves?
- How do we prevent sensitive information from leaking through agent interactions?
- How do we monitor inappropriate or risky agent behavior?
- How do we continuously assess the agent against regulatory requirements?
- And when someone asks six months later what the agent did, can we produce the evidence?
That is where Part 2 begins.
What you will build
• Lifecycle automation for ownerless agents and departing sponsors.
• Data protection and conduct controls with DLP and Communication Compliance.
• Posture and evidence through DSPM, Purview Audit and Compliance Manager.
Table of Contents
• Before you start: licenses, roles and tools
• Agent lifecycle management and sponsor automation
• Data security with DLP
• Conduct review with Communication Compliance
• Compliance posture and evidence
• The trust economy and what you have after Part 2
Before you start: licenses, roles and tools
Most of the pain in agent governance is a missing license or role, so check these first.

GOVERN: Agent lifecycle management and automation
Agents get created, shared and forgotten. Lifecycle management is how you stay in charge of the whole population. In the Microsoft 365 admin center, AI admins can install, publish, block, unblock, delete and assign a new owner to an agent directly from the Agent 365 registry.
Automate lifecycle policies and workflows
Manual lifecycle management does not scale to thousands of agents. Two kinds of automation help.
Agent management rules in Agent 365
Agent 365 supports rules that act when conditions are met, such as expiring inactive agents, flagging ownerless agents or blocking agents flagged as risky. At launch, the standard rules cover auto-deployment of Microsoft-built agents and auto-reassignment of ownerless agents, starting with agents built in Agent Builder.
- Go to the Microsoft 365 admin center → Agents → Settings. Select Agent Management Rules.

2. Select Reassign ownerless agents created with Agent Builder to manager.

3. Result: when an Agent Builder agent has no owner, the predefined rule identifies it for reassignment to the previous owner’s manager.

Entra lifecycle policies for agent identities
The default Lifecycle management for agents policy in your template governs Entra agent identities at scale. These policies address identities that stay active after their work ends or after their accountable people leave. Periodic reconfirmation, minimum sponsor requirements and inactivity monitoring decide whether an identity stays active. You need the Lifecycle Workflows Administrator or AI Administrator role for this.
Lifecycle workflows: add the sponsor tasks
Every agent identity and blueprint must have at least one sponsor. A sponsor is a static record unless something acts when the sponsor moves or leaves. Three lifecycle workflow tasks cover it:
- Send email to manager about sponsorship changes
- Send email to cosponsors about sponsor changes
- Transfer agent identity sponsorships to manager
- Sign in to https://entra.microsoft.com as at least a Lifecycle Workflows Administrator.
- Go to ID Governance → Lifecycle workflows → Workflows. Select + Create workflow.

3. On the Offboard agent sponsors tile, select Select.

4. On Basics, keep the default details and select Next: Configure scope >.

5. On Configure scope, choose who the workflow applies to and select Next: Review tasks >.

6. On Tasks, check that the three sponsor tasks above are listed and add any that are missing, then select Next: Review + create >.

7. Review the workflow and select Create. Afterwards, use Run What If to test it. When a sponsor leaves, Microsoft Entra can reassign sponsorship to the sponsor’s manager, so a human always answers for the agent.

GOVERN: Data security and conduct
Data security with a DLP policy
A DLP policy is a guardrail on what agents process.
- Go to https://purview.microsoft.com and sign in with an admin account. Go to Solutions → Data Loss Prevention.

2. Select Policies → + Create policy.

3. Select Enterprise applications & devices.

4. Select Custom → Custom policy → Next.

5. Enter Name: Block-Financial-PII-Copilot and a description that says it prevents the agent from processing financial PII such as credit card, bank account and routing numbers. Select Next.

6. On Admin units, leave the full directory → Next.

7. On Locations, turn everything Off except Microsoft 365 Copilot → Next.

8. Select Create or customize advanced DLP rules → Next.

9. Select + Create rule and name it Financial-PII-Block.

10. Under Conditions → + Add condition → Content contains → Sensitive info types, add Credit Card Number, U.S. Bank Account Number and ABA Routing Number.

11. Under Actions → Restrict or audit Copilot activity, check Processing prompts. Web search is blocked automatically as a consequence, which is why Microsoft greys that box out. Select Save.

12. Select Next.

13. On Policy mode, select Run in simulation mode → Next.

14. Review the settings and select Submit. Run in simulation for 24 to 48 hours and review Activity Explorer before you enforce.

15. Result: the financial PII DLP policy is created and ready to be evaluated in simulation before enforcement.

An agent instance does not know when DLP blocks it. The agent owner must watch the policy’s alerts and understand what a block does to the workflow downstream.
Communication Compliance
DLP looks for sensitive data. Communication Compliance looks at conduct: inappropriate or risky content in agent-to-human and human-to-agent conversations.
- Go to the Microsoft Purview portal → Communication Compliance → Policies → Create policy.

2. Choose the Detect unethical interactions for AI agents template.

3. Enter a policy name, select the AI agents to supervise and assign reviewers. Select Create policy.

4. Select Close.

5. Result: AI-Agent-Ethical-Interactions appears in Communication Compliance. Immediately after creation, the portal may show the policy as Activating while deployment completes; confirm that policy health is healthy and the expected scope is shown.

Note: Detecting interactions from Enterprise AI apps and Other AI apps may require pay-as-you-go billing, depending on the AI application and licensing. Communication Compliance only evaluates interactions included in the policy scope, so make sure the policy covers the AI apps and agent interactions you intend to monitor.
Compliance posture: reviewing agents in DSPM
Policies are intent. Posture is what is actually true. Microsoft Purview Data Security Posture Management (DSPM) shows where agents touch sensitive data and what to fix first. Use the current DSPM experience. The classic version, DSPM for AI (classic), does not support Agent 365.
- Go to the Microsoft Purview portal → Solutions → DSPM.

2. Select AI observability.
3. Review the agents active in the last 30 days. They are ordered by the highest risk level from Insider Risk Management.

4. Search for a recently created agent: select Filters, filter by Name and select Apply.

5. Select the agent result and review its activities and the policy coverage matrix.

6. Result: the individual agent view brings identity, platform, tools, risk level, sensitive-activity signals and policy coverage together for posture review.

Evidence: Purview Audit and Compliance Manager
Purview Audit: 180 days of retention
If an agent does something wrong, the audit log is how you prove what happened. Purview Audit (Standard) is on by default and keeps records for 180 days. That is longer than the 30 days that Agent 365 keeps its own observability data, which is why both matter in a DPIA.
Keep records longer than 180 days
- Go to the Microsoft Purview portal → Solutions → Audit.

2. Select Policies → Create audit retention policy.

3. Give it a name and description.
4. Choose the record types, activities or users it covers, for example AIExecuteTool, AIInvokeAgent and AIInferenceCall.
5. Choose a duration. Options run from 7 days up to 1 year, or 10 years with the add-on license.
6. Set a priority and select Save.

7. Result: the one-year audit retention policy is created, extending the evidence window for matching user and administrative audit records associated with agent governance.

Note: Custom audit retention policies should not be interpreted as extending every agent-generated record. Microsoft Purview Audit retains audit records generated by non-user entities, including service principals, application activity, and system events, for a fixed one-year period; custom audit retention policies don’t apply to those records.
Microsoft Purview Compliance Manager: regulatory templates and compliance score
Auditors ask for evidence against a framework. Compliance Manager gives you a template for the framework and a score for how you are doing. It provides regulatory templates to assess, implement and strengthen compliance for generative AI apps.
- Go to the Microsoft Purview portal → Compliance Manager.

2. Select Add assessment.

3. Select Select regulation.

4. Choose an AI-related regulatory template like NIST AI Risk Management Framework. Available names depend on your tenant, so pick the one that matches the regulation or standard you answer to. Select Save, then Next.

5. Click on Next.

6. Name the assessment and assign it to a group. Select Next.

7. Select Next again to accept defaults.

8. Select Create assessment, then select Done.

9. Hit Done.

10. Return to the Overview to read your compliance score and record it as your starting number. Once created, the assessment provides an immediate view of progress against the selected framework. In this example, the Portfolio Risk Monitor — NIST AI RMF Assessment starts at 56%, with Microsoft-managed actions already contributing 736 of 736 available Microsoft-managed points, while the organization’s improvement actions remain to be addressed. Compliance Manager then surfaces prioritized improvement actions that can be assigned, evidenced, tested, and tracked over time.

The Agent 365 default policy Purview AI compliance assessment keeps this monitoring running. DSPM also has a recommendation, Get guided assistance to AI regulations, that uses the same Compliance Manager templates.
The trust economy and what you have after Part 2
Access is a currency that an agent earns. Microsoft recommends including agents in access reviews, with sponsors attesting every 6 to 12 months that each agent is still needed and properly configured. So, here is where you stand after Parts 1 and 2.

Governance should survive and be adaptable to changes. Sponsors leave, agents become inactive, sensitive data appears in prompts, conduct risks surface, and evidence must outlive a dashboard. The controls in this part connect those events to lifecycle action, compliance review and measurable improvement. Together, Parts 1 and 2 move from an identified agent to governed access, accountable lifecycle management and evidence that can be reviewed over time.
GitHub repo: https://github.com/RichaPandit/agent365-demo
Tested on: Microsoft 365 E3, Agent 365, Microsoft Defender Suite, Microsoft Defender for Cloud Apps, and Microsoft Purview Suite | November 2026


