Cannot open SharePoint online site collection with SharePoint designer 2013

Sherazad Ahmed 411 Reputation points
2021-01-11T18:16:04.613+00:00

Hello,

I am part of the admin group on our SharePoint online. However, I am not able to open a site collection which I created using SharePoint designer 2013. The error is that I do not have permissions to do this.

I am attempting to insert custom code in an aspx page on a list.

thanks,
Sherazad.

Microsoft 365 and Office SharePoint Server Development
0 comments No comments
{count} votes

Accepted answer
  1. Elsie Lu_MSFT 9,801 Reputation points
    2021-01-12T07:41:53.293+00:00

    Hi @Sherazad Ahmed ,

    To narrow down you issue, I want to confirm:

    1.Does the problem happen to all the site collections or just one specific site collection?
    2.Some users said that after running this command, similar issue disappeared, and you could have a try:

    Connect-SPOService -url https://YourO365Domain-admin.sharepoint.com  
    Set-SPOSite https://YourO365Domain.sharepoint.com/sites/YourSiteCollection -DenyAddAndCustomizePages 0  
    

    Before running this command please make sure your Account is correct in SharePoint Designer:
    If not, please switch to the correct Office 365 account and try again.
    55658-5.jpg

    3.Try to clear cache.

    Please refer to this post for more information.
    Not able to open Office 365 SharePoint Site in SPD2013

    Reference:
    https://myspquestions.wordpress.com/2019/03/28/sharepoint-designer-you-do-not-have-permission-to-open-this-website-in-sharepoint-designer/

    Note: Microsoft is providing this information as a convenience to you. The sites are not controlled by Microsoft. Microsoft cannot make any representations regarding the quality, safety, or suitability of any software or information found there. Please make sure that you completely understand the risk before retrieving any suggestions from the above link.

    =================Update1=======================
    Please follow this step:
    Step1:
    Clear cache (This is only applicable if the SharePoint Desinger is not a fresh install)

    a) On the local computer, browse to the following folder:

    C:\Users\<username>\AppData\Local\Microsoft\WebsiteCache

    b) Delete all the files and folders that are present.

    c) On the local computer, browse to the following folder:

    C:\Users\<username>\AppData\Roaming\Microsoft\SharePoint Designer\ProxyAssemblyCache

    d) Delete all the files and folders that are present.

    e) On the local computer, browse to the following folder:

    C:\Users\<username>\AppData\Roaming\Microsoft\Web Server Extensions\Cache

    f) Delete all the files and folders that are present.
    Step2:
    Try this command:

    Connect-SPOService -url https://YourO365Domain-admin.sharepoint.com  
    Set-SPOSite https://YourO365Domain.sharepoint.com/sites/YourSiteCollection -DenyAddAndCustomizePages 0  
    

    Test Result:
    56162-12.jpg


    If the answer is helpful, please click "Accept Answer" and upvote it.

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments

2 additional answers

Sort by: Most helpful
  1. Sherazad Ahmed 411 Reputation points
    2021-01-12T21:38:55.057+00:00

    Hello,

    I receive the following message when I run command 2.

    Set-SPOSite : The managed path sites/informationTechnology is not a managed path in this tenant.
    At line:1 char:2

    • Set-SPOSite https://<company url>/sites/informationTe ...
    • ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    • CategoryInfo : NotSpecified: (:) [Set-SPOSite], ServerException
    • FullyQualifiedErrorId : Microsoft.SharePoint.Client.ServerException,Microsoft.Online.SharePoint.PowerShell.SetSite

  2. WEEKS Mark 0 Reputation points
    2024-08-13T10:19:31.97+00:00

    GET THE ANSWER HERE

    I looked everywhere for the answer to this and tried everything incl registry editing, cache deletion etc etc but to no avail, then I found out that if you Open the site and then open a document library in Explorer View first, then open Designer, it will work.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.