How do I remove facebook sign in button from Azure AD B2C Login Page?

Gopi CK 31 Reputation points
2022-12-13T12:59:27.9+00:00

We have configured sign in page with below screenshot the yellow marked sign in with Facebook account need to be removed. Please help us.
We don't need Facebook login.

270123-image.png

Microsoft Security | Microsoft Entra | Microsoft Entra External ID
Microsoft Security | Microsoft Entra | Microsoft Entra ID
0 comments No comments
{count} votes

3 answers

Sort by: Most helpful
  1. James Hamil 27,211 Reputation points Microsoft Employee Moderator
    2022-12-13T17:54:45.127+00:00

    Hi @Gopi CK , as seen in this document, you'll need to edit your custom policy XML and remove Facebook as an identity provider. If this doesn't work please post your custom policy code or the sample you're following and I can help you further.

    If this answer helped you please mark it as "Verified" so other users can reference it.

    Thank you,
    James


  2. Gopi CK 31 Reputation points
    2022-12-14T05:06:39.25+00:00

    @James Hamil
    Thanks for answering.
    I don't want to remove Facebook as an identity provider (because other polices won't work) but I want to just hide that button (Facebook login) so end users would not see Facebook login in sign page.

    As per below image suggestion I just hide the sign up button and in the same way I want to hide Facebook login button also. Please help me that what I need to modify in base policy.

    270200-image.png

    0 comments No comments

  3. Ravi Kanth Koppala 3,391 Reputation points Microsoft Employee Moderator
    2022-12-20T04:20:44.73+00:00

    Hi @Gopi CK

    To remove the Facebook sign-in button from the Azure AD B2C login page, you can follow the steps below:

    1. Navigate to the Azure portal and sign in with your Azure account.
    2. In the left-hand menu, click on the "Azure AD B2C" service.
    3. In the Azure AD B2C dashboard, click on the "Identity providers" option in the left-hand menu.
    4. From the list of identity providers, click on the "Facebook" option.
    5. In the Facebook identity provider page, click on the "Disable" button.
    6. A pop-up window will appear, asking you to confirm the disable operation. Click on the "Disable" button to confirm.
    7. The Facebook sign-in button will now be removed from the Azure AD B2C login page.

    Note: If you want to re-enable the Facebook sign-in button at a later time, you can follow the same steps, but instead of clicking on the "Disable" button, click on the "Enable" button.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.