Forum Discussion
ADFS - Unable to log on with UPN
Hi All,
In our development environment we have ADFS 3.0 servers authenticating federated users. Recently, users have been unable to log on using their UPN. SamAaccountName works without issue. For information the domain and upn set up is as follows:
The internal domain is childdomain.root.int.ac.uk
Users exist in the child domain "childdomain.root.int.ac.uk" but have a their UPN changed to username@int.ac.uk.
When signing into Office 365 or via ADFS theya re able to use their samaccountname but using the UPN gives an incorrect username or password error.
We see the following error in the ADFS logs:
Token validation failed.
Additional Data
Token Type:
http://schemas.microsoft.com/ws/2006/05/identitymodel/tokens/UserName
%Error message:
If they attempt to use the ADFS password change page I see the following error in the logs:
Password change failed for following user:
Additional Data
User:
u1234560@int.ac.uk.
Device Certificate:
Server on which password change was attempted:
Error details:
UserNotFound
Any ideas what might be causing this?
You most likely need to adjust the claims rules to pick up the changed UPN format.
- David McAllisterCopper Contributor
Can you elaborate a little Vasil? The authentication fails completely and claims are not released. The ADFS forms authentication page just rejects the password unless you use the samaccountname format. our production environment is essentially the same and we dont have a similar issue so its quite puzzling.
Right, seems I've misunderstood the issue then. Your first post listed an "token validation error" event, which is generally generated *after* the user has successfully logon to the AD FS server. If the user is not even able to pass the login prompt, I'd suggest checking the event logs for any 4625/4624 entries related to that user and more specifically looking at the netlogon error ("status") therein.
- BowornCopper Contributor
Currently we facing the same problem as your, can you share with me how you have fixed?
- PeterJ_InobitsIron Contributor
Can your users not login with their UPN's or are you having issues with the Password Reset URL in ADFS?
- BowornCopper Contributor
Hi,
The user can not login with their UPN's and gives an incorrect username or password error.
But they are able to logon with SAMAccountname (domain\username) format.
Thanks,