Aug 01 2017 04:12 PM
Aug 01 2017 04:12 PM
trying to enable publishing infra inside communication site collection gives error
Is it ususal or its a bug.
Aug 01 2017 06:36 PM
It raises a good question - are publishing features needed in Communication sites? If not, should the feature be removed?
It also raises the question if publishing sites will still be required in the future.
Aug 01 2017 10:29 PM
Aug 01 2017 11:05 PM - edited Aug 01 2017 11:09 PM
When I tried to enable the Site Collection publishing feature, I got an error that indicated this was not possible. See screenshot below. Is it disabled by default because it is a Communication site?
So I tried to enable the Site publishing feature but, correctly, it would not work because the Site Collection feature was not enabled (in the past, on on-prem sites, we found that site owners would sometimes enable this without the Site Collection feature enabled). See screenshot below.
So perhaps the errors are correct, even if not very informative.
Aug 04 2017 04:08 AM
I am considering activating the publishing features, so that I can have access to the managed metadata navigation in my new communication site.
Aug 05 2017 02:18 PM
It would be nice to use navigation from publishing features as well. I was attempting to add publishing for that reason when I got the error.
Jun 22 2018 05:09 PM
You can use PowerShell to activate it.
PnP code: Enable-PnPFeature -Identity f6924d36-2fa8-4f0b-b16d-06b7250180fa -Scope Site
Oct 23 2018 11:39 AM - edited Oct 23 2018 11:40 AM
Thanks Velin. It worked.
Mar 15 2019 09:11 AM
@Velin Georgiev Hey, I was able to activate the feature at the -site collection level but when I try to activate the Publishing feature at the -web level, I keep getting;
"Provisioning did not succeed. Details: Failed to initialize some site properties for Web at Url: 'https://vaughnconstruction.sharepoint.com/sites/Development_Comm' OriginalException: Object reference not set to an instance of an object."
What's missing? Any thoughts?
Apr 19 2019 09:36 AM
@JTamez This code should work
Enable-PnPFeature -Identity 94c94ca6-b32f-4da9-a9e3-1f3d343d7ecb -Scope Web
Jan 09 2022 08:59 PM