A community member has associated this post with a similar question:
Invoke-PnPTenantTemplate is not performing any action.. "Access token acquired"

Only moderators can edit this content.

Invoke-PnPTenantTemplate is not performing any action, and ends after 2 seconds.. Access token acquired

john john Pter 115 Reputation points
2024-07-17T17:58:40.58+00:00

I have 2 SharePoint Online tenants which both have a modern communication sites. now i used this command to get the source site template:-

PS C:\Users\mohan> Connect-PnPOnline -Url "https://ssms.sharepoint.com/sites/PPM-test/" -Interactive

PS C:\Users\mohan> Get-PnPSiteTemplate -Out "PnP-Provisioning.xml"

and i got this file:-

User's image

but when i try to apply the site template to the destination site using this command:-

PS C:\Users\Administrator\Downloads> Connect-PnPOnline -Url "https://***.sharepoint.com/sites/PPM-test/" -Interactive

PS C:\Users\Administrator\Downloads> Invoke-PnPTenantTemplate -Path "PnP-Provisioning.xml" -Verbose

349621839-e2426785-caaf-4a6e-91be-e5ae5509cb44

any advice?

SharePoint
SharePoint
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
10,241 questions
SharePoint Development
SharePoint Development
SharePoint: A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.Development: The process of researching, productizing, and refining new or existing technologies.
2,795 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,299 questions
0 comments No comments
{count} votes