Send azure alert to web container end point integrated with apim

Kumar Verma, Vikas 20 Reputation points
2023-11-23T20:02:31.05+00:00

Hi All,

I am trying to send azure alerts to web-container endpoint integrated with azure apim which is ad secured. Can you please let me know if we can configure auth header in webhooks in the action groups of alerts for apim endpoint?

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,645 questions
{count} votes

Accepted answer
  1. AnuragSingh-MSFT 21,546 Reputation points Moderator
    2023-11-24T04:44:37.0833333+00:00

    Kumar Verma, Vikas, thank you for posting this question on Microsoft Q&A.

    With webhook, generally the URL to which the Alert gets posted is a secure unique URL provided for the purpose. Additional options to configure headers are not available with the configuration of webhook. As you see from the screenshot below, only the URL is the parameter that you can provide when configuring the action group.

    User's image

    However, if you would like to add this functionality, you may use a logic Apps. The following is a highlevel solution:

    1. Using Action group, trigger a Logic Apps, which gets the payload.
    2. The Logic Apps creates a new POST request with the required headers and payload as received from Azure Monitor alert.
    3. The Logic Apps posts this request to the required endpoint.

    Hope this helps.

    If the answer did not help, please add more context/follow-up question for it, and we will help you out. Else, if the answer helped, please click Accept answer so that it can help others in the community looking for help on similar topics.


0 additional answers

Sort by: Most 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.