Share via

How activate AD authentication for my website

SLIMANI Smail 40 Reputation points
Nov 22, 2023, 10:01 AM

Hello,

I need to activate AD authentication for my website.

My website: www.example.com: 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?

Regards,

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

1 answer

Sort by: Most helpful
  1. VenkateshDodda-MSFT 22,716 Reputation points Microsoft Employee
    Nov 23, 2023, 8:55 AM

    @SLIMANI Smail 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.

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.