Azure Alerts for URLs that require authentication/Login

Prakashraaj V 1 Reputation point
2022-07-04T15:10:11.717+00:00

I've have API URLs that we need to monitor. I can use Availability tests to configure alerts. But Many URLs have authentication enabled. such that the webpage will load only after user credentials are validated.

What alert options are available in Azure Monitor & Application Insights for URLs that require authentication?

Example provided below,

217419-image.png

Azure Monitor
Azure Monitor
An Azure service that is used to collect, analyze, and act on telemetry data from Azure and on-premises environments.
3,469 questions
{count} votes

1 answer

Sort by: Most helpful
  1. AnuragSingh-MSFT 21,476 Reputation points
    2022-07-05T11:07:01.17+00:00

    Hi @Prakashraaj V ,

    Thank you for reaching out to Microsoft Q&A for this question.

    There are mainly 3 types of availability test available in Azure Monitor

    1. Monitor availability with URL ping tests - This contains the basic settings that can be used to perform URL availability test with minimal setup.

    2. Standard test (preview) - Apart from the basic feature of URL ping test, this type of tests also help you configure SSL validation, Proactive lifetime check for SSL certificate, specify custom headers in the request. If your application can be supplied with auth information along with the GET/POST request, this could be a good choice.

    3. Custom availability tests using Azure Functions - This option provides the maximum flexibility as you have full control of how you want to perform the test. In this method, you can have your own custom logic defined to do the availability test, including the authentication part. A sample is provided here for reference.

    Please let me know if you have any questions.

    ---
    Please 'Accept as answer' and ‘Upvote’ if it helped so that it can help others in the community looking for help on similar topics.

    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.