Forum Discussion
Dominic Horne
Jul 12, 2018Brass Contributor
Office 365 - Retrieve all sites a user has access to
What is the best way to retrieve all sites a user has access to in Office 365 using a script that runs outside Office 365 and how do we simulate user authentication ? Can a solution be implemted us...
Jul 12, 2018
You don't need to simulate user authentication, just use a user with the required permissions to get for each user the sites he can access. I would recomend to use Search API for this requirement
Dominic Horne
Jul 23, 2018Brass Contributor
Azure AD app regustration has permissions that allow an app to Search as another user for O365 SharePoint Online.