Microsoft AB-620: Security and Governance

Security and governance in AB-620 start before an agent is published. Microsoft’s current outline expects candidates to plan an identity strategy, evaluate security and governance considerations, plan responsible AI, integrate enterprise systems, and manage agents through governed environments. Because Copilot Studio agents can retrieve data and perform actions, their risk profile is closer to an application than to a static chatbot.

The Microsoft agentic AI certification path therefore treats security as part of design. A production agent needs clear identities, least-privilege permissions, protected knowledge, constrained tools, auditability, lifecycle controls, and a way to stop or escalate unsafe behavior.

Separate user identity from agent capability

A user may be allowed to ask an agent a question without being allowed to perform every action the agent knows about. Authorization should be checked at the point of data retrieval and action execution, not inferred from the fact that the user can open the chat.

Designers should know which operations use the user’s delegated permissions and which rely on a service identity. Service identities can simplify automation, but they also increase the importance of least privilege because every user routed through the agent may indirectly reach that identity.

Least privilege applies to tools and data sources

An agent should not receive broad connector permissions merely because a connector makes them available. Expose the narrow operations and datasets required for the business process. The same principle applies to MCP servers, custom APIs, search indexes, and enterprise knowledge sources.

The logic is consistent with role-based access control: permissions should reflect responsibilities and scope, not convenience during development. Overprivileged agents create a large blast radius if orchestration or prompt handling goes wrong.

Conditional access and authentication remain foundational

Agent security sits on top of the organization’s identity system. Strong authentication, device or location conditions, sign-in risk policies, and session controls can all influence whether a user should be allowed to access connected enterprise resources.

The Microsoft Entra Conditional Access model is therefore relevant background. Copilot Studio does not replace tenant identity controls; it becomes another application surface that depends on them.

Knowledge security must survive indexing

When enterprise content is indexed for retrieval, the indexing architecture must preserve the intended permissions. A search index that combines content but ignores access boundaries can make sensitive information retrievable through the agent even if the source systems were secure.

Design permission trimming, metadata, source ownership, and freshness together. Security failures can arise from stale permissions just as easily as from stale documents.

Prompt injection should be treated as untrusted input

Agents may retrieve documents, web content, messages, or records that contain instructions written by people who are not trusted to control the agent. The system should distinguish data from authority. Retrieved text should inform the task but should not be able to override system rules, permissions, or tool restrictions.

This matters more as agents gain tools. A malicious instruction that only changes wording is annoying; one that can influence a privileged action is an operational risk. Tool-side validation and least privilege limit what prompt manipulation can achieve.

Responsible AI planning goes beyond moderation

Content moderation is one control, but responsible AI also includes transparency, human oversight, evaluation, fairness considerations, data handling, and clear accountability for high-impact decisions. The right control depends on the use case and audience.

An internal coding helper and an agent that makes recommendations about benefits or finance do not need identical governance. The architecture should identify foreseeable harm and choose proportionate controls rather than applying generic policy language.

Human approval should protect consequential decisions

Actions that grant access, move money, publish externally, delete information, or change regulated records may justify explicit approval. The agent can still automate information gathering and preparation, while the human authorizes the irreversible or high-impact step.

Approval also creates an audit point. The organization can record what was proposed, who approved it, and what parameters were executed.

Environment governance limits uncontrolled deployment

Copilot Studio is part of the Power Platform ecosystem, so environment strategy, solutions, connection references, and pipelines affect security. Development environments should not automatically have production data or credentials. Production changes should move through controlled release processes rather than ad hoc edits.

The Power Platform architecture is useful context because agent governance is closely tied to the same environment and application-lifecycle controls used by other Power Platform solutions.

Monitoring should detect abuse and misconfiguration

Operational telemetry can reveal unusual tool use, repeated failures, unexpected data access, rising denial rates, or behavior that differs from test results. Security monitoring should therefore include the agent’s activity rather than focusing only on the underlying infrastructure.

Logs need appropriate privacy controls. Capturing every prompt and payload without considering sensitive information can create another data exposure. Observability should provide enough evidence to investigate without becoming an uncontrolled data store.

Governance needs ownership and exception handling

Policies fail when nobody owns them. Define who approves new knowledge sources, who authorizes connectors, who reviews high-risk tools, who can publish agents, who responds to incidents, and how exceptions expire. These responsibilities are part of the operating model.

A mature environment also distinguishes between development experimentation and production use. Builders can move quickly without giving experimental agents unrestricted access to sensitive systems.

Security is strongest when built into the architecture

No single setting makes an agent secure. Identity limits who enters. Permissions limit what can be reached. Knowledge controls limit what can be retrieved. Tool schemas and validation limit what can be changed. Approval protects high-impact actions. Monitoring provides evidence. Lifecycle controls reduce unsafe change.

That layered model is more useful for AB-620 than memorizing isolated product features, and it is one reason security appears across the AI and generative AI certification landscape: once an agent can act, governance becomes part of core system design.

Threat modeling should include agent-specific abuse cases

Traditional application threats still matter, but agents add new abuse paths: indirect prompt injection, malicious tool descriptions, over-broad retrieval, unsafe parameter inference, and social engineering that attempts to persuade the agent to exceed its role. Threat modeling should identify which of these could affect the specific solution.

The response is rarely one universal filter. Strong designs combine permission boundaries, content handling, tool validation, monitoring, and human approval so a single manipulated prompt cannot directly create a high-impact outcome.

Data minimization reduces the blast radius

Agents often operate across rich enterprise systems, but most tasks require only a fraction of the available data. Limit retrieval and tool outputs to the fields necessary for the use case. This reduces privacy exposure, makes prompts cleaner, and lowers the impact of accidental disclosure.

Data minimization should be implemented at the integration boundary when possible. Relying on the model to ignore fields it should never have received is weaker than preventing those fields from entering the context at all.

Secrets should never depend on conversational discipline

API keys, passwords, certificates, and other secrets belong in managed secret or connection mechanisms, not in agent instructions, prompts, or free-form knowledge. A user should not be able to reveal a credential by persuading the model to repeat its configuration.

Secret rotation should also be possible without editing the conversational logic. This separation makes both security operations and deployment safer.

Security testing should include adversarial conversations

Normal functional tests show whether the agent works for cooperative users. Security tests should also include attempts to override instructions, request hidden data, manipulate tool parameters, trigger actions under another identity, and introduce malicious text through retrieved content. The objective is to test the boundary, not just the happy path.

Record the expected safe behavior for each case. A refusal, clarification, approval requirement, or access-denied result can all be correct depending on the scenario.

Incident response needs a kill switch

When an agent begins taking unsafe actions, teams need a fast way to reduce risk. That may mean disabling a tool, revoking a connection, unpublishing the agent, blocking a channel, or reverting to a known-good version. The exact mechanism varies, but the response plan should not depend on editing prompts during an incident.

A practical kill switch allows containment first and investigation second. High-impact agents should be designed so the organization can stop side effects without taking unrelated services offline.

Governance should also cover the lifecycle of connected data and actions. When a project ends, a connector is replaced, or an external system changes ownership, old permissions and integrations should be removed rather than left available indefinitely. Stale tools can become security risks because they may still carry valid credentials or privileged access even though nobody is actively testing them. A periodic review of published agents, connections, knowledge sources, service identities, and exception approvals helps keep the production surface aligned with current business needs. This is particularly important for agent platforms, where adding a capability is easy and the cumulative risk can grow quietly over time.

Governance reviews should also verify that published behavior still matches documented purpose. An agent may begin with a narrow remit and gradually accumulate tools, broader knowledge, or new channels until its effective authority no longer matches the original risk assessment. Periodic design review can compare the current capability set with the approved use case, remove obsolete integrations, and require fresh approval for material expansion. This keeps governance tied to the real runtime rather than to an outdated launch document.

For exam scenarios, this helps separate governance from paperwork. Governance is the operating mechanism that keeps identity, data, actions, ownership, and change aligned over time. A policy that is never checked against the deployed agent provides little protection.