Forum Discussion
gonxman
Nov 04, 2022Copper Contributor
Sharepoint webhooks - Failed to validate the notification URL
Hi im trying to create a webhook via our Sharepoint 365 https://tenantname.sharepoint.com/sites/Test_Site/_api/lists/GetByTitle('Documents')/subscriptions { "resource":"https://tena...
SvenSieverding
Nov 04, 2022Bronze Contributor
It seems like SharePoint cannot validate the Webhook.
Does your Endpoint return the validationtoken within 5 Seconds, i.e.
POST https://somecloud.com/AppFormAPI/rest/v1/notifications?validationtoken={randomString}
returns {randomString}
Does your Endpoint return the validationtoken within 5 Seconds, i.e.
POST https://somecloud.com/AppFormAPI/rest/v1/notifications?validationtoken={randomString}
returns {randomString}
- gonxmanNov 05, 2022Copper ContributorEndpoint returns with randomString within 5 secs when tested with Postman. But the Add Subscription call still fails with a 400 Bad Request.
- SvenSieverdingNov 05, 2022Bronze ContributorI once had a similar issue... My problem then was TLS Encryption on my webhook.... You need to have TLS 1.2
https://devblogs.microsoft.com/microsoft365dev/microsoft-graph-subscriptions-deprecating-tls-1-0-and-1-1/