mercredi 25 février 2015

Get all Site Collections with CSOM



I've been working on an provider-hosted app that shows all sitecollections in the current Web application (Tenant). I I've done it on Online using SPOSitePropertiesEnumerable but I've been struggling doing it on-prem. The 15 version of microsoft.online.sharepoint.client.tenant gives me an error saying "Specified method is not supported" when executing the query.


Is there any setting that I've been missing or feature that needs to be activated for that to work? The farm got the November 2014 CU and I've tried to use this against a site collection of TenantAdministration site type that I've got for other reasons but still get the same error.


My question. Is this even possible using CSOM? If not, is there any other way that I can achieve it?








0 commentaires:

Enregistrer un commentaire