Authenticate your API plugin for declarative agents with secured APIs

Intermediate
Developer
Microsoft 365
Microsoft Copilot

When building apps for work, you typically integrate with secured APIs. Learn about the two common ways of how APIs are secured – API key and OAuth2, and how to integrate with them when building an API plugin for declarative agents that run in Microsoft 365 Copilot.

Learning objectives

By the end of this module, you're able to:

  • Identify how an API is secured
  • Design a secure way to integrate an API plugin for Microsoft 365 Copilot with an API
  • Integrate an API plugin with an API secured with an API key
  • Integrate an API plugin with an API secured with OAuth2
  • Run the API plugin in Microsoft 365 Copilot to validate the results

Prerequisites