Forum Discussion
Fromelard
Oct 14, 2020Steel Contributor
SharePoint - How to bypass the 100'000 items limitation to manage permissions inheritance
When we are starting to convert our users from File Servers to SharePoint Online, the content loading into Document Libraries start to be complex. Permission Manage is one of the biggest challenge, ...
Eleric0
Apr 25, 2023Copper Contributor
This worked for me but restoring is terrible. I had to select some 20'000 folders just hoping that I did not miss something..
- jnhrvNov 06, 2023Copper Contributor
Eleric0 For me, the following cmdlet worked:
$deleteditems = Get-PnPRecycleBinItem -RowLimit 500000 | Where{($_.DirName -like "teams/teamName/libraryName*") -and ($_.DeletedByEmail -eq "email address removed for privacy reasons") -and ($_.DeletedDateLocalFormatted -like "11/6/2023*")} | Restore-PnPRecycleBinItem -Force
Also, see - SharePoint Online: Restore a Document from the Recycle Bin using PowerShell - SharePoint Diary