May 12 2017 08:56 AM
I am searching for a script or a tool that generates reports by digging through our complete Sharepoint Online Sites and Subsites and doclibs within this Sites and Subsites.
I have (a compliance team requirement) to generate two kind of lists on demand:
1) Who has access on which level for URL contoso.sharepointonline.com/sites (or contoso.sharepointonline.com/sites/puppyheaven or contoso.sharepointonline.com/old-subsite) recursively? That includes a seperate report for each doclib (or other app) with different permissions.
2) Show all Items the user "ernest.example@contoso.com" has access to within the whole Sharepoint or beginning with URL ontoso.sharepointonline.com/sites (or contoso.sharepointonline.com/sites/company1) for internal users or for guests (some.user@some-corp.com) recursively.
What makes it more difficult ist the fact that we are mixing Sharepoint Groups (for colleagues that have cloud accounts) and Active Directory Groups (for users coming from our AD synced domain).
I searched a lot for this in recent weeks. I found a lot of Pwershell stuff but allways only for Sharepoint on premise. Whatever I tried to track this problem down with Sharepoint Online Powershell - nothing worked well. So I appreciate any help.
May 14 2017 03:46 PM
May 14 2017 05:02 PM
Depending on how much time you want to invest in it yourself you could use office graph with PowerShell (or another language): https://developer.microsoft.com/en-us/graph/ which is what AvePoint, ShareGate and all the others generally use to pull the information.
The other option is to use the SharePoint powershell module in conjuction with some other powershell modules like SharePoint SDK - https://www.powershellgallery.com/packages/SharePointSDK/2.1.0
You should be able to get most of the information you are after with these and a few for loops.
It will come down to a time investment vs paying a monthly fee.
Sep 07 2017 05:18 AM