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.
----