How to Disable the App Bar in SharePoint Online?
The App Bar is a new navigation menu on the left-hand side of your SharePoint Online modern sites that brings a consistent navigation experience to every SharePoint Online site, featuring quick access to global navigation to quickly access sites, news, and files globally. App Bar is a handy and great new feature, but sometimes you may feel it clutters the user interface, is distracting and impacts the customizations. So, You may want to disable it.
Turn OFF App Bar in SharePoint Online using PowerShell
To disable the app bar, use this PowerShell from Global Admin credentials: (Make sure you have the latest PowerShell module for SharePoint Online installed: Update-module Microsoft.online.sharepoint.powershell)
Connect-SPOService "https://crescent-admin.sharepoint.com"
Set-SPOTemporarilyDisableAppBar $true
This disables the App bar at the tenant level, and the SharePoint app bar cannot be disabled on specific sites.
How to enable the SharePoint app bar?
If you have disabled the SharePoint app bar and would like to enable it back in your tenant, run the following command:
Set-SPOTemporarilyDisableAppBar $false
You can get the status of the App bar with:
Get-SPOTemporarilyDisableAppBar
Please note, As per Microsoft, You can only disable the app bar until March 31, 2022. (meaning, You cannot disable the SharePoint app bar permanently with PowerShell!). However, You can use CSS to hide it from the view permanently!
#sp-appBar { display:none !important; }
Show or Hide App Bar in SharePoint Online using PnP PowerShell
You can also use PnP PowerShell to enable or disable the App bar:
#Turn-OFF App Bar
Set-PnPTemporarilyDisableAppBar $true
#Enable App Bar
Set-PnPTemporarilyDisableAppBar $false
Great it worked…
Dear Sal….Hope ,you are doing well…!! I tried to click left side “My sites” App Bar on one of my SPO Site collection https://Test.sharepoint.com/sites/365/SitePages/CourseCatalog.aspx and then , it’s taking me to https://Test.sharepoint.com/_layouts/15/spappbar.aspx?workload=sites and there I could see some sites but if click on those sites nothing is happening . Same issue is not happening to other SPO Site collections .May I know what could be the reason and any suggestion or inputs really would be very helpful.
Hi There. Do you know a way to remove the news button on sharepoint app bar?
Specific SharePoint app bar tabs cannot be disabled as of today! CSS may help.
What are the steps to disable it with CSS?
You can either add CSS at the page level or site level.
Thank you muchly! Great content as always 👍