Forum Discussion
Sep 26, 2018
Not able to open a SharePoint modern site using SharePoint Designer
Hi Team , We're not able to open a SharePoint modern site using SharePoint Designer .It keeps throwing the an error stating "403 Forbidden" and I'm also attaching the screenshot of that error mess...
Robin Nilsson
May 01, 2019Bronze Contributor
VigneshGanesan There is a permission you have to set through PowerShell to allow SharePoint Designer to connect, and to get rid of that error message you see. You have to do it for every site where you want to use SPD.
$cred = Get-Credential
Connect-SPOService -Url https://TENANTNAME-admin.sharepoint.com -credential $cred
Set-SPOSite -Identity https://TENANTNAME.sharepoint.com/sites/SITENAME -DenyAddAndCustomizePages $false
# to test if it changed
$site = Get-SPOSite -Identity https://firemountain.sharepoint.com/sites/Office365Training
$site.DenyAddAndCustomizePages
Disconnect-SPOService