![The Publishing feature must be deactivated on all sites before the SharePoint Server Publishing Infrastructure feature can be deactivated - SharePoint Stack Exchange The Publishing feature must be deactivated on all sites before the SharePoint Server Publishing Infrastructure feature can be deactivated - SharePoint Stack Exchange](https://i.stack.imgur.com/HjhYH.png)
The Publishing feature must be deactivated on all sites before the SharePoint Server Publishing Infrastructure feature can be deactivated - SharePoint Stack Exchange
![How to Make SharePoint Not Look Like SharePoint, Part One: Enabling Publishing Features - Enterprise Knowledge How to Make SharePoint Not Look Like SharePoint, Part One: Enabling Publishing Features - Enterprise Knowledge](https://enterprise-knowledge.com/wp-content/uploads/2018/12/image3.png)
How to Make SharePoint Not Look Like SharePoint, Part One: Enabling Publishing Features - Enterprise Knowledge
Active then deactivate "SharePoint Server Publishing Infrastructure" inside my team site. seems that its related libraries will not be deleted.
![Fixed] Error - activate the SharePoint Server Publishing Infrastructure feature in SharePoint Online site - Global SharePoint Diary Fixed] Error - activate the SharePoint Server Publishing Infrastructure feature in SharePoint Online site - Global SharePoint Diary](https://global-sharepoint.com/wp-content/uploads/2020/06/activate-SharePoint-Server-Publishing-Infrastructure-in-the-communication-site.jpg)