web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Service | Customer Service, Contact Center, Fie...
Suggested answer

ACS webhook authentication to Contact Centre

(1) ShareShare
ReportReport
Posted on by 11
Currently having significant issues with setting up an Azure Communication Services Event to send an incoming call into Dynamics.
 
Followed all the documentation, keep getting the following error:
 
Deploying Event Subscription: MEG-IncomingCall-Subscription
Deployment has failed with the following error: {"code":"URL validation","message":"Webhook validation handshake failed for https://v-c3f5a89b-f956-f011-8ee6-002248c6b6a6.uk.omnichannelengagementhub.com/dynamics/omnichannel/voice/incoming. Http POST request failed with response code Unknown. For troubleshooting, visit https://aka.ms/esvalidation. Activity id:cb8fa7b4-1fd1-4131-8d6c-6a3cdb7f7364, timestamp: 8/19/2025 12:54:22 PM (UTC)."}
 
 
 
 
 
 
 
I have the same question (0)
  • SA-30061402-0 Profile Picture
    11 on at
    ACS webhook authentication to Contact Centre
    Thank you both for your responses, just wanted to provide some additional detail. 
     
     
    • The apps are in the same tenant
    • event subscription is being configured by application
    • I have updated these variables to match
      • $webhookAppObjectId: Microsoft Entra application ID created for the webhook (Dynamics 365 Customer Service/Contact Centre)
      • $eventSubscriptionWriterUserPrincipalName: Azure user principal name of the user who creates event subscription (Azure Communications Services Service Principal)
    • AzureEventGridSecureWebhookSubscriber has been created and assigned to the Event Subscription Writer
    • I have the Application Administrator role in Entra
    • Event Grid subscription writer app has the Event Grid Contributor role
    • I am using the Azure Shell, Powershell environment 
    • I have signed in to the Azure shell using the Event Grid subscription writer Microsoft Entra Application
    • I am getting the same error when running this script in Azure Shell:

     
    (URL validation) Webhook validation handshake failed for https://v-c3f5a89b-f956-f011-8ee6-002248c6b6a6.uk.omnichannelengagementhub.com/dynamics/omnichannel/voice/incoming. Http POST request failed with response code Unknown. For troubleshooting, visit https://aka.ms/esvalidation. Activity id:dd2582b8-3e18-4450-a184-9979c2b34b49, timestamp: 8/20/2025 2:05:59 PM (UTC).
    Code: URL validation
    Message: Webhook validation handshake failed for https://v-c3f5a89b-f956-f011-8ee6-002248c6b6a6.uk.omnichannelengagementhub.com/dynamics/omnichannel/voice/incoming. Http POST request failed with response code Unknown. For troubleshooting, visit https://aka.ms/esvalidation. Activity id:dd2582b8-3e18-4450-a184-9979c2b34b49, timestamp: 8/20/2025 2:05:59 PM (UTC).
     

     
    Re your comments:
     
    Public Access: Make sure your webhook URL is publicly reachable and not blocked by firewalls or IP restrictions
    This has been set to public network
     
    Validation Response: Your endpoint must respond to the Event Grid validation event with the correct validation code. This is required for handshake completion.
    This could be one of the issues I'm having. How do i confirm this is setup correctly?
     
    HTTPS/TLS: Ensure your endpoint uses HTTPS with a valid, trusted SSL certificate.
    This could also be one of the issues I'm having. How do i confirm this is setup correctly?
     
    Managed Endpoint Checks: If the endpoint is hosted in Dynamics or Omnichannel, confirm it’s configured to accept Event Grid validation requests.
    Again on this point, how do I confirm this is configured correctly?
    •  
     
    Thank you both for your help with this, it is appreciated 
     
     
     
  • Suggested answer
    Nour Abuzaid Profile Picture
    121 on at
    ACS webhook authentication to Contact Centre
    Here’s a concise explanation for your ACS webhook authentication issue with Dynamics 365 Contact Center:
     
    The “Webhook validation handshake failed” error occurs because Azure Event Grid couldn’t successfully validate your endpoint. To fix it:
     
    Public Access: Make sure your webhook URL is publicly reachable and not blocked by firewalls or IP restrictions.
    Validation Response: Your endpoint must respond to the Event Grid validation event with the correct validation code. This is required for handshake completion.
    HTTPS/TLS: Ensure your endpoint uses HTTPS with a valid, trusted SSL certificate.
    Managed Endpoint Checks: If the endpoint is hosted in Dynamics or Omnichannel, confirm it’s configured to accept Event Grid validation requests.

     
    In short: the endpoint must be publicly accessible, respond correctly to validation events, and support secure HTTPS.
  • Suggested answer
    DAnny3211 Profile Picture
    10,787 Moderator on at
    ACS webhook authentication to Contact Centre

    Hi,

    Thank you for sharing the error details. The issue you're encountering during the webhook validation handshake typically points to a problem with the endpoint not responding as expected during the Azure Event Grid subscription setup.

    Here are a few things to check:

    • Ensure the endpoint is publicly accessible and not behind a firewall or authentication layer that blocks Azure’s validation request.
    • Verify that the endpoint supports the validation handshake required by Azure Event Grid. This involves responding to the validation event with the correct validation code.
    • Check TLS/SSL configuration on the endpoint. Azure requires secure HTTPS communication with a valid certificate.
    • Review the documentation at aka.ms/esvalidation for detailed troubleshooting steps and examples of how the endpoint should respond.

    If the endpoint is hosted within Dynamics or a managed service, you may need to confirm with your environment administrator that it’s configured to accept and respond to Azure Event Grid validation requests.

    Please verify if this response was helpful.

    Thanks and best regards,
    Daniele
    Note: This response was prepared with support from Copilot to ensure clarity and completeness.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Mansi Soni – Community Spotlight

We are honored to recognize Mansi Soni as our August 2025 Community…

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Service | Customer Service, Contact Center, Field Service, Guides

#1
Muhammad Shahzad Shafique Profile Picture

Muhammad Shahzad Sh... 431 Most Valuable Professional

#2
Tom_Gioielli Profile Picture

Tom_Gioielli 37 Super User 2025 Season 2

#3
Daniyal Khaleel Profile Picture

Daniyal Khaleel 29

Featured topics

Product updates

Dynamics 365 release plans