Skip to main content

User unable to log in with Azure/SSO

Employee is unable to log in with Azure.

H
Written by Harry Ledger
Updated over 3 weeks ago

An employee was initially able to log in, but is now unable to do so. Password resets have been attempted, but the user still cannot log in via Azure.

The following error may be displayed:

The authenticated user's e-mail address is not mapped to a system user.

This guide provides steps to identify and resolve the issue.


Symptoms

  • User cannot log in with Single Sign-On (SSO).

  • Other users can log in successfully without issues.


Potential cause #1 – Windows User Name mismatch

The Windows User Name within Active Directory does not match the Windows User Name in the Admin Tool.

Solution

  1. Log in to the SelectHR Admin Tool.

  2. In the Security section, click User Accounts.

  3. Locate and double-click the user. The User Properties window will appear.

  4. Check that the Windows User Name matches the Username in Active Directory (usually set by your IT team).


Potential cause #2 – Duplicate email addresses across Person records

If the user's email is present on more than one Person record, SSO will be unable to determine which record to use.

Solution

  1. Open the SelectHR Admin Tool.

  2. Go to Import/Export Data.

  3. Click Create an export definition.

  4. Select the SelectHR database and log in.

  5. Run the following SQL query:

SELECT 
s.[First Name],
s.Surname,
s.[Effective Status],
s.[Person Number],
s.[E-Mail],
s.[Appointment Number]
FROM Person.Snapshot s
WHERE s.[E-Mail] = 'XXXXXX';

Replace XXXXXX with the user’s email address.


If more than one record is returned, remove the email address from any extra person records.


Potential cause #3 – Multiple Azure user accounts

The user may have multiple Azure accounts, which can cause login conflicts.

Solution

  1. Ensure the user only has one active Azure account.

  2. Verify that all account details, especially the email address, match exactly with their employee record in SelectHR.


Potential cause #4 – Email address mismatch (case sensitive)

The email address in SelectHR must exactly match the Azure/SSO login email, including case sensitivity.

Solution

  1. Log in to SelectHR.

  2. Go to Employees > Employees > Details.

  3. Ensure the email field matches exactly (including letter casing) the user’s Azure email address.

  4. Save your changes.

Did this answer your question?