Input string '1.0' is not a valid integer. Path 'position.sectionIndex', line 1, position 62.
Opened this issue · 0 comments
CarsonRatali commented
Reporting an Issue or Missing Feature
Error calling Apply-PnPProvisioningTemplate to Sharepoint online site.
Expected behavior
Should apply template without any errors.
Actual behavior
Returns a message saying "Apply-PnPProvisioningTemplate : Input string '1.0' is not a valid integer. Path 'position.sectionIndex', line 1, position 62."
Steps to reproduce behavior
- Install Module in Powershell using Install-Module SharePointPnPPowerShellOnline -AllowClobber
- Connect to the source Sharepoint site using Connect-PnPOnline -Url "{insert url here}" -UseWebLogin
- Export the site template and content to a PnP Provisioning Template XML file using Get-PnPProvisioningTemplate -Out "siteTemplate.xml" -IncludeAllClientSidePages -Handlers All
- Connect to the target site using Connect-PnPOnline -Url "{insert url here}" -UseWebLogin
- Apply the Site Template using Apply-PnPProvisioningTemplate -Path "siteTemplate.xml"
Which version of the PnP-PowerShell Cmdlets are you using?
3.29.21 SharePointPnPPowerShellOnline