Integrate azure monitor with OAuth authentication in servicenow

anujp200000
Giga Contributor

I want to integrate azure monitor with OAuth authentication in servicenow and I am following the product document which is: 

 

https://www.servicenow.com/docs/bundle/yokohama-it-operations-management/page/product/event-manageme...

 

As I have done all the configuration from Azure side and service now side also but not able to get event after run the server in stage instance it's throwing an error which is " The Secure Webhook could not be triggered because the webhook has not succeeded after 0 retries. Calls to the webhook will be blocked for up to -1 minutes. Please try again in -1 minutes."

 

Please help me in this.

1 REPLY 1

xsinghp
Tera Contributor

Hi Anuj,

 

There's no straightforward answer to this question as this could be due to any of these reasons. The error "The Secure Webhook could not be triggered because the webhook has not succeeded after 0 retries" indicates that the webhook endpoint in ServiceNow is not receiving the events from Azure. This can be due to a few reasons, including incorrect configuration, authorization issues, or network problems.

Here's a breakdown of potential issues and troubleshooting steps:

Configuration Checks:

1. Azure Configuration:

  • Verify that the webhook action group in Azure Monitor is correctly configured. Ensure the URL, method, and headers are accurate.
  • Double-check the Microsoft Entra ID application registration and its permissions.
  • If you're using Microsoft Entra authentication, ensure it's set up correctly on both the Azure and ServiceNow sides.

2. ServiceNow Configuration:

  • Confirm that the Secure Webhook application is installed and correctly configured in ServiceNow.
  • Verify that the ServiceNow instance has the necessary ServiceNow Event Management - ITOM version (New York or later).
  • Check that Discovery or Cloud Provisioning and Governance is activated and an active MID Server is available with Microsoft Azure discovery capability.
  • Ensure the MID Server has the necessary credentials to connect to the Azure tenant.
  • Make sure the endpoint URL in the Secure Webhook configuration matches the URL in Azure.

Network Access:

  • Ensure that the Azure service and the ServiceNow instance can communicate over the network. This may involve firewall rules.
  • Verify that there are no proxy settings interfering with the communication.

Authentication Issues:

  • Credential Validation: Check if the credential in the request is present and valid.
  • Endpoint Validation: Verify that the endpoint in ServiceNow is correctly validating the credentials.
  • Microsoft Entra Authentication: Ensure that Microsoft Entra authentication is set up correctly on both Azure and ServiceNow.

Please mark helpful/correct if this helps.