Skip to main content

Notifications

Announcements

No record found.

Small and medium business | Business Central, N...
Answered

Microsoft Entra webhook registration doesn't work.

Posted on by 5
 
Sadly, it returns this error (I don't know how to retrieve the inner exception) without contacting my service:
 
{'error': {'code': 'BadRequest',
           'message': 'An error has occurred while authenticating service '
                      'specified in the notificationUrl. Exception Message: '
                      'The SSL connection could not be established, see inner '
                      'exception.  CorrelationId:  '
                      'xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx.'}}
 
I used this request body:
 
{
    /notificationUrl/: https://my-url.de/webhook_test/,
    /resource/: f/api/v2.0/companies({COMPANY_ID})/customers/,
    /clientState/: /my-secret/,
}
 
And this HTTP header:
 
{'Content-type': 'application/json',
 'Authorization': 'Bearer XXXXX...'}
 
 
I already verified the correctness of the SSL setup using https://www.sslshopper.com/ssl-checker.html and my browser.
The certificate was obtained using https://letsencrypt.org/
 
Is there anything I can do to see the error message or fix the problem?
Categories:
  • Verified answer
    YUN ZHU Profile Picture
    YUN ZHU 73,647 Super User 2024 Season 2 on at
    Microsoft Entra webhook registration doesn't work.
    Hi, hope the following can give you some hints.
     
     
    Thanks.
    ZHU

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,269 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,198 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans