
Hi @Joanna Brailer
Thank you for reaching out to Microsoft Q&A Forum.
I understand you're looking to remove the "Sign in with GitHub" option from the Microsoft login screen.
Based on my research, there isn’t a built-in way to completely remove the “Sign-in options” button or hide individual options like “Sign in with GitHub” from the Microsoft login screen. However, you can limit what users see by using specific OAuth parameters in your login URL.
- The login_hint=your_username@your_domain.com parameter pre-populates the username and directly take you to the enter password screen.
- The hsu=1 parameter removes the "Sign in with another account" link from the enter password screen. That way users won't get an option to revert back to the sign-in page and select sign-in options.
As documented here, the login_hint parameter is often used by applications during reauthentication, especially when the username is already known (e.g., extracted from the preferred_username claim in a previous session). This helps streamline the experience and minimize unnecessary login choices.
While these parameters don’t remove the GitHub option entirely, they can help minimize its visibility during the login flow.
May I know you're an administrator? If yes, please go to Microsoft Entra admin center at https://entra.microsoft.com, then navigate to Identity > External Identities > All Identity Providers, and take a screenshot of that page.
Please make sure to blur or hide any personal or sensitive information before sharing. This will help confirm whether GitHub is currently configured as an identity provider in your tenant.
I hope this helps. I’d appreciate it if you could let me know how things go or if you run into any issues.
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.