Monday 21 December 2020

how to activate the Publishing Infrastructure feature of the Site Collection?

 Connect-PnPOnline -url https://teamsite.sharepoint.com/sites/publish 

#Activate  the RollupPages 

Enable-PnPFeature -Identity dffaae84-60ee-413a-9600-1cf431cf0560 -force

#Activate  the Publishing 

Enable-PnPFeature -Identity 22a9ef51-737b-4ff2-9346-694633fe4416 -force 

#Activate  the SharePoint Server Publishing Infrastructure of Site Collection

Enable-PnPFeature -Identity f6924d36-2fa8-4f0b-b16d-06b7250180fa -force -Scope site 

#Activate  the SharePoint Server Publishing Infrastructure of Site 

Enable-PnPFeature -Identity 94c94ca6-b32f-4da9-a9e3-1f3d343d7ecb -force -Scope web 

No comments:

Post a Comment