SharePoint CSOM, retrieving site collections. Limited to 300?
问题 I am trying to retrieve the site collections list from a SharePoint Online domain. I am using C# and client object model. The following code returns only 300 site collections. var tenant = new Tenant(ctx); spp = tenant.GetSiteProperties(0, true); ctx.Load(spp); ctx.ExecuteQuery(); Any idea on how to retrieve ALL site collections with CSOM ? Thanks 回答1: I found the answer to this question, the first parameter of the method GetSiteProperties is the index from which site collection retrieval