This project has moved. For the latest updates, please go here.

WebsCount diplaying 0


Under Site Properties on a site collection WebsCounts is displaying 0 when there are several Webs (sub-sites) in that site collection - what am I missing?

file attachments


BdeJager wrote Feb 1 at 7:33 AM

It's unclear to me what you mean? Can you add a screenshot and error logs?

See Report a bug

wrote Feb 1 at 8:10 PM

kshaw27 wrote Feb 1 at 8:10 PM

This site that I highlighted in the screen shot has over 100 sub sites. The WebsCount should be a count of how many sub sites there are in your site collection - I have 85 site collections and would like to know the total sub sites on my tenant

BdeJager wrote Feb 2 at 8:16 AM

Hi, I did some research and I tracked it back via a post of Tobias Zimmergrim on the WebCount and actually showing SPCB with a working WebsCount property.

Office 365 Dev Tip - Get Subsite Count per Site Collection with the Office 365 (CSOM) API

But looks like it stopped working? I see a post of somebody who has the same issue. I think it is not in the code of SPCB but some changed at Microsoft.

SiteProperties.WebsCount property is returning zero (CSOM)

You might want to flag this with Microsoft as a bug?!

kshaw27 wrote Feb 2 at 5:15 PM

Thank you for the information - I will flag this with Microsoft