0

From Microsoft Bot Composer, I successfully sign the user in and can retrieve the oauth token from the user. Now I want to call a secure APT.NET Core Web API and then call the Microsoft Graph API.

https://learn.microsoft.com/en-us/composer/how-to-send-http-request?tabs=v2x

I'm looking for a sample that I can follow that would show how to build a C# Web Core API that would accept the token from the bot, and then call into the Microsoft Graph API on behalf of the user who logged into the bot.

https://github.com/Azure-Samples/active-directory-aspnetcore-webapp-openidconnect-v2/tree/master/2-WebApp-graph-user/2-3-Multi-Tenant

Do I need to register both the bot and the web API with Azure AD app registration?

mercer
  • 321
  • 1
  • 3
  • 12

0 Answers0