10

Using Microsoft Teams, I get ugly purple no-padding notifications on my Desktop:

Microsoft Teams Notification

In addition to being non-standard, these alerts do not respect my system's Do Not Disturb settings.

How can I force Microsoft Teams to use the operating system's default notifications UI instead?

  • macOS Notification Center
  • Windows 10 Notifications

3 Answers 3

11

There seems to be a development option enableNativeNotification that will enable system notifications in Microsoft teams. I unfortunately cannot try this myself, as the development preview needed to enable the option is not enabled for my organization.


Information taken from this Reddit post which provided these screenshots.

FWIW for anyone frustrated at the custom notifications, you can enable Native Notifications by throwing Teams into developer mode and then left clicking the Teams tray icon 7 times. Right clicking will then give you tons of options, including Hooks. From here, you can enable Native Notifications (defaults to false, so turn it to true) and voila, native notifications.


The steps seem to be:

  1. Enable the Public Developer Preview for Microsoft Teams
    • Note: Developer preview is enabled on a per-client basis, but the option to turn on developer preview is controlled at the organization level.
      • See the Answer below for a possible workaround if your org restricts access.
  2. Tap on your app icon 7 times to enable the dev tools:
    • Windows: System Tray icon
    • macOS: Dock icon
  3. Access the Developer Preview tools:
    • Windows: Right-click the System Tray icon. Select Open DevTools.
    • macOS: select "Development" from the app's main menu bar. You can also edit the settings directly at ~/Library/Application\ Support/Microsoft/Teams/settings.json
  4. Set the following options to true: enableNativeNotification, enableMacNativeNotification
  5. Restart Microsoft Teams

If all goes well, Teams should then use the system's native notification system:

enter image description here

7
  • Just an FYI on macOS, after you've enabled enableMacNativeNotification and enableNativeNotification, you still might have to go in the Teams settings, and switch it to Mac.
    – BeryJu
    Commented Feb 22, 2021 at 14:53
  • 2
    Confirmed this is working on macOS Big Sur. A couple of things that got me: 1) it wasn't clear that these settings are under the "Hooks" submenu under the Development menu, and 2) setting enableMacNativeNotification via the menu did not work for me - I still had to open settings.json and set it there - then I was able to restart, and go into settings and set notification style to Mac, after which I was prompted by the OS to allow teams notifications.
    – Cory W.
    Commented Feb 24, 2021 at 19:36
  • This doesn't work for me. There's no settings whatsoever accessible via the development menu, and changes to the settings.json are reset after restarting Teams. Have to wait I guess... Commented Apr 7, 2021 at 8:08
  • @MoritzFriedrich see the other answer about forcing the dev menu to appear even if your organization restricts access.
    – pkamb
    Commented May 5, 2021 at 21:11
  • 1
    @pkamb aha! We did not have preview features enabled in our Teams admin policy. This Microsoft page provides steps for org admins to do so - might help others with domain admin privileges. Commented May 6, 2021 at 7:01
6

OS-Native Teams Notifications can be enabled even if your organization disabled beta access, by modifying the settings request with a proxy software such as Charles or Proxyman.

I found the following instructions on the macOS UserVoice ticket mentioned above:

Instructions:

  1. Install and open Proxyman
  2. Select "certificate > install certificate on this mac" from the menu and follow the steps
  3. enable https response for teams.microsoft.com
  4. option-click on teams.microsoft.com > tools > scripting
  5. create new script for https://teams.microsoft.com/package/desktopclient/settings/osx with the following onResponse function:
function onResponse(context, url, request, response) {
    
    // Update Body
    var body = response.body;
    body["settings"]["enableNativeNotification"] = true;
    body["settings"]["enableMacNativeNotification"] = true;
    response.body = body;
    
    // Done
    return response;
} 
4
  • 2
    Clever! Worked just fine for me! Thanks
    – jamting
    Commented Apr 30, 2021 at 17:13
  • You, sir, are a gentleman and a scholar. Thank you. Commented May 11, 2021 at 10:15
  • Pure Genius :) Thanks
    – MiDaa
    Commented Jul 6, 2021 at 8:42
  • Take note it appears that the URL has changed to https://teams.microsoft.com/desktopclient/settings/osx
    – MiDaa
    Commented Jul 15, 2021 at 9:49
3

The Teams development team is testing and adding Native Notifications for Windows, macOS, and Linux. The tickets, created in 2016, have been updated in December 2020 indicating that the feature will be released in early 2021.

These requests are tracked on the Microsoft Teams User Feedback Forum:

1
  • 1
    Define "early", haha
    – mpowered
    Commented Jun 3, 2021 at 16:19

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .