I have app service protected by built-in auth, how to set it's health probe to Azure Front Door

Xindi Li 20 Reputation points Microsoft Employee
2025-02-13T06:11:37.8633333+00:00

As described in the title.
I have 2 app service in different regions, they are protected by build-in auth.
And I want to set up a azure front door with 2 origin groups for them.

The question is how to set their health probe path in AFD ?

since they all are protected by built-in auth and every http request need auth right?

Azure Front Door
Azure Front Door
An Azure service that provides a cloud content delivery network with threat protection.
750 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
8,299 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Praveen Bandaru 425 Reputation points Microsoft Vendor
    2025-02-13T09:59:09.3233333+00:00

    Hello Xindi Li

    Greetings!

    I understand that you are setting up a health probe at the front door.

    • A 200 OK status code indicates that the origin is healthy, while any other status code is considered a failure.
    • If a valid HTTP response isn't received for a probe, it will be counted as a failure.
    • AFD does not support adding authentication methods for Health probes.
    • Using an authentication method will result in a 401-error code, whereas it will work without authentication.

    Reference doc: https://learn.microsoft.com/en-us/azure/frontdoor/health-probes


    I hope this has been helpful!

    Your feedback is important so please take a moment to accept answers. If you still have questions, please let us know what is needed in the comments so the question can be answered. Thank you for helping to improve Microsoft Q&A!

    Please accept an answer if correct. Original posters help the community find answers faster by identifying the correct answer. Here is how.


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.