Forum Discussion
lvoouiilliot
Nov 24, 2022Copper Contributor
Teams Toolkit multi tenant app
Hi, I ´m currently developping a teams app whith the teams toolkit and when i want to switch my app on multi tenant (default mode is single tenant), it works until the next launch. After that in azur...
- Nov 28, 2022lvoouiilliot - Could you please confirm if your issue has resolved with above suggestion or still looking for any help?
lvoouiilliot
Nov 25, 2022Copper Contributor
Thanks for your response, but I've already tried to convert my app to multi Tenant and it works, but when i'm executing my code, my app turns on the single tenant mode in azure (whithout my interraction). I'm using the teams Toolkit so I guess that there are configurations files which say that my app is a single tenant app
lvoouiilliot
Nov 25, 2022Copper Contributor
OK I found something, when we use Teams Toolkit we have an azure ad template which is launched each time that we execute our code, in this template I had this line : "signInAudience": "AzureADMyOrg". When you remove this line and change your app on multi tenant mode in azure, it works.
- Sayali-MSFTNov 25, 2022
Microsoft
lvoouiilliot - Without removing the signInAudience, you can replace the value with AzureADMultipleOrgs and check it once.
"signInAudience": "AzureADMultipleOrgs"
Reference Document-https://learn.microsoft.com/en-us/azure/active-directory/develop/supported-accounts-validation- Sayali-MSFTNov 28, 2022
Microsoft
lvoouiilliot - Could you please confirm if your issue has resolved with above suggestion or still looking for any help?- Sayali-MSFTNov 28, 2022
Microsoft
lvoouiilliot - Could you please share your valuable feedback via Microsoft Teams Developer Feedback link.