I have a communication site collection inside our SharePoint online tenant. and i want to export this site and create a new site based on the exported template, so i run this command:-
Connect-PnPOnline -Url https://***.com/sites/Filing/
Get-PnPProvisioningTemplate -Out template.pnp
but i got this error:-
Get-PnPProvisioningTemplate : Maximum retry attempts 10, has be attempted. At line:1 char:1 + Get-PnPProvisioningTemplate -Out template.pnp + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : WriteError: (:) [Get-PnPProvisioningTemplate], MaximumRetryAttemptedException + FullyQualifiedErrorId : EXCEPTION,SharePointPnP.PowerShell.Commands.Provisioning.Site.GetProvisioningTemplate