How to Remove Switch to Another App Navigation Menu in Microsoft Dynamics 365 Online

Paul Nieuwelaar, 08 November 2017

So you're trying to navigate somewhere in Microsoft Dynamics 365 Online, and you click the little down arrow next to the Dynamics 365 logo, because in past versions of CRM that's the go-to place for navigating. But instead of being welcomed with the beautiful Microsoft Dynamics 365 navigation menu, you're instead presented with the 'Switch to Another App' screen.

image

I'm sure everyone has done this at least once, or like me, you've done it enough times that you felt the need to create a solution to fix it.
Basically what we want to see when clicking this button, is what we're expecting to see, and what we're used to seeing, which is the top level CRM navigation menu. Although since this is now visible when clicking into the 'Sales' menu for example, we'd essentially just want to see this menu by default.

image

So what I've done is created a solution which runs a script on load of any screen in Dynamics 365 (via a custom hidden command bar button), which hacks into the menu bar, and overwrites the click event of that button with the click event of the other button. In other words, whenever you or any of your users click the down arrow next to the Dynamics 365 logo, instead of getting the switch apps screen, you'll get the navigation menu just as if you'd clicked the right button in the first place.

image

The result? less frustration, and less clicks (because you don't have to waste time clicking the actual button). Note that this is highly unsupported, and should only be used if like me, you're frustrated with clicking the wrong button all the time and cannot wait until it gets fixed properly. So, I'd recommend using the managed solution in case it ever breaks, or gets fixed properly, it can easily be uninstalled. Also important to note that if you navigate somewhere and then quickly click the button again before the page has fully loaded, there's a chance you'll see the switch apps screen before the script has a chance to overwrite it again. But you can just click it again once it's loaded and it’ll be right.

Click here to download the solution from GitHub.