Forum Discussion
vovanb
Jul 04, 2023Copper Contributor
call Graph API from Teams Tab
I am using https://github.com/OfficeDev/Microsoft-Teams-Samples/tree/main/samples/bot-task-module/csharp for Teams Tab. I want to call Graph API for notification. So I found https://github.com/Offic...
vovanb
Jul 05, 2023Copper Contributor
Hi Alexis,
so I need to do something similar to below examples:
https://github.com/OfficeDev/Microsoft-Teams-Samples/blob/main/samples/app-complete-auth/csharp/AppCompleteAuth/helper/AuthHelper.cs
or
https://github.com/OfficeDev/Microsoft-Teams-Samples/blob/main/samples/tab-sso/csharp/TeamsTabSSO/Helper/SSOAuthHelper.cs
Thanks
alexisconia
Jul 05, 2023MVP
Hi vovanb,
Yes, if your backend is implemented with ASP .net core, you have middleware to simplify all the process https://learn.microsoft.com/en-us/azure/active-directory/develop/scenario-web-api-call-api-call-api?tabs=aspnetcore&WT.mc_id=M365-MVP-4039677