Description
Is your feature request related to a problem? Please describe.
When creating a new site, I sometimes need to be able to apply 2 separate Site Designs where the second is dependent on the first.
Describe the solution you'd like
Is it possible to add a dependency or potentially an order of processing when using Add-PnPSiteDesignTask to add more than one task?
Describe alternatives you've considered
I am currently applying the first then testing in a loop until I know it has applied then I trigger the second. While it works it feels rather clunky and that there should be a better way. I appreciate these are likely async calls so was hoping there could be some way to indicate the second was dependent on the first or similar.
Understand I can use Get-PnPSiteDesignRun but as far as I can tell this would still need to be called in a loop until it showed success.
Thanks :)