Hi,
I got a request that I need to list urls for all my sites for users in a tenant but I have no idea how to do this. I googled a lot but found nothing.
I tried the SP Online API, and it's capable to load all sites in a tenant if provide with an admin site url and credentials for an tenant administrator. But there's no my sites listed.Seems my sites are in a different tenant?
Then I found that if I can get the profile for one user and then I'll be able to get the url of this user's my site. So I turned to find a way to list profiles for all users. But again I found nothing.
I'm know just wondering whether there's a way or workaround to get this done programatically? Load all my sites/user profiles?
Any advice is highly appreciated. Thanks.
Cavendish Feng