Logon using SAML failed. Error: Failed to match AD User. (0X00000006)

1 users found this article helpful

Symptoms

User fails to login with SAML, error Logon using SAML failed. Error: Failed to match AD User. (0X00000006) is thrown.

[E 72/00000006/T0340/P04C8] 26-03-20 11:41:51 - SAML - User:'aaa@xxx.yyy.zzz' - Failed to find AD user for aaa@xxx.yyy.zzz
[E 0E/0000002C/T0340/P04C8] 26-03-20 11:41:51 - SAML: Failed to Identify User from Assertion
[T 00/00000000/T0340/P04C8] 26-03-20 11:41:51 - Error Msg: Logon using SAML failed. Error: Failed to match AD User. (0X00000006)

Cause

Incorrect SAML attribute in RAS settings:

Resolution

Check what exactly attributes are sent in IdP response:

Figure out the right name of the attribute (name in this particular case) and adjust SAML Attribute name in RAS accordingly to it:

Was this article helpful?

Tell us how we can improve it.