SharePoint Online Powershell | Get Document Library Folders & Sub Folders permission report

%3CLINGO-SUB%20id%3D%22lingo-sub-2632139%22%20slang%3D%22en-US%22%3ESharePoint%20Online%20Powershell%20%7C%20Get%20Document%20Library%20Folders%20%26amp%3B%20Sub%20Folders%20permission%20report%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2632139%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20There%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20have%20a%20SharePoint%20Online%20site%2C%20within%20this%20I%20have%20a%20Document%20Library%20and%20within%20the%20Document%20library%20there%20is%20one%20folder%20and%20within%20the%20one%20folder%20there%20are%20many%20sub%20folders%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EBelow%20just%20one%20example%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22shabeersa_0-1628602621351.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F302171i52721625A6FCFFFB%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22shabeersa_0-1628602621351.png%22%20alt%3D%22shabeersa_0-1628602621351.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3EDocument%20Library%20%3D%20Jonsson%20Group%3C%2FP%3E%3CP%3EMain%20Folder%20%3D%20Supplier%3C%2FP%3E%3CP%3ESub%20Folder%20%3D%20NPI%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ENow%20I%20need%20a%20report%20or%20csv%20report%20using%20Sharepoint%20Online%20Powershell%20to%20get%20the%20user%20and%20group%20permission%20for%20Sub%20Folder%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ELike%3A%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22shabeersa_1-1628602928952.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F302172iE0CD0587D1D7A9D6%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22shabeersa_1-1628602928952.png%22%20alt%3D%22shabeersa_1-1628602928952.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3EPlease%20provide%20me%20a%20powershell%20script%20to%20run%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ERegards%3C%2FP%3E%3CP%3EShabeer%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-2632139%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EPermissions%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EPowerShell%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ESharePoint%20Online%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
Occasional Visitor

Hi There

 

I have a SharePoint Online site, within this I have a Document Library and within the Document library there is one folder and within the one folder there are many sub folders 

 

Below just one example

shabeersa_0-1628602621351.png

Document Library = Jonsson Group

Main Folder = Supplier

Sub Folder = NPI

 

Now I need a report or csv report using Sharepoint Online Powershell to get the user and group permission for Sub Folder 

 

Like: 

shabeersa_1-1628602928952.png

Please provide me a powershell script to run

 

Regards

Shabeer

 

0 Replies