Listing files in OneDrive recycle bin? #3024
Maekee (maekee)
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
I have been able both with Graph API call and PowerShell cmdlets in microsoft.graph.files (2.24.0) list all files in other users onedrives, also delete items, but when i delete a file it is placed in the recycle bin, and then i cannot reach it anymore with cmdlet or API.
What am i missing?
Tried this for example:
Get-MgUserDriveItem -DriveId $onedriveID -UserId $userID -Filter "deleted eq null"
This returns nothing, but if i switch to ne null, then i get everything listed. The same works for Get-MgDriveItem
All reactions