Forum Discussion

Simon Giles's avatar
Simon Giles
Copper Contributor
Jun 20, 2018

SharePoint Online CSOM Tenant API access without farm admin

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

3 Replies

  • Anonymous's avatar
    Anonymous

    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. 

    • Simon Giles's avatar
      Simon Giles
      Copper Contributor

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

      • Anonymous's avatar
        Anonymous

        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-other-details-from-sharepoint-online-using-tenant-administration-api/

         

         

Resources