You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
varoptions=new PublicClientApplicationOptions();
options.ClientId = token.ClientId;// “110797d6-4a5e-4e58-a06d-f1bf3f3a8069”varapp= PublicClientApplicationBuilder
.CreateWithApplicationOptions(options).WithTenantId(token.TenantId)//The tenantId passed here (“3cfc49f9-956e-4e4e-a1b6-e03368c2e448”).WithAuthority(token.AuthorityEndpoint)//Set to the “common” endpoint “https://login.microsoftonline.com/common”.WithExperimentalFeatures(true).WithBroker(true).Build();
Expected: AcquireToken* should work for user
Actual: AcquireToken* fails because the authority passed to WAM ends in "common", instead of the tenanted one, causing issues with Conditional Access
Workaround
Use a tenanted authority instead, i.e. https://login.microsoftonline.com/3cfc49f9-956e-4e4e-a1b6-e03368c2e448
The text was updated successfully, but these errors were encountered:
bgavrilMS
changed the title
[Bug] [WAM] WithTenant ignored when talking to WAM, resulting in CA failures for multi-tenant apps
[Bug] [M] WithTenant ignored when talking to WAM, resulting in CA failures for multi-tenant apps
Apr 22, 2021
bgavrilMS
changed the title
[Bug] [M] WithTenant ignored when talking to WAM, resulting in CA failures for multi-tenant apps
[Bug] [M] WithTenant ignored, resulting in CA failures for multi-tenant apps
May 27, 2021
MSAL 4.29 with WAM on UWP
Repro
Expected: AcquireToken* should work for user
Actual: AcquireToken* fails because the authority passed to WAM ends in "common", instead of the tenanted one, causing issues with Conditional Access
Workaround
Use a tenanted authority instead, i.e.
https://login.microsoftonline.com/3cfc49f9-956e-4e4e-a1b6-e03368c2e448
The text was updated successfully, but these errors were encountered: