Creating modern teamsite with pnp CSOM, CreateGroupEx error

%3CLINGO-SUB%20id%3D%22lingo-sub-719552%22%20slang%3D%22en-US%22%3ECreating%20modern%20teamsite%20with%20pnp%20CSOM%2C%20CreateGroupEx%20error%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-719552%22%20slang%3D%22en-US%22%3E%3CP%3ESince%20the%2020th%20about%20half%20of%20our%20sites%20created%20with%20the%20standard%20pnp%20CSOM%20Core%20procedure%20(%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fsharepoint%2Fdev%2Fsolution-guidance%2Fmodern-experience-customizations-provisioning-sites%22%20target%3D%22_self%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%3EFrom%20here%3C%2FA%3E)%2C%20are%20failing%20with%20the%20following%20message%3A%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%7B%22d%22%3A%7B%22CreateGroupEx%22%3A%7B%22__metadata%22%3A%7B%22type%22%3A%22Microsoft.SharePoint.Portal.GroupSiteInfo%22%7D%2C%22DocumentsUrl%22%3Anull%2C%22ErrorMessage%22%3Anull%2C%22GroupId%22%3A%2217ffdd43-e84f-42b5-9ffe-ef280d145ad3%22%2C%22SiteStatus%22%3A1%2C%22SiteUrl%22%3Anull%7D%7D%7D%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EAlmost%20all%20of%20the%20other%20sites%20that%20are%20not%20failing%20with%20this%20message%2C%20go%20through%20at%20least%20one%20error%2C%20generally%20because%20site%20isn't%20ready%20yet%2C%20before%20functions%20try%20again%2C%20and%20does%20manage%20to%20create%20a%20custom%20folderset%20and%20custom%20view.%3C%2FP%3E%3C%2FLINGO-BODY%3E
Highlighted
New Contributor

Since the 20th about half of our sites created with the standard pnp CSOM Core procedure (From here), are failing with the following message:

 

{"d":{"CreateGroupEx":{"__metadata":{"type":"Microsoft.SharePoint.Portal.GroupSiteInfo"},"DocumentsUrl":null,"ErrorMessage":null,"GroupId":"17ffdd43-e84f-42b5-9ffe-ef280d145ad3","SiteStatus":1,"SiteUrl":null}}}

 

Almost all of the other sites that are not failing with this message, go through at least one error, generally because site isn't ready yet, before functions try again, and does manage to create a custom folderset and custom view.

0 Replies