Skip to content
LearningPathX
Learning PathsFree TestsExam InfoHow it worksNews
Sign inChoose a certification
  1. Home/
  2. Certifications/
  3. AB-400/
  4. AB-400 Learning Path/
  5. Study FAQs/
  6. How does a custom application call a Copilot Studio agent with the Microsoft 365 Agents SDK?

Study FAQ

How does a custom application call a Copilot Studio agent with the Microsoft 365 Agents SDK?

Exam · AB-400Knowledge domain · Extend Microsoft Power Platform (35–40%)Updated Nov 25, 2026
Also asked as 2
  • How do I connect a web or native app to a Copilot Studio agent with the Agents SDK?
  • What does a signed-in app need to invoke a Copilot Studio agent through the Agents SDK?

Answer

For a signed-in web or native app, use the Copilot Studio client library in the Microsoft 365 Agents SDK with a Copilot Studio agent built using the standard harness. Microsoft provides .NET, JavaScript, and Python samples.

Register the app in Microsoft Entra ID in the agent's tenant for the documented interactive sign-in for your client type. Add the delegated Power Platform API permission CopilotStudio.Copilots.Invoke and complete the applicable consent. Public clients use their documented sign-in and redirect configuration without a client secret embedded in the app. Configure the target agent from its connection string or the supported environment, schema, and tenant settings. Keep the destination under application control.

Run the matching sample against a published test agent with an intended user. Verify a returned message for that user, then verify a denied or signed-out call surfaces an authentication or authorization failure.

Microsoft references

  • Integrate with Copilot Studio
  • Integrate web or native apps with Microsoft 365 Agents SDK - Microsoft Copilot Studio

Full explanation

AB-400: Integrating Foundry and Copilot Studio Agents

Study guide · AB-400

Read the full explanation →
← Back to AB-400 FAQsView learning path →

Related questions

How do I authorize callers of an Azure Function and let the Function access Dataverse with managed identity? →How do I make a long-running Dataverse job recoverable in Azure Functions? →How do I choose Azure Functions triggers and hosting for a Dataverse workload? →How should a Dataverse integration handle throttling and decide when to retry a write? →How do I diagnose a Dataverse application user that cannot access the target environment? →How do I submit a Dataverse background operation and verify whether it succeeded? →
LearningPathX

A focused path to certification, one clear step at a time.

© 2026 LearningPathX. All rights reserved.

Product

CertificationsLearning PathsFree TestsHow it worksNews

Company

SubscriptionHelp centerContact usPrivacyTerms

Follow us

Your privacy choices

We use analytics cookies to understand how LearningPathX is used and improve your learning experience. Analytics will only start after you accept.