Skip to content
THE EXAMTOPICS EDITORIAL Explore practice exams

MICROSOFT

Microsoft SC-500: Protecting Copilot Data and Agent Identities

SC-500 AI security scenarios covering SharePoint oversharing, Microsoft Purview DSPM, Copilot Studio protection, Entra Agent ID, Conditional Access and blast-radius reviews.

An AI agent can amplify a security weakness that already exists in an organization. A Copilot assistant may surface a confidential SharePoint document to a user whose effective permissions are too broad; an agent identity may retrieve records outside its intended business scope. The current Microsoft SC-500 skills guide names identifying data overexposure in SharePoint, risks in Microsoft Purview DSPM, real-time agent protection and Entra Agent ID among the secure-compute objectives. The Secure compute domain represents 20–25% of the exam, including other platform-security topics.

AI-related security engineering involves more than broad AI workload security principles: it includes questions about document exposure, permissions on agent identities, monitoring and policy enforcement. Microsoft Purview, Copilot Studio, Entra and Defender product families offer different controls, subject to current licensing and capabilities. The official domain and topic names are documented, but any exercise involving real tenant permissions still requires appropriate licensing, consent and authorized access before its behavior can be called tested.

This article uses a fictional support department with a SharePoint knowledge base and an AI agent that answers staff questions. No real employee or customer data is needed to understand the control chain. The practical question throughout is simple: how do you allow the right assistant to help the right person without widening access to information that was already sensitive?

Start with the document, not the model

Imagine that a company stores public troubleshooting procedures and internal incident reports in the same SharePoint site. An engineer builds a Copilot-backed assistant to answer simple help-desk questions. The assistant responds accurately, but a junior employee receives a summary containing names and notes from a confidential incident. It is tempting to call this a model hallucination or a prompt problem. In reality, the assistant may have faithfully used a file that the employee could access because someone assigned an excessively broad sharing permission.

Data Security Posture Management helps identify such exposure paths. Microsoft describes Purview Data Security Posture Management as a way to identify and prioritize risky data exposure, including AI-related access paths. Specific assessments and remediation actions depend on enabled capabilities and the organization’s Microsoft 365 and Purview configuration. An assessment may find content shared broadly, files with sensitive labels or locations where access policy does not match the business intent. These are risk indicators requiring a security engineer to review actual data permissions and sensitivity classifications, not a button that automatically understands every organization’s confidential-document rules.

The first remediation should address the source: who can open the document in SharePoint, who may find it in search, whether its sensitivity label is correct, and whether broad sharing is genuinely necessary. If a policy is applied only to AI output while direct file permissions remain overbroad, other applications may still expose the document. This is why data governance belongs alongside the identity and governance controls tested elsewhere on SC-500.

Do not confuse discoverability with permission. A file can be indexed yet restricted to an authorized group. Conversely, a file that is not indexed can still be reachable through an old shared link or privileged account. A good investigation verifies the effective access of representative test identities, the sharing link scope and any inherited site permissions. The assistant should then be retested to confirm that an unauthorized employee cannot retrieve or summarize the confidential material.

What Purview DSPM does—and what it does not

Purview brings several data-security capabilities into one governance program. DSPM helps discover and prioritize exposure risks; sensitivity labels express handling intent; data loss prevention controls can govern certain movements or uses of information; audit and investigation records help explain what happened. Those tools are complementary. A dashboard showing risk is not itself a permission change, and an audit event is not proof that exposure was blocked.

Data-security interfaces and product names evolve, and the same investigation may appear under different navigation paths or license entitlements. Focus on the control objective rather than memorizing a portal menu: identify the sensitive data, determine its actual exposure, select a source-side protection, deploy it only in an approved environment and retain evidence of the result. The specific DSPM feature names, permissions and UI paths still need current product documentation or tenant validation before this can be treated as a step-by-step operational procedure.

For a controlled learning exercise, create two synthetic documents. One is a general support FAQ intended for all staff; the other contains fictitious confidential incident data and should be restricted to a small test group. Configure permissions and, where available, appropriate labels. Check both through normal SharePoint access and the permitted Copilot or agent experience. The expected result is not that the assistant refuses everything; it should answer from the general FAQ while withholding unauthorized incident content.

Record the difference between authorization and the assistant’s behavior. If the hidden document was previously accessible, your evidence should show which permission was corrected and which identities now lack access. If the assistant gives a generic answer after the change, verify it did not paraphrase restricted data from a cache or earlier conversation. Security testing must check both the direct data path and the AI interaction.

Recognize three agent access patterns

Microsoft Entra Agent ID extends identity concepts to AI agents, but not every agent request uses the same subject. An agent may act on behalf of a signed-in person with delegated permissions, use its own agent identity for application-only access, or use an agent user account in a collaborative workflow. These distinctions affect whose permissions apply and which Conditional Access policy target is evaluated.

When mapping a real incident, distinguish three principals before examining the user interface: a human who requests an answer, an agent identity that obtains its own workload token, and an agent user account acting as a collaborating member. The access tokens need not have the same subject or authority. Microsoft’s Conditional Access guidance for agent users targets the agent user account when that is the signed-in principal. A policy against a human user or unrelated application cannot be assumed to govern a token issued to an agent user. Use a trace that records which principal signed in, which tool ran and which source evaluated the permission. That is the bridge from identity to the broader AI workload security problem.

Access pattern Who the access token represents Security question
Delegated agent action A signed-in user’s context, with application/agent information Does the user have the required right, and is the agent permitted to perform this delegated operation?
Agent identity action The agent’s own identity for application-only access What least-privilege application permissions were granted to this agent?
Agent user action An agent’s user account, such as one that participates in mail or chat Are agent-user policies and account permissions scoped independently from ordinary human users?

A useful way to reason about a failure is to identify the token subject and target audience. The subject receives the token; the audience is the service the token is intended for. The service uses the token claims and its own authorization rules to decide what the caller may do. Conditional Access makes a decision when Microsoft Entra issues or refreshes the relevant token, while the target resource remains responsible for what authorized actions that token permits.

For example, suppose an agent calls a Microsoft Graph resource using an application-only identity. Reducing an employee’s SharePoint role may not sufficiently limit an agent that has broad application permissions. Conversely, limiting the agent identity does not automatically revoke direct user permissions. A correct defense must understand every identity path that can reach the data. The least-privilege and PIM principles remain relevant, but agent-specific constructs require separate evaluation.

Conditional Access controls need the right subject

Conditional Access for agents is not simply a checkbox saying “protect all AI.” Policies can evaluate agent identities and agent user accounts through supported assignments, conditions and grant controls. Microsoft’s documentation distinguishes policies that target agent identities from policies targeting agent users. A rule defined for ordinary users does not necessarily apply to an agent-user account merely because that account has a familiar display name.

Begin with a report-only evaluation where supported. Identify a limited test agent, the resource it needs and the unwanted access pattern you aim to stop. For example, you might prevent an unapproved agent identity from obtaining tokens for protected services. Inspect sign-in or token decision evidence before enforcing. Avoid broad policies that could block important production workflows, and preserve a way to restore access if the scoping was mistaken.

There is a crucial boundary: Conditional Access protects resources authenticated through Microsoft Entra’s token pipeline. If an agent uses a service API key rather than an Entra token, that request does not pass through an Entra Conditional Access evaluation simply because the caller is an AI agent. The security engineer must control those keys, rotate them and enforce an appropriate gateway, API and network boundary. Relying on the wrong enforcement point creates a false sense of protection.

License availability and particular conditions can change. Some agent-identity and agent-user features require qualifying Microsoft 365 or Agent 365 and Entra plans. A candidate should understand how to select a control, but a lab must confirm the tenant’s licensing and supported policy path before asserting that a configuration is available.

Copilot Studio runtime protection and unsafe actions

Copilot Studio agents can use topics, instructions, connectors and actions. Runtime security matters because an agent may receive untrusted content or a manipulated instruction while making a decision about a tool call. Microsoft’s objectives include enabling real-time protection for Copilot Studio agents. This should be interpreted alongside identity permission checks and data classification, not as proof that enabling one service removes every agent risk.

Build the incident timeline around independently observable evidence. Start with the prompt and retrieval events, then link the agent’s identity, selected tool, submitted arguments, policy decision, downstream service response and any subsequent retry. A blocked response is not evidence that data was never read, and a tool timeout is not evidence that its attempted write failed. Once the authoritative target system has been checked, responders can revoke the relevant identity grant or rotate a credential without assuming every Copilot session shares the same privilege boundary. This source-to-action reconstruction gives Defender and application owners a consistent way to assess possible exposure.

Consider a support assistant with a read-only ticket lookup. A malicious user asks it to ignore its instructions and export the entire customer database. A robust design should have no export tool exposed to that agent in the first place. Input and output safeguards can help detect malicious or disallowed behavior, but the tool’s actual permissions and accepted parameters still need independent enforcement. The agent should not be able to create a new authority path simply by generating convincing text.

A second risk is data exfiltration through apparently benign tools. An agent with the ability to send email or post to an external channel might combine authorized retrieval of internal information with an unauthorized destination. A safe system validates tool destinations, identity, data sensitivity and business purpose. Test this in a sandbox with synthetic data; do not probe live customer datasets or send confidential material to an external address as an exam exercise.

When protecting an agent, write down the control responsibilities explicitly: which user can invoke it, which identity it uses downstream, which data sources are approved, which tools exist, what permissions each tool receives, whether approval is needed for a high-impact action, and which logs make the workflow reviewable. That is much stronger than a list of AI product names.

Defender XDR blast radius asks what an agent could reach

After a suspicious sign-in, the important investigative question is what the account could reach and what activity is supported by evidence. Apply the same reasoning to an application or agent identity: list its granted permissions, accessible datasets, consent relationships and activity records before estimating the blast radius. Whether a particular Entra Agent ID or Defender XDR view supports that exact workflow depends on role permissions, licensing and the current product experience; those steps require a permitted tenant test and must not be presented here as an executed SC-500 lab.

Imagine a help-desk agent that suddenly receives a broad permission grant. The investigation should identify the grant event, the identity that approved it, the resources now reachable and any unusual activity after activation. If the agent was delegated access by a user, the investigator must distinguish the user’s authority from the agent’s own application scope. Without that distinction, removing the wrong role may leave the exposure intact.

Blast-radius analysis is evidence-driven. An incident graph or recommendation can prioritize investigation, but it does not automatically prove that all reachable data was accessed. Separate actual observed calls, potential access from current permission grants and speculative paths that would require another misconfiguration. This distinction guides proportional containment: disabling an agent might be necessary, but revoking an unnecessary application permission or closing an exposed data path may also be required.

After containment, document the original source of excess authority and the prevention control. Was the issue an overbroad SharePoint share, an OAuth consent grant, a poorly scoped agent identity, a permissive API key or an unsafe connector? The most effective fix depends on the layer that created the exposure.

Turn this into a realistic SC-500 scenario

A department deploys an agent to summarize support cases. During testing, the agent accurately summarizes a confidential document that a test employee should not see. The security team discovers that the SharePoint library grants wide read access and that the agent also has an overprivileged application permission. Which control should be applied first? The correct investigation must evaluate both access paths. Tightening the user’s access may not remove an independent application-only grant, and turning off an AI filter will not correct the library’s permissions.

Next, suppose a Conditional Access report shows no agent-policy evaluation for a request that used a static API key. The absence of evaluation is consistent with the documented token boundary; it is not proof the rule was misconfigured. Move to a control that governs key-backed API access and ensure the secret is appropriately protected and monitored.

Finally, imagine a Copilot Studio agent attempts to send sensitive case notes through an otherwise legitimate connector. The response should combine an allowed-data classification decision, tool permission and destination restriction, runtime detection where available, and investigation evidence. A prompt that says “do not send secrets” is useful guidance, but it is not an enforcement boundary.

In the support-case scenario, the useful answer begins with evidence: which user and agent identities were involved, which SharePoint permission or connector contract permitted access, and which control could have stopped the action at that boundary. Demonstrate the remedy in an authorized test environment before treating it as effective. This is security-for-AI reasoning rather than a tutorial on building an agent; the controls and their connection to current exam tasks still require verified tenant and issuer evidence.

Continue exploring the technologies and certification concepts that matter most to you.