Forum Discussion
Add-SPOSiteDesignTask : Operation is not valid due to the current state of the object.
Dinesh Bhat I've historically encountered this same error, albeit not with the SPOSiteDesignTask cmdlet. Have you ensured that the site that you're trying to interact with is not being edited by anybody else at the time that the command is running, and that any pending changes have been published? Have you also encountered this same issue with different site designs, or is it only this site design which has been presenting issues?
Hope this helps!
rowanhucklebridge , Thanks for the reply. I have created new site without any additional content. So there is no pending changes and I am the only person having access to the site.
if I create site design for each site script its working good. But only problem I need register multiple site design to tenant.
if I combine site script and registered as one site design, throwing below error.
Please share your thought