Ram Kalyugi

Ram Kalyugi

  • NA
  • 100
  • 4.4k

Error in PnP Provisioning script in SharePoint Online

Jul 19 2023 5:12 PM

Hello All,

Few weeks back my PS script was working fine but client told to change few list columns. 

My script is not working after that and showing the below error.

Invoke-PnPSiteTemplate : Error applying default column values
At C:\Users\XS9068\MnAProvisioningSite\MnASiteProvisioning.ps1:253 char:6
+      Invoke-PnPSiteTemplate -Path "PnP-Provisioning-File.xml" -ClearN ...
+      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidOperation: (:) [Invoke-PnPSiteTemplate], PSInvalidOperationException
    + FullyQualifiedErrorId : InvalidOperation,PnP.PowerShell.Commands.Provisioning.Site.InvokeSiteTemplate

I have checked list columns but I did not see anything wrong. Could you please guide me how to rectify this issue.

 

Thank you.

Ram


Answers (1)