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

Ale Madama 291 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

Microsoft 365 and Office | SharePoint | For business | Windows
Microsoft 365 and Office | OneDrive | For business | Windows
0 comments No comments
{count} votes

Answer accepted by question author
  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 291 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' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.