Forum Discussion

XDeveloper29's avatar
XDeveloper29
Copper Contributor
Jul 18, 2024

How to Implement OAuth for a Bot-Based Message Extension App in Microsoft Teams for Graph API?

I have created a bot-based message extension app using the Teams Toolkit and need to call the Microsoft Graph API, which requires OAuth implementation. So far, I have created the app in the Teams Developer Portal, registered the app in Azure App registration, and registered the bot in the Bot Framework Developer Portal (dev.botframework.com). However, I am unclear about the OAuth flow and the specific configurations required.
 

Can someone provide a detailed guide on how the OAuth flow works for a bot-based message extension in Microsoft Teams, the specific configurations needed in the Azure app registration, how to configure permissions and consent for accessing the Microsoft Graph API, and any additional settings required in the Teams Developer Portal or Bot Framework Developer Portal?

Any guidance, code examples, or references to detailed documentation would be highly beneficial.

No RepliesBe the first to reply

Resources