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
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:-
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
any advice?