Open zulujames opened 2 years ago
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 Androidhttps://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 GitHubhttps://github.com/pnp/sp-starter-kit/issues/523#issuecomment-1011389495, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AXGPJ7TW74G36KLXVG7P3HDUVXKLHANCNFSM5LZF7LBQ. Triage notifications on the go with GitHub Mobile for iOShttps://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://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, I have tried using a legacy version of PS this evening (5.1.22000.282) using PnP version 1.7.0 and I am receiving the same error message. I have also tried with some of the other tenant level and site level templates and receive the same error This is the error code that I receive:
Invoke-PnpTenantTemplate : '>' is an unexpected token. The expected token is '='. Line 15, position 76. At line:1 char:1
+ CategoryInfo : WriteError: (:) [Invoke-PnPTenantTemplate], XmlException
+ FullyQualifiedErrorId : EXCEPTION,PnP.PowerShell.Commands.Provisioning.Tenant.InvokeTenantTemplate
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.