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

Unknown error while apply v2 starterkit #689

Open
mythribs opened this issue May 17, 2024 · 1 comment
Open

Unknown error while apply v2 starterkit #689

mythribs opened this issue May 17, 2024 · 1 comment

Comments

@mythribs
Copy link

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
Copy link
Collaborator

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

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

No branches or pull requests

2 participants