New Contributor

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?

@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.

www.000webhost.com