Forum Discussion
SiteProperties.WebsCount property is returning zero (CSOM)
Hi Deleted,
I've tried the same with Microsoft.SharePointOnline.CSOM.16.1.5903.1200 and it seems to be working without any problem so I don't think that this is related to the version of your CSOM version.
Could this be related to permissions? or an account being locked out?
- DeletedDec 22, 2016
Hi Pieter Veenstra - I'm pretty sure it's not related to CSOM. I'm getting the same results with a few versions of CSOM.
The Microsoft Support Engineer I'm working with has been able to reproduce the issue. He suggested using the "GetSitePropertiesByUrl" method. However, I did some testing and the data returned from the "GetSiteProperties" method does not match the data returned from the "GetSitePropertiesByUrl" method for the same site collection. (TimeZoneID, WebsCount, StorageUsage, LastContentModifiedDate)
He's working to get confirmation from the product group that this is expected behavior or not. I don't see how this can be anything other than a bug.
- DeletedJan 04, 2017
The Microsoft Support Engineer is trying to confirm with the product group that this was intentional.
- Maria ReinbachFeb 09, 2017Copper Contributor
Did you hear back from the MS engineer? I'm experiencing the same issue.