How can Azure Front Door health probe authenicate against a secure endpoint?

HapaHacks 26 Reputation points
2022-09-21T23:06:04.687+00:00

I currently have an ASP.NET Core endpoint that verifies the health of my app but requires an API key. I would like to configure the AFD health probe to use this endpoint but because the endpoint requires authentication, the probe seems to not be working as intended and our origin health is determined to be 0%. Would it be a good practice to send an API key with the health probe requests or should I use a different authentication scheme for my endpoint?

Azure Front Door
Azure Front Door
An Azure service that provides a cloud content delivery network with threat protection.
577 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,148 questions
{count} vote

Accepted answer
  1. KapilAnanth-MSFT 34,766 Reputation points Microsoft Employee
    2022-10-03T05:38:43.107+00:00

    Hi @HapaHacks ,

    Welcome to the Microsoft Q&A Platform. Thank you for reaching out & I hope you are doing well.
    I understand that you would like to understand more about using authentication methods with Azure Front Door.

    For an AFD health probe, please refer : AFD Health probes
    AFD health probes do not have any authentication method.

    Unfortunately, I am not aware of any work around for request authentication.

    However, you can secure your monitoring endPoint by using network rules in your Application.

    The challenge here is that these IPs may change, and you will be required to manually update the IPs from the tag in your application

    **Service Tags: **

    Please let us know if you require additional information on this.

    Cheers,
    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

0 additional answers

Sort by: Most helpful