What will be the graph API Delta response for the below scenarios?

Nithish kumar 1 Reputation point
2023-01-03T15:37:36.75+00:00

I'm using drives/{dirveId}/root/delta endpoint to get all the changes and I'm using "Prefer: deltashowremovedasdeleted, deltatraversepermissiongaps, deltashowsharingchanges" headers to get the sharedChanged notation.

I've a folder with 3 children. I have created an organization link for one children in the folder.

Scenario 1:
What will be the graph API response, If I create an Organization Link for the folder? Will the response only contains the root and the particular folder which has sharing changes? or the response will contain the root, the folder and the children which I've created an Org. link before (This is what I get for this scenario).

Scenario 2:
What will be the graph API response, If I delete an Organization Link for the folder? Will the response only contains the root and the particular folder which has sharing changes(This is what I get for this scenario)? or the response will contain the root, the folder and the children which I've created an Org. link before.

Why the responses vary as these two scenarios have permission related changes only for that particular folder?

Microsoft 365 and Office | SharePoint | For business | Windows
Microsoft Security | Microsoft Graph
{count} votes

1 answer

Sort by: Most helpful
  1. Gopinath Chennamadhavuni 2,446 Reputation points
    2023-01-10T07:02:43.667+00:00

    Hi @Nithish kumar ,

    Thanks for reaching out.

    In both scenarios I am getting the same response in hierarchy i.e., root, folder and children from Graph API: drives/{dirveId}/root/delta. I have noticed only the scope parameter that is missing in delete organization response, but it is there in create organization link.

    277793-delta-ss.png

    Kindly check the graph call again and if still you are getting the difference in delta graph response, I would recommend you to raise a support case with Microsoft Graph, a Support Engineer will be able to assist you better. You can raise a support ticket from http://aad.portal.azure.com/ or https://admin.microsoft.com/#/support/requests.

    Hope this helps.

    If the answer is helpful, please click Accept Answer and kindly upvote. If you have any further questions about this answer, please click Comment.


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.