Mar 04 2020 01:47 AM
Hi,
I'm developing a webapp that's inside a tab in microsoft teams.
The webapp uses the GRAPH API and SharePoint API to retrieve data from sharepoint and data from graph. I need to use both api's to utilise all the resources to the max.
How can I authenticate inside the microsoft teams tab for BOTH graph and sharepoint? Do I need to do 2 authentications so I have 2 tokens? (1 for each endpoint)
Or can I fetch 1 token that works for both api's?
Mar 04 2020 02:15 AM
@dhaeseleermatthias - If you are using two different services then you need to get two tokens. You could take a look at Graph APIs for SharePoint sites and see if you could use Graph for both.
Mar 04 2020 02:31 AM
@Wajeed-MSFT Okay, thanks!