Share via

Calling delta link on sharepoint sites do not indicate which one is deleted

Luigi Gravel 0 Reputation points
2024-04-15T21:16:05.5966667+00:00

As you can see here, as the site were deleted, it appears in the delta call but nothing indicate if this site was modified, delete or added... we have no choice but calling each site to verify if it still exists

 
{
 "@odata.context": "https://graph.microsoft.com/v1.0/$metadata#sites",
 "@odata.deltaLink": "https://graph.microsoft.com/v1.0/sites/delta?token=...",
 
 "value": [
      {
            "createdDateTime": "2024-05-13T17:53:25Z",
            "id": "qodev.sharepoint.com,...",
            "name": "deleted site 4",
            "webUrl": "https://.../sites/myDeleteSite4",
            "displayName": "My deleted site 4",
            "isPersonalSite": false,
            "siteCollection": {
                "hostname": "...sharepoint.com"
            },
            "root": {}
     }
   ]
}
Microsoft Security | Microsoft Graph
0 comments No comments

1 answer

Sort by: Most helpful
  1. Hitesh Pachipulusu - MSFT 3,640 Reputation points Microsoft External Staff
    2024-05-14T18:05:36.2133333+00:00

    Hello @Luigi Gravel ,

    As per the Microsoft documentation https://learn.microsoft.com/en-us/graph/api/site-delta?view=graph-rest-1.0&tabs=http, below is the response you get.

    User's image

    Only above information will be received in response.

    I understand that this may affect your use case. I encourage you to submit your feedback on this issue to our feedback portal: https://aka.ms/graphfeedback

    This portal is monitored by our product team, and they will consider your feedback for future improvements.

    Hope this helps. If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    0 comments No comments

Your answer

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