webhook subscription event are not sent with validationTokens

Amit Fidler 1 Reputation point
2021-02-08T17:13:05.977+00:00

I successfully created webhooks to one drive resources and getting I am getting webhook events.
The problem is with the validationTokens property,
that is not being sent, in addition to the value property which contains the array of driveItems.
I could not find any configuration in order to add the validationTokens as mentioned in the section bellow.
please assist if possible.
thanks!

https://learn.microsoft.com/en-us/graph/webhooks-with-resource-data#validating-the-authenticity-of-notifications

the event i'm getting:

{
value: [
{
subscriptionId: 'xxxxx',
clientState: '123',
resource: 'drives/driveid/root/',
tenantId: 'yyyyyyy',
resourceData: null,
subscriptionExpirationDateTime: '2021-02-10T08:00:00-08:00',
changeType: 'updated',
},
],
}

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
12,456 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Deva-MSFT 2,266 Reputation points Microsoft Employee
    2021-02-09T18:11:07.09+00:00

    Refer the supported resources section and it talks about what resources it supports.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.