Issue:
- When you create any team site or communication site, there are some sections as “web designer galleries”, “HTML Field Security”, are missing on the setting page of the SharePoint Site.
- When you trying to create any .aspx page through SharePoint Designer in Modern Team site, getting error message: “Server error : Access Denied”
Solution:
Method 1:- Go to SharePoint Admin center , Click on setting option. Under the setting check for the Custom Script section. Check both box and allow user to run custom script on personal sites and self service created sites.
This setting might take 24 hours to reflect the changes.
Method 2: Thorough powershell command these changes reflect immediately.Type below command to connect with SharePoint admin center:
- $spadminurl = “”https://companyname-admin.sharepoint.com/”
- Connect-SPOService -url $spadminurl
- verify your username and password
Enter the below commands, you have to mention your site collection or site url where you need this sections
- $spsiteurl = “https://companyname.sharepoint.com“
- Set-SPOsite $spsiteurl -DenyAddAndCustomizePages 0
Result: Immediately you can see the web design galleries in setting page
1 Comments
This comment has been removed by a blog administrator.
ReplyDelete