May 16 2022 02:32 AM
Hi, I am trying to get site template. I am using weblogin to connect to the site and then running
Get-PnPSiteTemplate -Out C:\Temp\template.pnp. Then this error occurs...
Get-PnPSiteTemplate : GetAccessTokenAsync() called without an ACS token generator. Specify in AuthenticationManager constructor the authentication parameters
At line:1 char:1
+ Get-PnPSiteTemplate -Out C:\Temp\template.pnp
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : WriteError: (:) [Get-PnPSiteTemplate], ArgumentException
+ FullyQualifiedErrorId : EXCEPTION,PnP.PowerShell.Commands.Provisioning.Site.GetSiteTemplate
I have full admin to the site and ran PowerShell ISE as admin.
Any help is appreciated,
Thanks
May 26 2022 05:11 AM
Jun 01 2022 04:18 AM - edited Jun 24 2022 02:03 AM
Did that work out for you ?