Forum Discussion
Oliver Zeiser
Oct 18, 2016Brass Contributor
SharePoint Online issues creating site collections via PnP code again...
We are seeing issues when creating new sites via the PnP Core extension method AddSiteCollection. We are seeing this on several customer tenants. Can someone confirm that this is once again a SPO is...
ray hogan
Jan 19, 2017Copper Contributor
We are also seeing this issue. It's extremely frustrating as we are trying to deliver a robust provisioning solution to our customers but are impeded by this seemingly inconsistent issue. Most sites go through end-to-end no problem, but every now and then a site will bomb out. The site collection will still get created but the provisioning code will bomb out with:
"Operation is not valid due to the current state of the object"
at
tenant.CreateSiteCollection(newSite, true, true);
We are attempting to wrap this in some retry logic but we really shouldn't have to. Please fix this Microsoft.