πŸ”’ Guided

Pre-launch preview. Authorised access only.

Incorrect code

Guided by A Guide to Cloud
Explore AB-900 AI-901 aws-aif-c01
Guided AB-620 Domain 1
Domain 1 β€” Module 3 of 10 30%
3 of 28 overall

AB-620 Study Guide

Domain 1: Plan and Configure Agent Solutions

  • Getting Started: Copilot Studio for Developers Free
  • Planning Enterprise Integration and Reusable Components Free
  • Identity Strategy for Agents Free
  • Channels, Deployment and Audience Design Free
  • Responsible AI and Security Governance Free
  • Agent Flows: Build, Monitor and Handle Errors Free
  • Human-in-the-Loop Agent Flows Free
  • Topics, Tools and Variables Free
  • Advanced Responses: Custom Prompts and Generative Answers Free
  • API Calls, HTTP Requests and Adaptive Cards Free

Domain 2: Integrate and Extend Agents in Copilot Studio

  • Enterprise Knowledge Sources: The Big Picture
  • Copilot Connectors and Power Platform Connectors
  • Azure AI Search as a Knowledge Source
  • Adding Tools: Custom Connectors and REST APIs
  • MCP Tools: Model Context Protocol in Action
  • Computer Use: Agent-Driven UI Automation
  • Multi-Agent Solutions: Design and Agent Reuse
  • Integrating Foundry Agents
  • Fabric Data Agents: Analytics Meets AI
  • A2A Protocol: Cross-Platform Agent Collaboration
  • Grounded Answers: Azure AI Search with Foundry
  • Foundry Model Catalog and Application Insights

Domain 3: Test and Manage Agents

  • Test Sets & Evaluation Methods
  • Reviewing Results & Tuning Performance
  • Solutions & Environment Variables
  • Power Platform Pipelines for Agent ALM
  • Agent Lifecycle: From Dev to Production
  • Exam Prep: Diagnostic Review

AB-620 Study Guide

Domain 1: Plan and Configure Agent Solutions

  • Getting Started: Copilot Studio for Developers Free
  • Planning Enterprise Integration and Reusable Components Free
  • Identity Strategy for Agents Free
  • Channels, Deployment and Audience Design Free
  • Responsible AI and Security Governance Free
  • Agent Flows: Build, Monitor and Handle Errors Free
  • Human-in-the-Loop Agent Flows Free
  • Topics, Tools and Variables Free
  • Advanced Responses: Custom Prompts and Generative Answers Free
  • API Calls, HTTP Requests and Adaptive Cards Free

Domain 2: Integrate and Extend Agents in Copilot Studio

  • Enterprise Knowledge Sources: The Big Picture
  • Copilot Connectors and Power Platform Connectors
  • Azure AI Search as a Knowledge Source
  • Adding Tools: Custom Connectors and REST APIs
  • MCP Tools: Model Context Protocol in Action
  • Computer Use: Agent-Driven UI Automation
  • Multi-Agent Solutions: Design and Agent Reuse
  • Integrating Foundry Agents
  • Fabric Data Agents: Analytics Meets AI
  • A2A Protocol: Cross-Platform Agent Collaboration
  • Grounded Answers: Azure AI Search with Foundry
  • Foundry Model Catalog and Application Insights

Domain 3: Test and Manage Agents

  • Test Sets & Evaluation Methods
  • Reviewing Results & Tuning Performance
  • Solutions & Environment Variables
  • Power Platform Pipelines for Agent ALM
  • Agent Lifecycle: From Dev to Production
  • Exam Prep: Diagnostic Review
Domain 1: Plan and Configure Agent Solutions Free ⏱ ~13 min read

Identity Strategy for Agents

Plan how agents authenticate users and access enterprise data β€” SSO, OAuth, delegated vs application permissions, and channel-specific identity behaviour.

Why identity strategy is a planning decision

β˜• Simple explanation

Think of your agent as a receptionist at a secure office building.

When someone walks in, the receptionist needs to know: Are you an employee? (SSO β€” you already swiped your badge at the front door.) Are you a visitor who needs to sign in? (Manual OAuth β€” show your ID, get a temporary pass.) Or are you just asking a question at the information desk? (No auth β€” anyone can ask general questions.)

The receptionist also has their own access card for the building’s back offices. Sometimes they use YOUR badge to open doors on your behalf (delegated permissions). Other times they use their own master key that works 24/7 (application permissions). Choosing wrong means either employees cannot access what they need, or the receptionist has too much power.

Identity strategy determines how your Copilot Studio agent authenticates end users and how it accesses backend resources on their behalf. This is a planning-phase decision because it affects connector configuration, channel selection, topic design, and governance controls.

Copilot Studio supports three authentication models: SSO (seamless via Entra ID in Teams/M365 Copilot), manual OAuth 2.0 (explicit sign-in card for other channels), and no authentication (anonymous access for public-facing agents). Beyond user auth, you must also choose between delegated permissions (agent acts as the signed-in user) and application permissions (agent acts as itself with its own identity). The exam tests your ability to pick the right model for each scenario.

Authentication models

Copilot Studio agents support three authentication configurations. The right choice depends on the channel, the data sensitivity, and the user experience you want.

Three authentication models in Copilot Studio
FeatureHow it worksSupported channelsUser experienceBest for
SSO (Single Sign-On)Agent inherits the user's Entra ID token from the host app β€” no sign-in promptTeams and M365 Copilot onlySeamless β€” user never sees an auth promptInternal agents where users are already signed into Teams/M365
Manual OAuth 2.0Agent displays a sign-in card. User clicks, authenticates with the IdP, and returns a tokenAll channels (Teams, website, Direct Line, Facebook, etc.)One-time sign-in card β€” friction but works everywhereMulti-channel agents or external-facing agents with authenticated features
No authenticationAgent does not authenticate the user. All users are anonymousAll channelsZero friction β€” anyone can chat immediatelyPublic FAQ agents, lead capture, general information bots
πŸ’‘ Exam tip: SSO is channel-restricted

SSO only works in Teams and M365 Copilot. If the exam gives you a scenario where an agent runs on a website or Direct Line and asks about SSO, the answer is β€œnot supported” β€” you must use manual OAuth 2.0 instead. This is one of the most commonly tested distinctions.

Delegated vs application permissions

After authentication, the next decision is how the agent accesses backend resources. This is where delegated and application permissions diverge.

Delegated vs application permissions β€” choose based on whether the data is user-specific
FeatureAccess scopeToken typeRequires user sign-in?Use case
Delegated permissionsAgent acts as the signed-in user β€” sees only what that user can seeUser token (on-behalf-of flow)Yes β€” user must be authenticatedAccessing user-specific data: their emails, their calendar, their claims history
Application permissionsAgent acts as itself with its own identity β€” access is not scoped to a userApp-only token (client credentials flow)No β€” works without any user contextBackground tasks, cross-user data, system-level operations (e.g., searching all policy documents)

The critical distinction: delegated permissions respect the user’s access boundaries. Application permissions bypass user context β€” the agent has whatever its app registration grants.

ℹ️ Security implication: application permissions

Application permissions are powerful and dangerous. An agent with Mail.Read application permission can read every user’s email in the tenant. In production, scope application permissions as tightly as possible and monitor usage through audit logs. The exam tests whether you understand this risk.

Configuring manual authentication

When SSO is not available (any channel outside Teams/M365 Copilot), you configure manual authentication. Here is the developer workflow:

  1. Register an app in Entra ID β€” set redirect URI to https://token.botframework.com/.auth/web/redirect
  2. Configure OAuth scopes β€” request only the permissions the agent needs (principle of least privilege)
  3. Add the authentication setting in Copilot Studio β€” enter the client ID, client secret, and token endpoint
  4. Use the Authenticate topic β€” Copilot Studio provides a system topic that triggers the sign-in card and stores the token in System.User.AccessToken
  5. Pass the token to connectors or HTTP actions β€” use the token variable in Authorization headers
# Conceptual flow β€” not actual YAML, but illustrates the token lifecycle
User sends message
  -> Agent triggers Authenticate topic
  -> Sign-in card displayed
  -> User authenticates with Entra ID
  -> Token stored in System.User.AccessToken
  -> Topic uses token to call Graph API via HTTP action
  -> Response returned to user
Scenario: Kai plans identity for Pacific Mutual

Kai is building two agents for Pacific Mutual Insurance:

Agent 1 β€” Claims Assistant (internal, Teams only)

  • Users: 15,000 employees in Teams
  • Data: User-specific claims records via internal API, personal calendar via Graph
  • Decision: SSO + delegated permissions. Users are already in Teams, so SSO gives seamless auth. Delegated permissions ensure each adjuster only sees their own assigned claims.

Agent 2 β€” Policy Document Search (internal, Teams + SharePoint embedded)

  • Users: Same employees, but the agent also runs as a web part in SharePoint
  • Data: 200,000 policy documents in Azure AI Search (not user-specific)
  • Decision: SSO in Teams, manual OAuth in SharePoint + application permissions for document search. The documents are not user-scoped β€” any authenticated employee can search them, so application permissions with a read-only scope are appropriate.

Kai documents both identity strategies before building any topics, because changing auth models mid-project means reconfiguring every connector and flow.

Channel-specific identity behaviour

Different channels handle identity differently. This table captures what the exam expects you to know:

ChannelSSO available?User identity sourceNotes
TeamsYesEntra ID (from Teams session)Richest identity context β€” UPN, display name, Entra object ID
M365 CopilotYesEntra ID (from M365 session)Same as Teams β€” SSO works seamlessly
Website (embedded)NoManual OAuth or anonymousMust configure manual auth for user-specific features
Direct LineNoCustom token from your appYour host app handles auth, passes token via Direct Line secret
FacebookNoFacebook user ID (not Entra)Cannot use Entra SSO β€” different identity provider entirely
Question

Which channels support SSO in Copilot Studio?

Click or press Enter to reveal answer

Answer

Only Teams and M365 Copilot. All other channels (website, Direct Line, Facebook) require manual OAuth 2.0 or no authentication.

Click to flip back

Question

What is the difference between delegated and application permissions?

Click or press Enter to reveal answer

Answer

Delegated: agent acts as the signed-in user, seeing only what that user can access. Application: agent acts as itself with its own identity, accessing data regardless of user context. Delegated requires user sign-in; application does not.

Click to flip back

Question

Where is the OAuth redirect URI pointed when configuring manual auth for Copilot Studio?

Click or press Enter to reveal answer

Answer

https://token.botframework.com/.auth/web/redirect β€” this is the Bot Framework token service endpoint that handles the OAuth callback.

Click to flip back

Question

What system variable stores the user's access token after authentication?

Click or press Enter to reveal answer

Answer

System.User.AccessToken β€” available after the Authenticate system topic completes successfully. Use it in HTTP action Authorization headers.

Click to flip back

Knowledge Check

Kai's Claims Assistant runs in Teams and needs to show each adjuster only their own assigned claims. Which identity configuration should he use?

Knowledge Check

Priya is building an AgentForge recruitment agent that runs on a client's website and needs to access candidate data. Which auth model should she configure?

Knowledge Check

An agent with Mail.Read application permission is deployed. What can it access?

🎬 Video coming soon

Identity Strategy for Copilot Studio Agents

← Previous

Planning Enterprise Integration and Reusable Components

Next β†’

Channels, Deployment and Audience Design

Guided

I learn, I simplify, I share.

A Guide to Cloud YouTube Feedback

© 2026 Sutheesh. All rights reserved.

Guided is an independent study resource and is not affiliated with, endorsed by, or officially connected to Microsoft. Microsoft, Azure, and related trademarks are property of Microsoft Corporation. Always verify information against Microsoft Learn.