-
Notifications
You must be signed in to change notification settings - Fork 535
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
Unable to upload PnP file #523
Comments
Thank you for reporting this issue. We will be triaging your incoming issue as soon as possible. |
What version of PnP PowerShell are you using? You might want to consider trying 1.7.0: https://github.com/pnp/sp-starter-kit/blob/master/documentation/common-provision-results.md#error-improper-version-of-pnp-powershell-installed. It is possible as the provisioning engine keeps evolving, the template needs corrections. While we investigate, downgrading to PnP PS 1.7.0 may assist. |
I was using 1.9.0 but I have also tried with 1.7.0 and producing the same error message.
Could it have something to do with the fact that I am using version 7.2.0 of Powershell? I have not tried it with a legacy version as of yet
Get Outlook for Android<https://aka.ms/AAb9ysg>
…________________________________
From: Eric Overfield ***@***.***>
Sent: Wednesday, January 12, 2022 7:40:35 PM
To: pnp/sp-starter-kit ***@***.***>
Cc: James Stone ***@***.***>; Author ***@***.***>
Subject: Re: [pnp/sp-starter-kit] Unable to upload PnP file (Issue #523)
What version of PnP PowerShell are you using? You might want to consider trying 1.7.0: https://github.com/pnp/sp-starter-kit/blob/master/documentation/common-provision-results.md#error-improper-version-of-pnp-powershell-installed. It is possible as the provisioning engine keeps evolving, the template needs corrections. While we investigate, downgrading to PnP PS 1.7.0 may assist.
—
Reply to this email directly, view it on GitHub<#523 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AXGPJ7TW74G36KLXVG7P3HDUVXKLHANCNFSM5LZF7LBQ>.
Triage notifications on the go with GitHub Mobile for iOS<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675> or Android<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
I certainly haven't tried that version of PS, it may be worth trying a legacy version and report back findings. |
Hi, Invoke-PnpTenantTemplate : '>' is an unexpected token. The expected token is '='. Line 15, position 76.
Thanks |
It is recommended that you use PS 7, with the latest PnP PowerShell. I just tested using PnP PowerShell 1.7 and PS 5.1.19041.1320, and it deployed successfully without error. Additionally, I just tested with PnP PowerShell 1.9 and PS 5.1.19041.1320 and it deployed successfully. |
Category
Describe the bug
Expected or Desired Behavior
Good afternoon.
I appear to be unable to install the PnP file to my Sharepoint online. I receive the following error message:
Invoke-PnPTenantTemplate: '>' is an unexpected token. The expected token is '='. Line 15, position 76.
Observed Behavior
Steps to Reproduce
PS D:\sp-starter-kit> Connect-PnPOnline -Url https://[mytenant].sharepoint.com
Enter your credentials
User: [myusername] (global administrator)
Password for user [myusername]: **************
PS D:\sp-starter-kit> Invoke-PnPTenantTemplate -Path starterkit.pnp
Invoke-PnPTenantTemplate: '>' is an unexpected token. The expected token is '='. Line 15, position 76.
PS D:\sp-starter-kit>
Environment Details (Development & Target environment)
Thanks for your contribution! Sharing is caring.
The text was updated successfully, but these errors were encountered: