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
- Basic knowledge of what Microsoft 365 Copilot is and how it works
- Basic knowledge of how to build a declarative agent for Microsoft 365 Copilot
- Basic knowledge of how to build an action for declarative agent with API plugin
- Basic understanding of OAuth and Microsoft Entra ID
- Microsoft 365 tenant with Microsoft 365 Copilot
- Visual Studio Code with the Microsoft 365 Agents Toolkit extension installed
- Azure Functions Tools
- Node.js v20