An Azure service that is used to collect, analyze, and act on telemetry data from Azure and on-premises environments.
Hi SriRaghavendran Prabhakaran
Unfortunately, as of now, Azure Application Insights does not support conditional availability tests that would allow you to check a second endpoint only if the first one fails. The availability tests are designed to monitor individual endpoints independently. You can set up a standard availability test for a single endpoint, but there is no built-in feature to chain tests based on the success or failure of previous tests.
For your requirement, you may need to implement a custom solution outside of the standard availability tests, such as using a monitoring script or a custom application that checks the first endpoint and, upon failure, checks the second endpoint.
Kindly let us know if the above helps or you need further assistance on this issue.
Please do not forget to "Accept the answer” and upvote it wherever the information provided helps you, this can be beneficial to other community members.it would be greatly appreciated and helpful to others.