0
votes

We are getting

"Sorry, you don't have access."

error while trying to save a SharePoint site as template in Microsoft Office 365.

Access Required - Sorry, you don't have access.

We tried setting "Allow users to run custom script on personal site" and "Allow users to run custom script on self-service created sites" options from SharePoint Online Admin Center as mentioned in the article: https://www.sharepointdiary.com/2017/06/fix-sorry-you-dont-have-access-error-on-save-site-as-template.html

Also we waited for more than 24 hours now to take the effect. But we are still getting the same error.

Is there anything else we need to do?

Thank you!

1

1 Answers

1
votes

You could try to run the powershell command to allow custom script on this site:

Set-SPOSite https://tenant.sharepoint.com/sites/yoursite -DenyAddAndCustomizePages 0