Lesson 2 of 4 Security and Governance for Agents

Designing Governance for Agents

This lesson explains how to inventory, control, review and retire agents.

Learning outcomes

After completing this lesson, you will be able to:

  • Describe the goals of agent governance.
  • Identify mechanisms for each governance question.
  • Describe an environment strategy and agent lifecycle.

Goals of agent governance

Agent governance aims to let the organization benefit from many agents while keeping risk and cost under control. It answers a set of standing questions: which agents exist, on which platforms, who owns each one, what data and tools each can reach, who may use it, whether it has been reviewed, how much it costs, and whether it should continue. Without governance, agents proliferate in personal and default environments, duplicate each other, outlive their owners and accumulate access that nobody reviews.

Governance should be proportionate. A personal agent over a user's own files needs little oversight; a customer-facing agent that issues refunds needs a formal review, monitoring and an accountable owner. A risk-tiered approach applies controls according to the agent's audience, data, actions and autonomy.

Governance mechanisms

Microsoft provides mechanisms for each governance question. The following table maps them.

QuestionMechanism
Which agents exist?Microsoft Agent 365 registry and agent map; Power Platform admin center inventory; Foundry Control Plane assets
Where may agents be built?Environment strategy, environment routing for makers, Copilot Studio maker permissions
What may agents connect to?Data policies for connectors, channels, knowledge and triggers
Who may use an agent?Sharing limits in managed environments; Microsoft 365 admin center agent availability and approval
Has it been reviewed?Risk-tiered review process; solution checker; responsible AI assessment
How much does it cost?Copilot Credit allocation per environment; Foundry cost views
Should it continue?Usage and value metrics, owner attestation, retirement process

Environment strategy and lifecycle

A sound environment strategy is the foundation of Power Platform agent governance. The default environment, where every user can build, should be restricted to personal productivity; teams build shared agents in development environments, and production agents run in managed environments that receive solutions only through pipelines. Environment routing can direct new makers to personal developer environments automatically, so their experiments stay contained.

Each agent then has a lifecycle with governance checkpoints.

  • Registration: an owner, purpose, audience, data and risk tier are recorded.
  • Review: the checks for the tier are completed before publishing beyond the owner's team.
  • Operation: usage, cost and quality are monitored, and access is reviewed periodically.
  • Attestation: the owner confirms periodically that the agent is still needed and correctly configured.
  • Retirement: agents without owners, usage or value are unpublished and removed, with connections revoked.
Worked example

Bringing agent sprawl under control

A company discovers 600 Copilot Studio agents, most in the default environment, many created by employees who have since left. Some connect to production databases with personal credentials. Leadership wants to keep the useful agents and prevent a recurrence without stopping innovation. What should you recommend?

First, inventory the agents with the Power Platform admin center and Agent 365, identify orphaned agents and those with production connections, and revoke or replace personal connections to production data immediately. Next, establish an environment strategy: restrict the default environment, route makers to developer environments, and use managed environments for shared and production agents, with data policies that block risky connectors. Introduce registration with owners and risk tiers, migrate the useful agents into solutions with new owners, and retire the rest. Periodic owner attestation and usage reviews prevent the sprawl from returning, while developer environments keep innovation open.

Check yourself

Which Microsoft product provides a registry of agents from Microsoft, partners and the organization, with owner, usage and risk?

Show answer

Microsoft Agent 365.

Exam Tips

Remember for the exam

  • Governance answers which agents exist, who owns them, what they reach, who uses them and whether they continue.
  • Apply risk-tiered controls according to audience, data, actions and autonomy.
  • Restrict the default environment, route makers to developer environments and use managed environments for production.
  • Register, review, monitor, attest and retire agents through their lifecycle.