Open anujc opened 9 years ago
You might want to look at one of the multi-tenant samples that we offer to see the best way to acquire tokens for this scenario. See https://github.com/Azure-Samples/active-directory-dotnet-webapp-webapi-multitenant-openidconnect
I converted this to a multitenant app by changing ida:Tenant in web.config to Common, flipping the is mutlittenant option to Yes in Azure portal and setting ValidateIssuer to false. The login works but when trying to see the user profile, the AcquireTokenSilent call results in no token. It works fine if I change ida:Tenant to tenant name.