How do I disable "Sign-in options" below the sign-in box?

Carlo Mendoza 101 Reputation points
2022-01-13T18:05:15.433+00:00

Crosspost: https://github.com/AzureAD/microsoft-authentication-library-for-dotnet/discussions/3103#discussioncomment-1961929

For our tenant, this option doesn't make sense, and I want to remove it. How do I do that in MSAL?

164901-image.png

This goes to a page asking for Github credentials--doesn't make sense for us since we don't use personal accounts.

164884-image.png

Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
19,664 questions
0 comments No comments
{count} votes

4 answers

Sort by: Most helpful
  1. JamesTran-MSFT 36,456 Reputation points Microsoft Employee
    2022-01-13T23:59:10.627+00:00

    @Carlo Mendoza
    Thank you for your post!

    As mentioned in your cross post, I believe this needs to be done within the App Registration Manifest, if you can't do so under the Supported account types section of your app registration. If you don't want users to sign-in using their Personal Accounts (GitHub, Skype, Xbox, and Outlook), you'll have to change the app registration's supported account types to either Accounts in this organizational directory only (Single tenant) or Accounts in any organizational directory (Any Azure AD directory - Multitenant).

    Note - I'd recommend testing this out on a test app prior to doing this in production.
    164876-image.png

    Editing the Manifest:
    Note - I'd recommend testing this out on a test app prior to doing this in production.

    Navigate to your Azure AD App registration -> On the left hand-side, Select Manifest -> Scroll until you see signInAudience -> Change it to your desired audience:
    AzureADMyOrg, AzureADMultipleOrgs, AzureADandPersonalMicrosoftAccount

    164906-image.png

    Additional Link:
    3rd party app registered under App Registrations

    If this doesn't resolve your issue, please let me know.
    Thank you for your time and patience throughout this!

    ----------

    Please remember to "Accept Answer" if any answer/reply helped, so that others in the community facing similar issues can easily find the solution.


  2. JamesTran-MSFT 36,456 Reputation points Microsoft Employee
    2022-02-02T21:19:10.003+00:00

    @Carlo Mendoza
    Thank you for your time and patience throughout this issue.

    I received an update from our engineering team regarding the removal/disabling of the sign-in options button and will share this below.

    PG Update:
    GitHub sign in allows a user to sign into an MSA account using GitHub. They are then able to use that MSA projection to sign into an AAD tenant as a guest. The only way to support this ask would be for a tenant to indicate that they do not at all allow GitHub backed MSA guests in their tenant, which is not something we support nor currently have any roadmap to do so.

    If you'd like this feature to be implemented, I'd recommend leveraging our User Voice forum and creating a feature request, so our engineering team can look into implementing this.

    If you have any other questions, please let me know.
    Thank you for your time and patience throughout this issue.

    ----------

    Please remember to "Accept Answer" if any answer/reply helped, so that others in the community facing similar issues can easily find the solution.


  3. Yad Mkhlalati 0 Reputation points
    2023-02-06T17:58:04.28+00:00

    Hey guys, i'm having the same issue here, anyone managed to remove "Sign-in with Github" ??

    0 comments No comments

  4. Yad Mkhlalati 0 Reputation points
    2023-02-06T17:58:13.88+00:00

    Hey guys, i'm having the same issue here, anyone managed to remove "Sign-in with Github" ??

    0 comments No comments