Download site design scipt of the site

Harikrishnan P 21 Reputation points
2022-01-07T16:56:44.197+00:00

We have lost the latest version of the site design applied to the site. So is there a way to download the site design script applied on the current site?

Microsoft 365 and Office | SharePoint | For business | Windows
0 comments No comments
{count} votes

Accepted answer
  1. CaseyYang-MSFT 10,461 Reputation points
    2022-01-10T02:31:14.153+00:00

    Hi @Harikrishnan P ,

    There is no available OOTB feature to download site design and site script in SharePoint Online. You could try to use following PowerShell commands to get site script as a workaround.

    1.Get a list of all Site Designs:

    Get-SPOSiteDesign | select Id, Title, Description  
    

    163472-1.png

    2.Get site design details by id.

    Get-SPOSiteDesign 4cc28840-9579-4fff-b576-2e96fcb1df4e  
    

    163465-2.png

    3.Get site script details by id.

    Get-SPOSiteScript dec505e3-5a6e-420a-a5ec-787936127f7b  
    

    163407-3.png

    For Reference:
    Get-SPOSiteDesign
    Get-SPOSiteScript


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.