HTTP Post to apply site design

Copper Contributor

Hi there

 

I'm trying to bulk apply a specific site design (
_api/Microsoft.SharePoint.Utilities.WebTemplateExtensions.SiteScriptUtility.ApplySiteDesign) but I always get an error "System.IO.FileNotFoundException".

 

Any idea?

 

NasiRibi_0-1674054317818.png

 

1 Reply
Hi,
you can get a 404 Error if you use a wrong guid for "siteDesignId".

Check using
/_api/Microsoft.SharePoint.Utilities.WebTemplateExtensions.SiteScriptUtility.GetSiteDesigns
if you are using the GUID from the Id property.

Best Regards,
Sven