I am trying in every possible way to copy a custom template from one site and use it on other Sharepoint Online sites, I am using the Get-SPOSiteScriptFromWeb method, but I am getting the following error that the specified site does not exist or cannot be found:
Get-SPOSiteScriptFromWeb : File nos Found.
line: 1 Carácter: 1
- Get-SPOSiteScriptFromWeb -WebUrl https://*******.sharepoint.com/sites/ ...
- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- CategoryInfo : NotSpecified: (:) [Get-SPOSiteScriptFromWeb], ServerException
- FullyQualifiedErrorId : Microsoft.SharePoint.Client.ServerException,Microsoft.Online.SharePoint.PowerShell.GetSP
OSiteScriptFromWeb
****** means that it is the tenant of my organization, and this does not allow me to obtain the script to upload it to another site
Could you help me?