Skip to main content
Commonmark migration
Source Link

HOW TO SAVE SITE AS A TEMPLATE

As mention above by @yash.kamdar the "Save site as a template" feature is disabled by default, to save your site as template you have to enable this feature, To enable this service follow this steps:

1.) Select site you wanted to save as template.

example: (https://ahlcloud.sharepoint.com/sites/ProjectSite)

2.) Open your then (run as administor).

3.) Type this syntax on your just like on the image below.

Powershell Script:

 $AdminCenterURL = "https://MyTenantDomain-admin.sharepoint.com" $SiteURL = "https://MyTenantDomain.sharepoint.com/sites/myTemplate" Connect-SPOService -URL $AdminCenterURL -credential (Get-Credential) Set-SPOSite $SiteURL -DenyAddAndCustomizePages $False 

Example: enter image description here While entering this code

Connect-SPOService -URL $AdminCenterURL -credential (Get-Credential)

Windows Security Credential will prompt then enter your account .

enter image description here

Then enter the last syntax to enable "Save site as a template" feature.

Set-SPOSite $SiteURL -DenyAddAndCustomizePages $False 

4.) Enter this link on your browser : http://MyTenantdomain.sharepoint.com/sites/MySiteTemplate/_layouts/savetmpl.aspx

Example : https://ahlcloud.sharepoint.com/sites/ProjectSite/_layouts/savetmpl.aspx

Note: If you don't follow step #3 you will receive this error when saving template using the short-link above. enter image description here

TAGS:

HOW TO SAVE SITE AS A TEMPLATE

As mention above by @yash.kamdar the "Save site as a template" feature is disabled by default, to save your site as template you have to enable this feature, To enable this service follow this steps:

1.) Select site you wanted to save as template.

example: (https://ahlcloud.sharepoint.com/sites/ProjectSite)

2.) Open your then (run as administor).

3.) Type this syntax on your just like on the image below.

Powershell Script:

 $AdminCenterURL = "https://MyTenantDomain-admin.sharepoint.com" $SiteURL = "https://MyTenantDomain.sharepoint.com/sites/myTemplate" Connect-SPOService -URL $AdminCenterURL -credential (Get-Credential) Set-SPOSite $SiteURL -DenyAddAndCustomizePages $False 

Example: enter image description here While entering this code

Connect-SPOService -URL $AdminCenterURL -credential (Get-Credential)

Windows Security Credential will prompt then enter your account .

enter image description here

Then enter the last syntax to enable "Save site as a template" feature.

Set-SPOSite $SiteURL -DenyAddAndCustomizePages $False 

4.) Enter this link on your browser : http://MyTenantdomain.sharepoint.com/sites/MySiteTemplate/_layouts/savetmpl.aspx

Example : https://ahlcloud.sharepoint.com/sites/ProjectSite/_layouts/savetmpl.aspx

Note: If you don't follow step #3 you will receive this error when saving template using the short-link above. enter image description here

TAGS:

HOW TO SAVE SITE AS A TEMPLATE

As mention above by @yash.kamdar the "Save site as a template" feature is disabled by default, to save your site as template you have to enable this feature, To enable this service follow this steps:

1.) Select site you wanted to save as template.

example: (https://ahlcloud.sharepoint.com/sites/ProjectSite)

2.) Open your then (run as administor).

3.) Type this syntax on your just like on the image below.

Powershell Script:

 $AdminCenterURL = "https://MyTenantDomain-admin.sharepoint.com" $SiteURL = "https://MyTenantDomain.sharepoint.com/sites/myTemplate" Connect-SPOService -URL $AdminCenterURL -credential (Get-Credential) Set-SPOSite $SiteURL -DenyAddAndCustomizePages $False 

Example: enter image description here While entering this code

Connect-SPOService -URL $AdminCenterURL -credential (Get-Credential)

Windows Security Credential will prompt then enter your account .

enter image description here

Then enter the last syntax to enable "Save site as a template" feature.

Set-SPOSite $SiteURL -DenyAddAndCustomizePages $False 

4.) Enter this link on your browser : http://MyTenantdomain.sharepoint.com/sites/MySiteTemplate/_layouts/savetmpl.aspx

Example : https://ahlcloud.sharepoint.com/sites/ProjectSite/_layouts/savetmpl.aspx

Note: If you don't follow step #3 you will receive this error when saving template using the short-link above. enter image description here

TAGS:

added 8 characters in body
Source Link

HOW TO SAVE SITE AS A TEMPLATE

As mention above by @yash.kamdar the "Save site as a template" feature is disabled by default, to save your site as template you have to enable this feature, To enable this service follow this steps:

1.) Select site you wanted to save as template.

example: (https://ahlcloud.sharepoint.com/sites/ProjectSite)

2.) Open your then (run as administor).

3.) Type this syntax on your just like on the image below.

Script SamplePowershell Script:

 $AdminCenterURL = "https://MyTenantDomain-admin.sharepoint.com" $SiteURL = "https://MyTenantDomain.sharepoint.com/sites/myTemplate" Connect-SPOService -URL $AdminCenterURL -credential (Get-Credential) Set-SPOSite $SiteURL -DenyAddAndCustomizePages $False 

WhenExample: enter image description here While entering this code

Connect-SPOService -URL $AdminCenterURL -credential (Get-Credential)

Windows Security Credential will prompt then enter your account .

enter image description here

Then enter the last syntax to enable "Save site as a template" feature.

Set-SPOSite $SiteURL -DenyAddAndCustomizePages $False 

Example: enter image description here

4.) Enter this link on your browser : http://MyTenantdomain.sharepoint.com/sites/MySiteTemplate/_layouts/savetmpl.aspx

Example : https://ahlcloud.sharepoint.com/sites/ProjectSite/_layouts/savetmpl.aspx

Note: If you don't follow step #3 you will receive this error when saving template using the short-link above. enter image description here

TAGS:

HOW TO SAVE SITE AS A TEMPLATE

As mention above by @yash.kamdar the "Save site as a template" feature is disabled by default, to save your site as template you have to enable this feature, To enable this service follow this steps:

1.) Select site you wanted to save as template.

example: (https://ahlcloud.sharepoint.com/sites/ProjectSite)

2.) Open your then (run as administor).

3.) Type this syntax on your just like on the image below.

Script Sample

 $AdminCenterURL = "https://MyTenantDomain-admin.sharepoint.com" $SiteURL = "https://MyTenantDomain.sharepoint.com/sites/myTemplate" Connect-SPOService -URL $AdminCenterURL -credential (Get-Credential) Set-SPOSite $SiteURL -DenyAddAndCustomizePages $False 

When entering this code

Connect-SPOService -URL $AdminCenterURL -credential (Get-Credential)

Windows Security Credential will prompt then enter your account .

enter image description here

Then enter the last syntax to enable "Save site as a template" feature.

Set-SPOSite $SiteURL -DenyAddAndCustomizePages $False 

Example: enter image description here

4.) Enter this link on your browser : http://MyTenantdomain.sharepoint.com/sites/MySiteTemplate/_layouts/savetmpl.aspx

Example : https://ahlcloud.sharepoint.com/sites/ProjectSite/_layouts/savetmpl.aspx

Note: If you don't follow step #3 you will receive this error when saving template using the short-link above. enter image description here

TAGS:

HOW TO SAVE SITE AS A TEMPLATE

As mention above by @yash.kamdar the "Save site as a template" feature is disabled by default, to save your site as template you have to enable this feature, To enable this service follow this steps:

1.) Select site you wanted to save as template.

example: (https://ahlcloud.sharepoint.com/sites/ProjectSite)

2.) Open your then (run as administor).

3.) Type this syntax on your just like on the image below.

Powershell Script:

 $AdminCenterURL = "https://MyTenantDomain-admin.sharepoint.com" $SiteURL = "https://MyTenantDomain.sharepoint.com/sites/myTemplate" Connect-SPOService -URL $AdminCenterURL -credential (Get-Credential) Set-SPOSite $SiteURL -DenyAddAndCustomizePages $False 

Example: enter image description here While entering this code

Connect-SPOService -URL $AdminCenterURL -credential (Get-Credential)

Windows Security Credential will prompt then enter your account .

enter image description here

Then enter the last syntax to enable "Save site as a template" feature.

Set-SPOSite $SiteURL -DenyAddAndCustomizePages $False 

4.) Enter this link on your browser : http://MyTenantdomain.sharepoint.com/sites/MySiteTemplate/_layouts/savetmpl.aspx

Example : https://ahlcloud.sharepoint.com/sites/ProjectSite/_layouts/savetmpl.aspx

Note: If you don't follow step #3 you will receive this error when saving template using the short-link above. enter image description here

TAGS:

added 48 characters in body
Source Link

HOW TO SAVE SITE AS A TEMPLATE

As mention above by @yash.kamdar the "Save site as a template" feature is disabled by default, to save youyour site as template you have to enable this feature, To enable this service follow this steps:

  1. Select site you wanted to save as template. example: (https://ahlcloud.sharepoint.com/sites/ProjectSite)

  2. Open you (Run as administor)

  3. Type this script just like on the image.

1.) Select site you wanted to save as template.

example: (https://ahlcloud.sharepoint.com/sites/ProjectSite)

2.) Open your then (run as administor).

3.) Type this syntax on your just like on the image below.

Script Sample

 $AdminCenterURL = "https://MyTenantdomainMyTenantDomain-admin.sharepoint.com" $SiteURL = "https://MyTenantdomainMyTenantDomain.sharepoint.com/sites/myTemplate" Connect-SPOService -URL $AdminCenterURL -credential (Get-Credential) Set-SPOSite $SiteURL -DenyAddAndCustomizePages $False 

When entering this code

Connect-SPOService -URL $AdminCenterURL -credential (Get-Credential)

Connect-SPOService -URL $AdminCenterURL -credential (Get-Credential)

Windows Security Credential will prompt then enter your account .

enter image description here

Then enter the last syntax to enable "Save site as a template" feature.

Set-SPOSite $SiteURL -DenyAddAndCustomizePages $False 

Example: enter image description here

  1. Enter this link on your browser : http://MyTenantdomain.sharepoint.com/sites/MySiteTemplate/_layouts/savetmpl.aspx

4.) Enter this link on your browser : http://MyTenantdomain.sharepoint.com/sites/MySiteTemplate/_layouts/savetmpl.aspx

Example : https://ahlcloud.sharepoint.com/sites/ProjectSite/_layouts/savetmpl.aspx

Note: If you don't follow step #3 you will receive this error when saving template using the short-link above. enter image description here

TAGS:

HOW TO SAVE SITE AS A TEMPLATE

As mention above by @yash.kamdar the "Save site as a template" feature is disabled by default, to save you site as template you have to enable this feature, To enable this service follow this steps:

  1. Select site you wanted to save as template. example: (https://ahlcloud.sharepoint.com/sites/ProjectSite)

  2. Open you (Run as administor)

  3. Type this script just like on the image.

 $AdminCenterURL = "https://MyTenantdomain-admin.sharepoint.com" $SiteURL = "https://MyTenantdomain.sharepoint.com/sites/myTemplate" Connect-SPOService -URL $AdminCenterURL -credential (Get-Credential) Set-SPOSite $SiteURL -DenyAddAndCustomizePages $False 

When entering this code

Connect-SPOService -URL $AdminCenterURL -credential (Get-Credential)

Windows Security Credential will prompt then enter your account .

enter image description here

Then enter the last syntax to enable "Save site as a template" feature.

Set-SPOSite $SiteURL -DenyAddAndCustomizePages $False 

Example: enter image description here

  1. Enter this link on your browser : http://MyTenantdomain.sharepoint.com/sites/MySiteTemplate/_layouts/savetmpl.aspx

Example : https://ahlcloud.sharepoint.com/sites/ProjectSite/_layouts/savetmpl.aspx

Note: If you don't follow step #3 you will receive this error when saving template using the short-link above. enter image description here

TAGS:

HOW TO SAVE SITE AS A TEMPLATE

As mention above by @yash.kamdar the "Save site as a template" feature is disabled by default, to save your site as template you have to enable this feature, To enable this service follow this steps:

1.) Select site you wanted to save as template.

example: (https://ahlcloud.sharepoint.com/sites/ProjectSite)

2.) Open your then (run as administor).

3.) Type this syntax on your just like on the image below.

Script Sample

 $AdminCenterURL = "https://MyTenantDomain-admin.sharepoint.com" $SiteURL = "https://MyTenantDomain.sharepoint.com/sites/myTemplate" Connect-SPOService -URL $AdminCenterURL -credential (Get-Credential) Set-SPOSite $SiteURL -DenyAddAndCustomizePages $False 

When entering this code

Connect-SPOService -URL $AdminCenterURL -credential (Get-Credential)

Windows Security Credential will prompt then enter your account .

enter image description here

Then enter the last syntax to enable "Save site as a template" feature.

Set-SPOSite $SiteURL -DenyAddAndCustomizePages $False 

Example: enter image description here

4.) Enter this link on your browser : http://MyTenantdomain.sharepoint.com/sites/MySiteTemplate/_layouts/savetmpl.aspx

Example : https://ahlcloud.sharepoint.com/sites/ProjectSite/_layouts/savetmpl.aspx

Note: If you don't follow step #3 you will receive this error when saving template using the short-link above. enter image description here

TAGS:

added 48 characters in body
Source Link
Loading
Source Link
Loading