powershell and OneDrive: list of users with folders accessed and their rights

Ale Madama 281 Reputation points
2023-03-01T08:17:20.48+00:00

Hi all,

me and my colleagues we use OneDrive. I have to get a report (a table in excel is ok for example) listing, for each user, all the folder/subfolder a user can access, and the type of access (R/W).

I thought a powershell script. Is it possible?

thank you all

OneDrive
OneDrive
A Microsoft file hosting and synchronization service.
1,121 questions
SharePoint
SharePoint
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
10,712 questions
0 comments No comments
{count} votes

Accepted answer
  1. Adrian Dolder 155 Reputation points
    2023-03-01T08:49:08.0533333+00:00

    Hi @Ale Madama

    Take a look at this blog post and instructions from Mark Rochester. You can do it with a Script and an app registration.
    https://thecloudgeezer.com/onedrive-sharing-report/

    Best regards, Doudi

    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Ale Madama 281 Reputation points
    2023-03-01T09:33:01.73+00:00

    THANK YOU Adrian!

    excellent! I ialready had that app registered!

    let you know

    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.