Configuring Custom Domain in Azure B2C Using Application Gateway

Gerald Ortiz Candela 40 Reputation points
2024-12-16T05:35:58.1366667+00:00

Is it possible to configure a custom domain in Azure B2C using an Application Gateway instead of Azure Front Door? What specific guidelines or considerations should be kept in mind for this approach?

Azure Application Gateway
Azure Application Gateway
An Azure service that provides a platform-managed, scalable, and highly available application delivery controller as a service.
1,098 questions
Active Directory
Active Directory
A set of directory-based technologies included in Windows Server.
6,764 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. KapilAnanth-MSFT 48,081 Reputation points Microsoft Employee
    2024-12-16T06:15:14.3033333+00:00

    @Gerald Ortiz Candela ,

    Welcome to the Microsoft Q&A Platform. Thank you for reaching out & I hope you are doing well.

    I believe you are referring to Enable custom domains in Azure Active Directory B2C

    • I don't see any official recommendations from Azure documentation highlighting the use of App Gateway
    • While App Gateway is also a reverse proxy, you must note that App Gateway is a regional resource while AFD and AAD (Entra ID) are distributed globally.
    • This means users from different regions than the App Gateway will experience a higher latency than compared to users who access the Entra login directly or via AFD.

    While this is technically achievable, I recommend you not to use App Gateway.

    If you would like to use App gateway still,

    Once again, as this is not a documented set up, please make sure you try this in a lower/dev/test environment.

    Kindly let us know if this helps or you need further assistance on this issue.

    Thanks,

    Kapil


    Please don’t forget to close the thread by clicking "Accept the answer" wherever the information provided helps you, as this can be beneficial to other community members.

    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.