how to generate a report for files and folders access level in sharepoint

Sasan 1 Reputation point
2020-09-09T16:14:50.533+00:00

Hello all,

I need to generate a report that shows each user's access to each file and folder in the document library in Sharepoint (O365). Can you please help me? I need it and I need it urgently.

Your assistance is highly appreciated!

Thank you

SharePoint
SharePoint
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
11,094 questions
{count} votes

3 answers

Sort by: Most helpful
  1. SethWH 436 Reputation points
    2020-09-09T18:00:31.033+00:00
    1 person found this answer helpful.
    0 comments No comments

  2. ChelseaWu-MSFT 6,331 Reputation points
    2020-09-10T02:30:09.16+00:00

    Here is a sample script to generate a report for Library, Folder, Item level permissions, please find it in attachment: 23686-librarypermissionreport.txt

    Note that you need to modify the parameters in this section:
    23680-annotation-2020-09-10-101118.png

    Output for the sample:
    23693-annotation-2020-09-10-101353.png

    Reference: SharePoint Online: Get Document Library Permissions and Export to CSV using PnP PowerShell.


    If an Answer is helpful, please click "Accept Answer" and upvote it.
    **Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread. **

    1 person found this answer helpful.

  3. Lou Pereira 16 Reputation points
    2021-10-07T00:27:39.563+00:00

    Hello, I'm new to this and get the following error when running the script without make changes?
    Error Generating List Permission Report! Invalid URI: The format of the URI could not be determined.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.