If you've tried to disable the top navigation bar on a modern Teams-connected SharePoint site, you've probably noticed there's no obvious setting to do it. The UI doesn't give you a toggle. Site settings don't have the option. And the PowerShell properties you'd expect to work simply don't. This post covers exactly that scenario - what I tried, why each approach failed, and the single PnP PowerShell command that actually works. The Problem On a modern Teams-connected SharePoint site (template GROUP#0 ), the top navigation bar is visible by default. Unlike classic SharePoint publishing sites, there is no built-in UI option in site settings or site collection settings to disable it. If you want to hide the top navigation bar - for example because the site is associated to a hub that already provides navigation, making the site's own top nav redundant - you need to do it programmatically. What Didn't Work for Me 1. Site Settings and...
Practical notes on Microsoft 365, SharePoint Online, Entra, Azure and PowerShell - from an IT consultant who's been working with Microsoft technologies since 2004.