Gathers all the Access Apps per site collection or for all site collections and exports to a CSV .

 

 Required: Download and install SPO PowerShell Module 
 Required: Download and install SharePoint 2013 Client Components SDK 

 Examples:

 

Please remember this script uses "Switches" so you must run it in the command prompt like the examples below!


##  .\CSOM-GetAllAccessApps.ps1 -username acktor@salarson.msftonlinerepro.com -SPOAdminURL https://superdomain.sharepoint.com -processSingleSite -URL https://superdomain.sharepoint.com


##  .\CSOM-GetAllAccessApps.ps1 -username acktor@salarson.msftonlinerepro.com -SPOAdminURL https://superdomain-admin.sharepoint.com -processAllSites

 

 

*************PLEASE NOTE**************

 

If you have issues running the script or resolving the parameters you may need to run "Unblock-File" on the PS1 !

 

This script also does not work with MFA (Multi factor auth) enabled accounts.

 

****************************************

 

***************************************

UPDATE 6/23/2017 ---- THIS NOW SCANS ALL SUBWEBS AS WELL 

***************************************