SharePoint Modern site limitation for Site Script and Site Design

%3CLINGO-SUB%20id%3D%22lingo-sub-209275%22%20slang%3D%22en-US%22%3ESharePoint%20Modern%20site%20limitation%20for%20Site%20Script%20and%20Site%20Design%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-209275%22%20slang%3D%22en-US%22%3E%3CP%3EI%20have%20to%20create%20site%20columns%2C%20content%20type%20along%20with%20custom%20list%20.%20So%20for%20that%20i%20wrote%20JSON%20schema%2C%20but%20if%20I%20exceed%20actions%20limit%20in%20JSON%20schema%20more%20than%2030(including%20sub-actions)%2C%20I%20couldn't%20create%20Site%20Design.%20It%20will%20give%20me%20only%20Initializing%20icon%20and%20nothing%20is%20happen.%20Can%20you%20please%20tell%20me%20what%20can%20I%20do%20to%20achieve%20functionality%20having%20more%20than%2030%20actions%3F%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-218711%22%20slang%3D%22en-US%22%3ERe%3A%20SharePoint%20Modern%20site%20limitation%20for%20Site%20Script%20and%20Site%20Design%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-218711%22%20slang%3D%22en-US%22%3E%3CP%3ENot%20sure%20if%20you%20are%20still%20having%20issues%20but%20the%20best%20way%20to%20add%20further%20actions%20is%20to%20trigger%20a%20Flow%20that%20can%20either%20do%20the%20additional%20actions%20or%20it%20can%20trigger%20an%20Azure%20Function%20to%20call%20the%20PnP%20Provisioning%20in%20C%23%20or%20PowerShell.%20There%20are%20some%20great%20details%20at%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fsharepoint%2Fdev%2Fdeclarative-customization%2Fsite-design-overview%23pnp-provisioning-and-customization-using-microsoft-flow%26nbsp%3B%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fsharepoint%2Fdev%2Fdeclarative-customization%2Fsite-design-overview%23pnp-provisioning-and-customization-using-microsoft-flow%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E
Highlighted
New Contributor

I have to create site columns, content type along with custom list . So for that i wrote JSON schema, but if I exceed actions limit in JSON schema more than 30(including sub-actions), I couldn't create Site Design. It will give me only Initializing icon and nothing is happen. Can you please tell me what can I do to achieve functionality having more than 30 actions? 

1 Reply
Highlighted

Not sure if you are still having issues but the best way to add further actions is to trigger a Flow that can either do the additional actions or it can trigger an Azure Function to call the PnP Provisioning in C# or PowerShell. There are some great details at https://docs.microsoft.com/en-us/sharepoint/dev/declarative-customization/site-design-overview#pnp-p...