Forum Discussion

dhaeseleermatthias's avatar
dhaeseleermatthias
Copper Contributor
Mar 04, 2020

Microsoft Teams: webpage Authentication inside tab

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?

Resources