I can't get the JSON Script of a Sharepoint Online site

Eduardo Alexis Murillo 1 Reputation point

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

****** 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?

Not Monitored
Not Monitored
Tag not monitored by Microsoft.
35,907 questions
0 comments No comments
{count} votes

3 answers

Sort by: Most helpful
  1. Dave Patrick 426K Reputation points MVP

    Q&A forums are currently English only. I'd try asking for help over here in dedicated forums.

    --please don't forget to upvote and Accept as answer if the reply is helpful--

  2. Eduardo Alexis Murillo 1 Reputation point


    Pass my question to English so you can help me

    0 comments No comments

  3. Misty Miller 1 Reputation point

    Have there been any answers here? I have the same issue. I did a Get-SPOSite and it is listed as a site collection.