Getting the contents of the recycle bin from msgraph fails

Rémi Picot 0 Reputation points
2025-02-21T10:03:09.03+00:00

Hello there, I'm trying to use msGraph to get the content of a recycle bin

I'm using a request like this using app permissions

https://learn.microsoft.com/en-us/graph/api/filestoragecontainer-list-recyclebinitem?view=graph-rest-1.0

so this request :

GET /storage/fileStorage/containers/{containerId}/recycleBin/items

On the {containerId} I put my driveId

I tried directly with a curl like request and with the latest version of the official java connector to msgraph.

Do anyone manages to make it work ?

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

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.