Forum Discussion

techie2021's avatar
techie2021
Copper Contributor
Nov 23, 2021

Microsoft Teams SDK getAuthToken for multi-tenant AAD application ('common' endpoint)

Hi,

 

I have done the SSO Authentication as documented here, it works great. But now, I have changed my AAD Application to be Multi-tenant as explained here. It is mentioned to update the code to send requests to /common endpoint.

The call to microsoftTeams.authentication.getAuthToken() however goes to /{tenentid} endpoint. 

How can I change it to go to /common? What am I missing here?

Resources