Forum Discussion
How to create Teams app multi tenant with SSO
lvoouiilliot - SSO authentication in Azure AD silently refreshes the authentication token to minimize the number of times users need to enter their sign in credentials. Please refer below docs:
1.Overview to authentication for tabs using SSO in Teams with Azure AD - Teams | Microsoft Learn
2.Overview to authentication using SSO in Teams with Azure AD - Teams | Microsoft Learn
Thanks,
Prasad Das
------------------------------------------------------------------------------------------
If the response is helpful, please click "**Mark as Best Response**" and like it. You can share your feedback via Microsoft Teams Developer Feedback link. Click here to escalate.
- lvoouiilliotJan 24, 2023Copper ContributorThere is a point that I don't understand, in your code, to make an app multi tenant you have to update the request : https://login.microsoftonline.com/{tenant-id} with https://login.microsoftonline.com/common. But when you enable the SSO in Teams you already know what is the tenant ID so from my point of view it is useless.
Thank you in advance- Prasad_Das-MSFTJan 24, 2023
Microsoft
lvoouiilliot - When we deploy the app in one tenant and users from other tenant also want to use the application in their tenant then they can use if the tenant id is defined as common. So thats the reason to make an app multi-tenant we update the request from https://login.microsoftonline.com/{tenant-id} to https://login.microsoftonline.com/common.