We have a request from our auditors to provide a csv file, that contains for each document library in a site, unique permissions applied on only the first level of folders within the document library, without going into each subfolder.

I've found PnP PowerShell scripts that retrieve security for all subfolders, but couldn't find any for only top level folders.

  • Please share PnP PowerShell Script which you are using currently Commented Dec 26, 2022 at 7:37
  • As per my knowledge I'm afraid it is impossible.
    – Allen_MSFT
    Commented Dec 28, 2022 at 1:00


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.