I'm using the modern Sharepoint Online and need to activate the SharePoint Server Publishing for one site within a collection. However, when I click on activate, I get this error:

The feature being activated is a Site scoped feature which has a dependency on a Site Collection scoped feature which has not been activated. Please activate the following feature before trying again: SharePoint Server Publishing Infrastructure f6924d36-2fa8-4f0b-b16d-06b7250180fa

Some googling showed me I need to activate the SharePoint Server Publishing Infrastructure. However, this seems to be located in the site collection settings, which I do not have access to. Only to the site settings. Is there a way to do this for this site only, in the site settings?

Thank you.

1 Answer 1


no only though site collection. Get your site collection admin to apply the change.

He/She might say no. With sp online once you make the change to have publishing feature active there is no going back even if you disable it.

good luck ;)


so the question is: is it possible to apply css without the publishing feature?

if its on a modern site yes as the publishing feature is not available and would need to be done some other way like spfx extension.

for a classic site without publishing feature enabled means its pretty much a team site. If you dont have site collection level admin access then very little chance of having powershell access to make changes. Changing the master page is a no no as its a living document (constantly updated by ms) so would find yourself constantly updating the master page to keep up with the changes.

option 1 add css directly to the page as you would for javascript using the script editor. This is not recommended as you would need to add it to every single page and wouldn't be for everything. It gets messy. use this option for a one time change in a single page or library.

option 2 would be to activate at site collection level and then create a sub site as a publishing site or activate the feature on an existing site.

as noted this could be a bit of a hard sell depending on requirements and if the admin is willing as it effects other areas. my personal option is that they should and think most do for the benefits it brings.

this option requires site collection admin or site owner to activate the publishing feature at the site collection level and then you can activate a the sub site level

option 3 leave the site collection level alone (parent). If possible create a new sub site under the site collection site that is a team site (classic). when selecting the template click on publishing -> select publishing site.

this would create a sub site that is a publishing site under a team site:

team site (site collection) parent level -> publishing site (sub site) child

this is ok as it doesnt change the parent level, only issue is inconstancy because you have the option to change the css and master page in sub site and all its sub sites.

this option does not require site collection admin or site owner to activate the publishing feature at the site collection level but might require them to create a publishing subsite.

for me:

When i create anything i would create a team site and activate the publishing feature for the site collection. Reason behind this is to manipulate the css and have a consistent global branding though all sub sites and to have all the functionality of the team site as a publishing site with css and mastpage. from this point all subsites inherit the publishing feature (active) and inherit the branding.

  • Oh. thank you for the swift answer. Would there be any other way for me to use CSS to style the site? That is why I need to activate the Sharepoint Server Publishing. Commented Apr 30, 2018 at 18:51
  • updated my answer
    – Ali Jafer
    Commented May 1, 2018 at 8:03

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.