Dec 19 2018 02:32 AM
Hello,
I've set up a fresh new instance of SharePoint 2019, I've set up a communication site in Dev environment and wanted to save this site as a template, unfortunatly the option is not available and I get an "access denied" when accessing to the page thanks to the url.
Anyonye know if the same option can be applied as we can you in SharePoint Online:
set-sposite https://tenant.sharepoint.com/sites/communication -denyaddandcustomizepages $false
Thanks by advance
Dec 19 2018 03:02 AM
Dec 19 2018 05:33 AM
Dec 27 2018 08:25 PM
Jan 18 2019 01:15 PM
I ran into this issue during a migration to SP 2019, some features are not available until this is reset. See this posted solution:
From <http://blog.konffaaja.com/2018/11/sharepoint-2019-and-2019-denyaddandcustomizepages/>
$site = Get-SPSite -Identity "https://intranet.contoso.com"
$site.DenyPermissionsMask = [Microsoft.SharePoint.SPBasePermissions]::EmptyMask
Apr 30 2020 02:00 PM
The following Software are is used to connect to your SharePoint Online via Powershell:
Download and Install SharePoint Online Management Shell
https://www.microsoft.com/en-us/download/details.aspx?id=35588
While installation, and if you get an error "This application requires the following to be installed: - PowerShell 3.0"
Step 2: Open SharePoint Online Management Shell from your window search bar.
Type the following command to open connection:
Connect-SPOService
Enter the Url for your SharePoint Admin Portal (not your site, not yet):
Url: https://your-domain-admin.sharepoint.com
Replace with your domain
Hit Enter
Sign in
It will ask you for username and password for the user who has permission to manage SharePoint from SharePoint Admin Center
Type the following command that will enable scripting capabilities on your modern site and any other site:
Set-SPOsite https://your-domain.sharepoint.com/sites/modern-site -DenyAddAndCustomizePages 0
Replace with your domain
Replace with the path of your modern site
Jul 28 2021 07:28 AM
@Joel Rodrigues I know this is an old topic, but more information on what issues can be caused that would be very helpful.
Aug 19 2021 01:00 AM