question

cyhorn-7565 avatar image
0 Votes"
cyhorn-7565 asked AlexZhu-MSFT edited

Custom site template and site script

i need copy SharePoint exsiting site make it to SharePoint "From your organization" site template and site script.

office-sharepoint-onlineoffice-sharepoint-server-development
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

I am currently looking into this issue and will give you an update as soon as possible.

Thank you for your understanding and support.

0 Votes 0 ·

1 Answer

YiLu-MSFT avatar image
0 Votes"
YiLu-MSFT answered YiLu-MSFT commented

Hi @cyhorn-7565
1.You could Create a site script JSON Schema of required actions as per Microsoft Site design schema reference.
2.Then use PowerShell script to create a site script and site design. You can create up to 100 site scripts and 100 site designs per tenant.
3.Now, you can use this site design either to new sites or you can apply it on existing sites.

For more information about creating site design and site scripts using PowerShell, you could refer to:
https://www.sharepointdiary.com/2019/10/sharepoint-online-site-design-and-site-scripts.html

Note: Microsoft is providing this information as a convenience to you. The sites are not controlled by Microsoft. Microsoft cannot make any representations regarding the quality, safety, or suitability of any software or information found there. Please make sure that you completely understand the risk before retrieving any suggestions from the above link.


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.


· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi @cyhorn-7565
Is this answer helpful for you? Please feel free to reply.

0 Votes 0 ·