We are currently running Gitlab Community Edition 13.3.2 with local users and would like to start using Azure Authentication. The local users and the Azure users have the same user names and email. I have configured a test instance and can authenticate with Azure when there are no users on the system.
The problem is that I haven’t found a way to login with Azure credentials for an existing local user.
Ex. We have user abc with email email@example.com.
The same username with the same email exists in Azure.
When I login with Azure I get this error:
Sign-in using Azure auth failed
Sign-in failed because Email has already been taken. Try logging in using your username or email. If you have forgotten your password, try recovering it
(See attached image)
I see that others have had problems moving from local users to other providers but so far haven’t found posts with answers.