SharePoint Online CSOM Tenant API access without farm admin

Highlighted
New Contributor

Is it possible to access the CSOM Tenant API (in particular Tenant.GetSiteProperties) without having farm admin rights?

3 Replies
Highlighted

I think just to make this API work for on-prem and setting up Tenant admin server stub and tenant admin site collection you need farm admin rights. After this step to access CSOM API you might not need farm admin rights. 

Highlighted

Thanks, I am inquiring about SPO though (not on-prem), please.

Highlighted

Okay sorry when you said farm admin i got confused. From the sample Microsoft provided it seems like you need tenant admin access

https://blogs.technet.microsoft.com/sharepointdevelopersupport/2017/01/18/how-to-get-webscount-and-o...