SonarCloud Enterprise SSO with existing users with GitLab SSO

Referring to JIT SSO Group Sync with Azure Entra — Unable to Map to Default Members Group

When logging in with configured with Entra SSO, sonarcloud asks to map email to new user from entra, but the email associated to both are the same business email, so when logged in with the Entra SSO, all admin access is not setup. When logging in with the gitlab sso, admin is present. But I am not able to invite/set the Entra account as admin on my enterprise and org.

Hello @erikmillerkinective, unfortunately you cannot add your other account to the organization, because when you log in with the admin account, the email becomes associated with it and it detaches from the other account. and you will not be able to find the other account when searching by email in the “add member” button.

The way to do this is to follow the process that Sarath described in your other thread. It requires a 2nd user that will act as an intermediary of sorts. Can you give that a try?

Does the new user who I invite need to not have an existing gitlab account?

Confidentiality Notice: This email and any attachments are intended only for the recipient and may contain confidential and/or privileged information. If you are not the intended recipient, please delete this message and notify the sender immediately. Any unauthorized use, disclosure, or distribution is strictly prohibited.

It doesn’t really matter what login method does the other user use. It could be someone who already has an existing account and already belongs to the organization. You just need to make that user an enterprise admin (temporarily), so that then you can log in with your SSO account, and that other user will add your new account to the organization.