I have enabled the website features content organization and server publishing. However, moving subsites and modern pages does not work.
When I move a subsite, the following error message appears:
Zugriff verweigert.Microsoft.SharePoint.SPException: Zugriff verweigert. ---> System.Runtime.InteropServices.COMException: Zugriff verweigert. at Microsoft.SharePoint.Library.SPRequestInternalClass.RenameWeb(StorePath bstrUrl, StorePath bstrNewUrl) at Microsoft.SharePoint.Library.SPRequest.RenameWeb(StorePath bstrUrl, StorePath bstrNewUrl) --- End of inner exception stack trace --- at Microsoft.SharePoint.SPGlobal.HandleComException(COMException comEx) at Microsoft.SharePoint.Library.SPRequest.RenameWeb(StorePath bstrUrl, StorePath bstrNewUrl) at Microsoft.SharePoint.SPWeb.Update(SPWebUpdateParameters parameters) at Microsoft.SharePoint.Publishing.Internal.WebControls.MoveWebs.Move()Fehler beim Vorgang 'Verschieben' aus '/sites/TimeJobWiki/Worker' in '/sites/TimeJobWiki/TIM/Worker'.
Further information based on the reply from @Hellofiona_MSFT:
I'm using SharePoint Online
When I check the permissions for my own user account, I get the following entry, among others:
Deny; Add and customize pages; Add, change, or delete HTML or Web Part pages, and edit the Web site in an editor compatible with Microsoft SharePoint Foundation.
But I am the website collection administrator and in the Admin Center I allowed the Custom Scripts, as you can see on the screenshot. After setting these settings I waited longer than 24 hours and tested again without success.
However, the following has now come to my attention. When I am on the Office 365 home page and click the SharePoint icon, I am redirected to an overview page. There I see all the SharePoint web pages that I can access.
I am on the page with the URL: [mycompany name].sharepoint.com/_layouts/15/sharepoint.aspx
If I visit only [mycompany name].sharepoint.com I am redirected to an SharePoint Website.
This seems to be a special website? When I check my permissions there, I don't get to see the entry that I am not allowed to add and adjust pages. But there I'm only in the owner group and not even a website collection administrator.
On this website, can I easily move site pages from one subsite to another subsite? I can't do this in the other website collection (where i have this weird additional permission), I'm denied access there.
I cannot test moving subsites on this website collection, because I am not an website collection administrator. However, I assume that it would work.
This is all very confusing. What settings do I have to change if activating the Custom Script feature is not the solution?