> ## Documentation Index
> Fetch the complete documentation index at: https://docs.incident.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Duplicate user errors

> Resolve duplicate SAML account errors when logging in

When a user logs in, they might see an error:

> We found multiple SAML accounts for your email address

This happens when we've entered a 'bad state' between incident.io's user management, and your identity provider (e.g. Okta).

This often happens when someone is changing their name, or you're changing the domains of your canonical emails as part of a migration.

To resolve this:

1. Ensure that someone's canonical email address in your IdP (identity provider) exactly matches their email in Slack or Microsoft Teams. If these are not the same, we won't be able to authenticate them correctly
2. Go to [Settings → Users](https://app.incident.io/~/settings/users/users) and search for the user's name. You should see multiple items in the list
3. One of those users should be a 'SAML only' user, meaning they won't have a `Slack` connection badge. This user will also have a 'Deactivate User' button in the bottom left → click this!

<img src="https://mintcdn.com/incidentio-18bb4170/-p0k-NlQGgmni0z8/images/help-centre/duplicate-user-error/screenshot-1.png?fit=max&auto=format&n=-p0k-NlQGgmni0z8&q=85&s=4d1759005256e82a771e46901ff30ab9" alt="A SAML-only user profile showing the Deactivate user button" width="1138" height="1062" data-path="images/help-centre/duplicate-user-error/screenshot-1.png" />

Once you have just a single active user, and the email addresses match, the user should now be able to log in successfully.
