We have a SonarQube Cloud Enterprise license and recently switched from GitHub OAuth sign-in to SAML MS Enterprise SSO. Currently, we plan to disable GitHub sign-in without disabling the GitHub integration because we have our repositories on GitHub.
However, I cannot find this option in the SonarCloud settings.
Is this even possible?
I think you just need to follow this step of setting up SSO:
Once the enterprise users have successfully transitioned to SSO, you can remove their DOP accounts from the organizations and the users can delete their DOP account. See Administering your users for more details. We recommend that you don’t remove the admin DOP accounts since, with a SSO account, you cannot bind a SonarQube Cloud organization with the corresponding DOP organization. See Onboarding a new organization for more information.
Once you’ve removed them from your organizations, they won’t be able to see any information when they login.
Whether or not you can restrict your GitHub users from logging into third party services entirely is probably a question for GitHub. I would guess that’s something only possible with GitHub Enterprise Managed Users.