I am currently trying to use the PowerShell command Apply-PnPProvisioningTemplate to apply an XML template to a SharePoint site:
Apply-PnPProvisioningTemplate -Path "<path to the XML file>" -ClearNavigation
But I receive this error:
Apply-PnPProvisioningTemplate : The provided template is not valid!
This has worked without any problem before and I can’t figure out why this would happen.
Any help would be appreciated :]