-
Notifications
You must be signed in to change notification settings - Fork 1k
Closed
Labels
Needs: Author FeedbackAwaiting response from the original poster of the issue. Marked as stale if no activity for 7 days.Awaiting response from the original poster of the issue. Marked as stale if no activity for 7 days.Needs: Triage 🔍Awaiting categorization and initial review.Awaiting categorization and initial review.
Description
While following the instruction to install pathways,
Connect-PnPOnline https://<tenant>-admin.sharepoint.com/ -Interactive
Invoke-PnPTenantTemplate -Path .\your-template-file.pnp -Parameters @{"SiteTitle"="<Title-of-your-target-site>";"SiteUrl"="/sites/<URL-of-your-target-site>"}
I got the response:
WARNING: The source site from which the template was generated had a base template ID value of SITEPAGEPUBLISHING#0, while the current target site has a base template ID value of TENANTADMIN#0. This could cause potential issues while applying the template.
Invoke-PnPSiteTemplate: Object reference not set to an instance of an object.
And documentation should have connecting as well to before invoke template
Connect-PnPOnline https://<tenant>.sharepoint.com/sites/<URL-of-your-target-site> -Interactive
right?
Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.
- ID: 25076df9-4f54-9a7b-6449-3cd696c66a42
- Version Independent ID: 25076df9-4f54-9a7b-6449-3cd696c66a42
- Content: Applying PnP Templates to SharePoint Sites
- Content Source: docs/solution-guidance/applying-pnp-templates.md
- Service: sharepoint-online
- GitHub Login: @VesaJuvonen
- Microsoft Alias: vesaj
Metadata
Metadata
Assignees
Labels
Needs: Author FeedbackAwaiting response from the original poster of the issue. Marked as stale if no activity for 7 days.Awaiting response from the original poster of the issue. Marked as stale if no activity for 7 days.Needs: Triage 🔍Awaiting categorization and initial review.Awaiting categorization and initial review.