Getting the folder Role of SharePoint Online document libraries

Copper Contributor

Hi I'm Yuki.

We have granted a unique Role to SharePoint Online document libraries.
I'd like to use PowerShell to get a list of the Role of all the folders in the document library.
and I want to output the member (or users) list that has Role for folders to CSV.
but,I can not create PowerShell script,because I did not have any knowledge.

I am sorry to trouble you, but would you teach me the way?
Thank you.

2 Replies

@user 01, you can learn from here https://github.com/SharePoint/PnP-PowerShell. If you look at the documentation on PNP PowerShell there are few videos on how to get started PNP Powershell.

 

https://www.youtube.com/watch?v=mLZljaokW28

https://www.youtube.com/watch?v=-VLGj-kV0Pw 

 

Hope this helps.