SharePoint Online Powershell | Get Document Library Folders & Sub Folders

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

122031-image.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:
122013-image.png

Please provide me a powershell script to run

Regards

Shabeer

Shabeer,
Welcome to the forum. :wave:t4:

Unfortunately I don’t have any experience with SharePoint Online but I used the subject you used for this thread added a β€œpermissions” to it and searched Google for that:

https://www.google.com/search?q=SharePoint+Online+Powershell+Get+Document+Library+Folders+and+Subfolders+Permissions&spell=1&sa=X&ved=2ahUKEwi1u6HS3qbyAhWB7aQKHYNsB3IQBSgAegQIARA4&biw=1348&bih=1062

I’d expect some of the hits may help you creating a script for yourself. Like this maybe:

or this:
https://social.technet.microsoft.com/Forums/en-US/1d7bd511-4458-47c4-a2ae-be3e8fed56ba/sharepoint-online-powershell-to-get-library-permission?forum=onlineservicessharepoint

1 Like