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.
Practical insights into Microsoft 365 architecture, SharePoint Online, PowerShell automation, governance and security. Real world troubleshooting, technical solutions and lessons learned from enterprise IT environments.