Question

I would like to get a list of all users and their personal sites (mysites). (This is supposed to run on SharePoint Online from an app or a timer job.) I have tried all day but I can't get past the first step: i.e. to get all users in the tenancy. Anyone know how to?

Was it helpful?

Solution

I would try using Search REST API for this. The API can be used to query User Profiles and return the path to their My Site. You could even create a A-Z directory if you wanted. Very easy to do with search.

OTHER TIPS

The following technet artcile should help - https://technet.microsoft.com/en-us/library/dn911464.aspx

Licensed under: CC-BY-SA with attribution
Not affiliated with sharepoint.stackexchange
scroll top