Get-PnPSiteTemplate Method not found
Hi,
I am using a SharePoint online.
When i connect to my site and when i perform an get-pnpsitetemplate i get following error:
Get-PnPSiteTemplate : Method not found: "System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1<Boolean> Enumerator.MoveNextAsync()".
I cant export my site...
what can I do?
Hello @Link631 ,
Can you provide the full powershell/ Command for us?
Hello @Link631 ,
Can you provide the full powershell/ Command for us?
I can, @danielpastoor
Get-PnPSiteTemplate -Out "c:\temp\provisioningtemplates\templatename.xml"
And receiving the following error:
Get-PnPSiteTemplate : Method not found: 'System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable1<Boolean> Enumerator.MoveNextAsync()'.
At line:1 char:1
+ Get-PnPSiteTemplate -Out "C:\temp\siteprovisioning\companyTemplate.xm ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidOperation: (:) [Get-PnPSiteTemplate], PSInvalidOperationException
+ FullyQualifiedErrorId : InvalidOperation,PnP.PowerShell.Commands.Provisioning.Site.GetSiteTemplate
Hello @Link631, I have the same problem.. any solution ?
Thanxs!
Hello @Link631 , Can you provide the full powershell/ Command for us?
I can, @danielpastoor
Get-PnPSiteTemplate -Out "c:\temp\provisioningtemplates\templatename.xml"And receiving the following error:
Get-PnPSiteTemplate : Method not found: 'System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable1<Boolean> Enumerator.MoveNextAsync()'.At line:1 char:1+ Get-PnPSiteTemplate -Out "C:\temp\siteprovisioning\companyTemplate.xm ...+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~+ CategoryInfo : InvalidOperation: (:) [Get-PnPSiteTemplate], PSInvalidOperationException+ FullyQualifiedErrorId : InvalidOperation,PnP.PowerShell.Commands.Provisioning.Site.GetSiteTemplate