none
Site owner is able to create publishing sub site without any issue but when try to create team site then getting access denied error RRS feed

  • Question

  • Hi ,

    A user in site owner group is not able to create subsite using team site template, but if he is taking publishing site template then sub site get created successfully 

    Subsite name in this case : testCRMteam

    Sharepoint 2016 onprem

    Error is as below

    Exception attempting to ApplyWebTemplate to SPWeb https://xxx.xxxxxxxxxx.com/xxxxxxxxx/testCRMteam: System.UnauthorizedAccessException: Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))    
     at Microsoft.SharePoint.Utilities.SPUtility.HandleAccessDenied(Exception ex)    
     at Microsoft.SharePoint.Library.SPRequest.UpdateField(String bstrUrl, String bstrListName, String bstrXML)    
     at Microsoft.SharePoint.SPField.set_SchemaXml(String value)    
     at Microsoft.SharePoint.SPList.fixFieldShema(SPField fld, String strXml)    
     at Microsoft.SharePoint.SPList.FixFieldsFromColumnTemplate()    
     at Microsoft.SharePoint.SPWeb.SyncNewLists(Boolean bCreateFromSTP)    
     at Microsoft.SharePoint.SPWeb.ApplyWebTemplate(SPWebTemplate webTemplate, Page page, SPFeatureDependencyErrorBehavior featureDependencyErrorBehavior, ICollection`1& featureDependencyErrors)    
     at Microsoft.SharePoint.ApplicationPages.TemplatePickerUtil.ApplyWebTemplateAndRedirect(SPWeb Web, String strWebTemplate, Nullable`1 bSharedNav, Boolean bOnTopNav, Boolean bOnQuickLaunch, Page page, Boolean bDeleteOnError, SPFeatureDependencyErrorBehavior featureDependencyErrorBehavior, ICollection`1& featureDependencyErrors) 

    Friday, May 29, 2020 2:36 PM

All replies

  • According to Msft, the site template feature isn't supported for sites that have ever had publishing features enabled. They claim "certain publishing features aren't supported" but don't elaborate on what or why. In general, the site template option is poorly engineered and often the error complains about features that aren't present in site settings, so can't be enabled or disabled.

    Below article with same issue:

    https://sharepoint.stackexchange.com/questions/238415/error-while-creating-publishing-site-using-site-template

    Thanks & Regards,


    sharath aluri

    Monday, June 1, 2020 12:29 AM
  • Hi Vibhesh Mishra,

    Whether you create team sub sites through UI or PowerShell?

    Remove the site owner from owner group then re-add again, compare the result.

    Best regards,

    Emily Du


    Please remember to mark the replies as answers if they helped. If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.

    SharePoint Server 2019 has been released, you can click here to download it.
    Click here to learn new features. Visit the dedicated forum to share, explore and talk to experts about SharePoint Server 2019.

    Monday, June 1, 2020 11:28 AM
  • Hi sharath aluri,

    But site owners has no issue while creating publishing sub site they are only facing the issue when they are trying to create team site.

    Yes, publishing feature is enabled in sitecollection but site collection admin is able create subsite using team site template(default not a custom template) as well

    Thanks & Regards,

    Tuesday, June 2, 2020 11:20 AM
  • Hi Emily Du,

    I have already tried it but no luck

    Tuesday, June 2, 2020 11:21 AM
  • Hi Vibhesh Mishra,

    Go to Site Settings -> Page layouts and site templates under -> Check Subsite Templates.

    Best regards,

    Emily Du


    Please remember to mark the replies as answers if they helped. If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.

    SharePoint Server 2019 has been released, you can click here to download it.
    Click here to learn new features. Visit the dedicated forum to share, explore and talk to experts about SharePoint Server 2019.

    Friday, June 5, 2020 9:42 AM