Invoke-PnPTenantTemplate is not performing any action.. “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:Usersmohan> Connect-PnPOnline -Url “https://ssms.sharepoint.com/sites/PPM-test/” -Interactive
PS C:Usersmohan> Get-PnPSiteTemplate -Out “PnP-Provisioning-F.xml”
and i got this file:-
but when i try to apply the site template to the destination site using this command:-
PS C:Usersmohan> Connect-PnPOnline -Url “https://destination.sharepoint.com/sites/PPM-test/” -Interactive
PS C:Usersmohan> Invoke-PnPTenantTemplate -Path “PnP-Provisioning-F.xml”
the command show the following text:-
“initializing engine….Applying Template… “
then it ends after 2 seconds, without applying any thing to the destination.. so what can be causing this issue?
Also when i run the `Invoke-PnPTenantTemplate` using `-Verbose`, i got this error 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:Usersmohan> Connect-PnPOnline -Url “https://ssms.sharepoint.com/sites/PPM-test/” -Interactive
PS C:Usersmohan> Get-PnPSiteTemplate -Out “PnP-Provisioning-F.xml” and i got this file:- but when i try to apply the site template to the destination site using this command:- PS C:Usersmohan> Connect-PnPOnline -Url “https://destination.sharepoint.com/sites/PPM-test/” -Interactive
PS C:Usersmohan> Invoke-PnPTenantTemplate -Path “PnP-Provisioning-F.xml” the command show the following text:-“initializing engine….Applying Template… “then it ends after 2 seconds, without applying any thing to the destination.. so what can be causing this issue?Also when i run the `Invoke-PnPTenantTemplate` using `-Verbose`, i got this error Access token acquired:- Read More