0

Scenario:

I am using SharePoint online where i have created multiple site collections and only one particular site collection is not being open using SharePoint designer while the rest can. I have enable running script in SharePoint admin center but still it doesn't work.

see the error below:

]enter image description here

2
  • is it a modern site ? like modern team site or communication site ? Commented Apr 3, 2018 at 5:01
  • @GautamSheth yes its a modern site Commented Apr 3, 2018 at 5:08

2 Answers 2

3

As mentioned in the comments, since its a Modern site, it will not open in SharePoint designer. This is by design.

Reference -

When you design your solutions, consider these key areas related to the NoScript setting:

  1. Sandbox solutions are not supported.
  2. Custom JavaScript cannot be enabled on the sites by using "classic" extensibility options (for example, via user custom actions).
  3. You cannot access sites using SharePoint Designer.
  4. Some web parts are not available for end users.

    5.Ability to access or update site property bag entries.

Reference - Customizing "modern" team sites

If its a classic site, you need to ensure that you have enabled scripting at the tenant settings. You then either need to wait 24 hours or run the command mentioned below.

Once done, run the following PS command. You need SharePoint admin creds to run:

Connect-SPOService -Url https://yourtenant-admin.sharepoint.com

Set-SPOSite -Identity https://yoursitecollection.sharepoint.com/sites/test -DenyAddAndCustomizePages 0

Also, in your site collection, go to the https://sitecollectionurl/_layouts/15/SharePointDesignerSettings.aspx and ensure that Enable SharePoint Designer option is set to true.

5
  • i am having the same problem with a classic site,is there a solution? Commented Apr 3, 2018 at 5:22
  • when i try to enable sharepoint designer am redirected to a page telling me i dont have access. I am using the global admin account here. Commented Apr 3, 2018 at 5:47
  • wont work on modern sites at all as i mentioned. For classic sites, you need to run the powershell commands first Commented Apr 3, 2018 at 5:50
  • @Gautem Sheth in that case for modern site how do we create workflow,if i assume it wont be possible from SharePoint designer anymore. Any other option apart Microsoft Flow. Commented Apr 3, 2018 at 6:58
  • yes AFAIK, flow would be the option :( Commented Apr 3, 2018 at 7:05
0

If designer is not working for Sharepoint online perform the following steps.

Go to Sharepoint Admin Center --> Settings --> classic settings page --> Custom Script
And enable the following
Allow users to run custom script on personal sites
Allow users to run custom script on self-service created sites

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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