question

NicolaVenosta-2674 avatar image
0 Votes"
NicolaVenosta-2674 asked JerryXu-MSFT answered

SharePoint Designer 2013 access denied issue

Hello,
I am trying to use SharePoint Designer 2013.
When I choose a list and click on "Save as a template" I get an error of access denied.89431-sharepointdesigner-0.png89395-sharepointdesigner-1.png


office-sharepoint-online
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.

1 Answer

JerryXu-MSFT avatar image
0 Votes"
JerryXu-MSFT answered

Hi, @NicolaVenosta-2674 ,

First please make sure the account current used in SharePoint Designer has permission to manage the list with issue.

After that, it may be due to the settings on custom script. In SharePoint Online, using custom script is disabled by default. This makes save list as template missing in list settings and prevent users from saving list as template in SharePoint Designer.

We need to allow custom script in the tenant for saving list as template. If you are an tenant admin, having access to SharePoint Online Management Shell, just use the following script to enable this feature. Don't forget to replace the URL placeholder.

 #Variables for Admin Center & Site Collection URL
 $AdminCenterURL = "https://domainName-admin.sharepoint.com/"
 $SiteURL="https://domainName.sharepoint.com/Sites/siteName"
     
 #Connect to SharePoint Online
 Connect-SPOService -url $AdminCenterURL -Credential (Get-Credential)
     
 #Disable DenyAddAndCustomizePages Flag
 Set-SPOSite $SiteURL -DenyAddAndCustomizePages $False

If you are not familiar with PowerShell, you can go to the SharePoint Online Admin Center, navigate to settings>classic settings page.
89717-image.png

You can find the custom script settings option:
89733-image.png

A tutorial blog here.

Note: Change the settings in UI may take up to 48 hours. Using PowerShell will take effect immediately.


If an Answer is helpful, please click "Accept Answer" and upvote it.
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.


image.png (57.2 KiB)
image.png (19.2 KiB)
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.