Forum Discussion
How to create Teams app multi tenant with SSO
Hello I wanted to create a React project from scratch and configure him to be a very simple Teams app which just make a call graph, I wanna do that to know exactly how it works. If you have several link to share or explanations don't hesit. I saw many websites to create a single tenant app but not multi tenant. I also don't know how creating a new service principal works.
Thank you in advance
3 Replies
- Prasad_Das-MSFT
Microsoft
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 LearnThanks,
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.
- lvoouiilliotCopper 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-MSFT
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.