How to enable MegaMenu in SharePoint Modern sites in SharePoint Online/Office 365?

Hello SharePointers,

In case if you want to enable the megamenu in the header of your sharepoint page, here is the Powershell PnP Script to achieve the same.

 

Connect-PnPOnline -Url https://mysite.sharepoint.com
$web = Get-PnPWeb
$web.MegaMenuEnabled = $true
$web.Update()
Invoke-PnPQuery

Happy SharePointing Folks.!!

Leave a Reply

Your email address will not be published. Required fields are marked *