Collaborate without boundaries

Re: List of Site Collections programmatically

List of Site Collections programmatically

  • 1 Follower
  • 2 Replies |
  • This post has 1 verified answer |
Answered (Verified) This question is answered

Hello,

Does somebody knows how to get the list of SharePoint site collections programmatically? (The list we get through https:// mydomainname-admin.sharepoint.com/_layouts/online/SiteCollections.aspx)

Thanks,

David.

    0 out of 1 people found this post helpful.

Verified Answer
All Replies
  • Hello,

    Thanks for the answer.

    Most probably there is no way to get the list of site collections programmatically. The GetContent function from the SiteData web service would do the job but unfortunately the admin account we have on the SharePoint Online doesn't have enough permissions to retrieve informations about the "VirtualServer" and "ContentDatabase" that would result in the list of site collections.

    Answering to your question related to the other thread, Yes I'm able to use both the Client Object Model and the Web Services whit the workaround. This is not a solution that I would use in production but for development it's fine.

    Regards,

    David.

    • Not Ranked
    • Male
Page 1 of 1 (3 items)