pnp / sp-starter-kit

Modern SharePoint Starter Kit - End-to-end showcase solution to get started with modern experiences.
MIT License
767 stars 535 forks source link

Unknown error while apply v2 starterkit #689

Open mythribs opened 6 months ago

mythribs commented 6 months ago

We are invoking starterkit v2 template and as per the requirements, we have the below pnp.powershell modules installed.

Name Version


PnP.PowerShell 2.2.0 PnP.PowerShell 1.12.0 PnP.PowerShell 1.9.0

This is the Powershell version we are using

Major Minor Build Revision


5 1 14409 1029

We are getting "Invoke-PnPTenantTemplate: Unknown Error". Is there something we need to do? Please help

eoverfield commented 6 months ago

You will want only one version of PnP.PowerShell installed, you currently have 3. Also, V2 was only tested up to PnP.PowerShell 1.7.0, I am not sure what would happen with between 1.9 and 2.2.

My suggestion if you want to stick with v2 is remove all versions of PnP.PowerShell, then install 1.7.0. That should work for you.

If you prefer the latest SPSK goodness, I suggest v3, the main branch, which was tested with PnP.PowerShell 1.12.0