SharePoint/sp-dev-provisioning-templates

JSON value could not be converted to System.Int32 while provisioning HR template

Opened this issue · 0 comments

Hi, Can anyone help me out?
Getting this error while provisioning PnP template for Department-HR

Invoke-PnPTenantTemplate -Path D:\contosoworks.pnp -Parameters @{"SiteUrl"="/sites/site_name"}
Invoke-PnPTenantTemplate : The JSON value could not be converted to System.Int32. Path: $.position.sectionIndex |
LineNumber: 0 | BytePositionInLine: 62.
At line:1 char:1

  • Invoke-PnPTenantTemplate -Path D:\contosoworks.pnp -Parameters @{"Sit ...
  •   + CategoryInfo          : InvalidOperation: (:) [Invoke-PnPTenantTemplate], PSInvalidOperationException
      + FullyQualifiedErrorId : InvalidOperation,PnP.PowerShell.Commands.Provisioning.Tenant.InvokeTenantTemplate