Getting the folder Role of SharePoint Online document libraries

Occasional Visitor

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 If you look at the documentation on PNP PowerShell there are few videos on how to get started PNP Powershell. 


Hope this helps.

A PnP Short video explaining how to install PnP PowerShell and start using it. More details on PnP PowerShell from
This video gives you the idea on how to start with PnP PowerShell to connect with SharePoint sites. I have covered below areas in this video.1. How to find P...