Closed purvasanap2001 closed 1 week ago
Hi @purvasanap2001 - Thanks for raising the query. The same question has been asked here. For more updates, please follow this thread here "https://techcommunity.microsoft.com/t5/teams-developer/how-to-get-access-token-for-graph-api-in-teams-bot-based-message/m-p/4194581#M10405"
Hi @purvasanap2001! This issue is closed in our system. We would like your feedback on your experience with our support team and Platform.
Best regards, Teams Platform
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.