We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b833d86 commit e2e47f2Copy full SHA for e2e47f2
src/Common/Commands.Common.Authentication/Authentication/UserTokenProvider.cs
@@ -189,7 +189,8 @@ private AuthenticationResult SafeAquireToken(
189
190
ex = new AadAuthenticationFailedWithoutPopupException(message, adalEx);
191
}
192
- else if (adalEx.ErrorCode == AdalError.MissingFederationMetadataUrl)
+ else if (adalEx.ErrorCode == AdalError.MissingFederationMetadataUrl ||
193
+ adalEx.ErrorCode == AdalError.FederatedServiceReturnedError)
194
{
195
ex = new AadAuthenticationFailedException(Resources.CredentialOrganizationIdMessage, adalEx);
196
0 commit comments