Skip to content

SP-Starter-Kit #67

Description

@moralexhau

I am attempting to invoke-pnptenanttemplate the SP-Starter-Kit because we would like to sandbox with the demo page layout.

However, it keeps coming back with an error:

Invoke-PnPTenantTemplate : Action 1 (joinHubSite) is invalid. Parameter hubSiteId has an invalid value.
At line:1 char:1
+ Invoke-PnPTenantTemplate -Path .\starterkit.pnp
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : WriteError: (:) [Invoke-PnPTenantTemplate], ServerException
    + FullyQualifiedErrorId : EXCEPTION,PnP.PowerShell.Commands.Provisioning.Tenant.InvokeTenantTemplate

I have tried multiple versions of the PNP Module with no luck. I have verified that all prerequisites are in order, including making sure that the proper user is added as a term admin. I have included a trace output of the script for reference as well. Is anyone else getting this issue?

traceoutput.txt

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions