Peter

Results 49 comments of Peter

@mevans-medpace The post/comment you mention describes this behavior when the confidential client app instance is static/reused. Then yes, two different requests can operate on the same internal cache (accessor objects)....

@XanthViper Can you try removing `TenantId" line from the config? [Here's example config](https://github.com/Azure-Samples/active-directory-aspnetcore-webapp-openidconnect-v2/blob/master/1-WebApp-OIDC/1-5-B2C/appsettings.json) too, which doesn't set TenantId. I suspect that Microsoft.Identity.Web sets the authority on the app level to...

Thanks, @XanthViper. I've reopened; I think we can improve the experience here.

**Issue** MSAL throws AuthorityTenantSpecifiedTwice exception when domain and tenant ID are specified, as described above. **Possible causes** - Tenant ID from the config can be passed into app options [here](https://github.com/AzureAD/microsoft-identity-web/blob/955e823f6b4d8287e49c86108251c2692f1ef1c4/src/Microsoft.Identity.Web/TokenAcquisition.cs#L714)...

@SameerK-MSFT Please add more details, if any.

Related to [[Bug] UWP Interactive Auth Window Popup Freezes](https://github.com/AzureAD/microsoft-authentication-library-for-dotnet/issues/3109) because of a Windows component.

@bboyajiantest MSAL doesn't control how that popup works. You can post Visual Studio feedback here: https://developercommunity.visualstudio.com/home @gladjohn @bgavrilMS I guess we could ping the WAM team about this.

Moving to blocked status until we decide on a proper way to introduce this change, which depends on deprecating old WAM / GAing new WAM.

@alfaromeo90210 Sorry for the late reply. In your workaround do you set `homeAccountId` to `UserExternalApp.ExternalUserAccountID` or how do you construct it? Is your app multi tenant? MSAL needs the home...

@Mek7 In your code, you should call `args.TokenCache.DeserializeMsalV3(data, shouldClearExistingCache: true);` like [here](https://github.com/AzureAD/microsoft-identity-web/blob/a50c49fa43ba4f0d8d7846c6928397fcfacd987f/src/Microsoft.Identity.Web.TokenCache/MsalAbstractTokenCacheProvider.cs#L117). Is your CCA instance reused or recreated for each request? MSAL has an internal cache structure (basically a...