MS Graph - Subscription notificationURL as Make.com Webhook

Hello,

Has anyone had luck setting a MS Graph Subscription notificationUrl as a make.com webhook?

Currently I am making a HTTP request with a microsoft application for authorization to create a MS graph subscription. The permissions are setup correct on the MS application end and I am authenticating with a bearer token and can use the API directly.

Although, when trying to create a subscription through the HTTP module I am getting Error 400 returned although on the Webhook module it is capturing the response:

[
{
“validationToken”: “Validation: Testing client application reachability for subscription Request-Id: (redacted)”
}
]

The error I am receiving on the HTTP module is:

Error: 400 Bad Request
{“error”:{“code”:“ValidationError”,“message”:“Accepted”,“innerError”:{“date”:“2024-11-10T22:46:42”,“request-id”:“(redacted)”,“client-request-id”:“(redacted)”}}}

Welcome to the Make community!

According to python - Creating Subscription for Microsoft Graph API: Subscription validation request failed - Stack Overflow,

Other than the webhook requests you are expecting, MS Graph will also send you “validation” requests, that your scenario will also have to handle - decode and respond within 10 seconds using a Webhook Response module.

Hope this helps! Let me know if there are any further questions or issues.

— @samliew

P.S.: Investing some effort into the Make Academy will save you lots of time and frustration using Make.

1 Like