1

I created an e3 trial sharepoint site.I was creating pagelayouts using design manager but Im getting error like sorry, u dont have access though I created the tenant site and I am site coll. admin still im facing the Access issue. Can anyone help me in this. enter image description here

1

You could check if you have the permission to access the Master Page Gallery.

If you do not enable the custom scripts in the site, then you cannot create the create or edit master pages and page layouts. For more detailed information, refer to the article below.

Allow or prevent custom script.

Since we have enabled custom scripts inside the "SharePoint admin center", then it will take up to 24 hours until the timer job runs to turn on the custom scripting.

And the custom scripts tenant-wide applies to SharePoint MySites, Personal OneDrive sites and Any SharePoint site collection created based on self-service site creation.

And you also could use the PowerShell below to enable the custom script in the site immediately.

Connect-SPOService -Url https://tenant-admin.sharepoint.com
Set-SPOSite -Identity https://tenant.sharepoint.com/sites/contoso -DenyAddAndCustomizePages 0

More reference:

Enable custom script on modern SharePoint sites to recover your favourite functionalities.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.