Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Input string '1.0' is not a valid integer. Path 'position.sectionIndex', line 1, position 62. #1797

Open
CarsonRatali opened this issue Apr 2, 2024 · 0 comments

Comments

@CarsonRatali
Copy link

CarsonRatali commented Apr 2, 2024

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

  1. Install Module in Powershell using Install-Module SharePointPnPPowerShellOnline -AllowClobber
  2. Connect to the source Sharepoint site using Connect-PnPOnline -Url "{insert url here}" -UseWebLogin
  3. Export the site template and content to a PnP Provisioning Template XML file using Get-PnPProvisioningTemplate -Out "siteTemplate.xml" -IncludeAllClientSidePages -Handlers All
  4. Connect to the target site using Connect-PnPOnline -Url "{insert url here}" -UseWebLogin
  5. Apply the Site Template using Apply-PnPProvisioningTemplate -Path "siteTemplate.xml"

Which version of the PnP-PowerShell Cmdlets are you using?

3.29.21 SharePointPnPPowerShellOnline

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant