How activate AD authentication for my website

SLIMANI Smail OBS/DD 40 Reputation points


I need to activate AD authentication for my website.

My website: application gateway ------backend------> web app

When I activate AD authentication in my Azure web app, the application gateway can't connect with the web app.

How can I resolve this issue?

Are there any alternative solutions to enable AD authentication, such as activating authentication in the application gateway?


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,007 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
7,366 questions
{count} votes

1 answer

Sort by: Most helpful
  1. VenkateshDodda-MSFT 19,641 Reputation points Microsoft Employee

    @SLIMANI Smail OBS/DD Thanks for your response. It is recommended to have custom domain when integrating the application gateway services with multi-tenant azure services like App service, Azure Spring apps etc., we want to make sure that the App Service is listening for the appropriate hostname.

    I understood that you want to block the public access to app service (which should be enabled with Azure AD authentication) and by requesting to app gateway the user should be able to reach the app service.

    To achieve your requirement, you can follow steps that were mentioned in this blog post and also manage traffic to azure app service.

    1 person found this answer helpful.