Thangu's Tiny Tool - Remove Unique Permissions for all files for a sharepoint document library
Benefits?1. View all details in Report
2. Email sent.
3. Useful when PnP does not work
Prerequisite: Best to install Microsoft.Online.SharePoint.PowerShell though the code takes care of installing if not exists.
If you are interested in other scripts of mine, ensure you have prerequisites like https://www.microsoft.com/en-in/download/details.aspx?id=35588 and PnP SharePoint. Another Sample PowerShell app demo here https://www.youtube.com/embed/Nt-3rpT0KfA. Give the Folder name which you want to see report.