I'm trying to enumerate all site collections/tenants a user has access to in SPO. I've attempted to use the
Office 365 eDiscovery Service to obtain the list of sites but the only SP related info I get back is 'My Files' which contains an endpoint to the user's My Site. What I need is a list of all SP sites a user has at least read access to.
The scenario is that I have a provider hosted web app, if a user is directly loads my app without any SP context info, I would like to redirect for auth (if needed) and then present the user with a list of SP sites they have access to using those credentials.
The scenario is that I have a provider hosted web app, if a user is directly loads my app without any SP context info, I would like to redirect for auth (if needed) and then present the user with a list of SP sites they have access to using those credentials.