Problem tracking changes with Delta creating a new SharedLink

Andoni Obregón 1 Reputation point
2021-02-19T11:08:14.537+00:00

Hi,

I am working with Delta Queries in C#. When I use a Delta query to get all changes in a list, I can get all type of changes but I have problems when I create a sharedLink. I can't detect any change in this case. It is my call: _graphServiceClient.Sites[siteId].Lists[listCtag].Drive.Root.Delta().Request().Header("Prefer", "deltashowsharingchanges").GetAsync(); Do you know what is the problem?

Best regards, Andoni.

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,713 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Andoni Obregón 1 Reputation point
    2021-02-25T15:41:44.95+00:00

    Hi,

    Thank you for your answer.

    In this post it is described. https://learn.microsoft.com/en-us/graph/api/driveitem-delta?view=graph-rest-1.0&tabs=http.

    I can see that that exist the option deltashowsharingchanges. It is for this purpose?

    I can get changes when I change the permissions in the files or folders. But if I create a SharedLinks any change can be detected.

    0 comments No comments