Quantcast
Channel: SharePoint 2013 - Development and Programming forum
Viewing all articles
Browse latest Browse all 7589

O365 CSOM (Javascript) list SiteCollections in tenancy

$
0
0

I need to retrieve ALL site collections from a tenancy using CSOM (javascript) from O365 using sharepoint-hosted app.
This SharePoint-hosted app will be a tenant app (installed by admin).

I am able to retrieve webs from a particular site collection using CSOM (javascript), Also I need to retrieve all site collections under the tenancy.

using "SP.AppContextSite" I am even able to reach cross site collection content.

I need to know how to retrieve site collections within tenancy.

Can help or suggestion is appreciated.

----


Viewing all articles
Browse latest Browse all 7589

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>