OneDrive for Business shared items inventory

The script enumerates all files in all OneDrive for Business drives in your tenant. If the file is shared, the corresponding permissions are gathered. Output is displayed in the console, stored in variable for reuse and exported to CSV file.

 
 
 
 
 
(0)
525 times
Add to favorites
Office 365
9/16/2019
E-mail Twitter del.icio.us Digg Facebook
  • how to get the GUID of app ?
    2 Posts | Last post November 14, 2019
    • $appID = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" #the GUID of your app. For best result, use app with Sites.ReadWrite.All scope granted.
      I have the Sites.ReadWrite.All permission granted to my global admin, the account i am using to run the script.
    • You need to create the app in the Azure AD portal. The permissions in question are granted to the app, not a user. Read the linked article (in the description) if you need help with that.