Skip to content

An approach to create an emergency notification from Microsoft Teams

License

Notifications You must be signed in to change notification settings

hkamel/microsoft-teams-emergency-notification

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Emergency Notifications Systems for Teams

Problem Statment

Notifying the users in case of an emergency with a clear blocking message using Teams.

Teams notifications are non-blocking and will be visible on Teams application if the Teams window is active or Windows/ Windows Notification Center in case of Teams window is not active.

In case the end user has Windows 10 Focus Assist (link) active (manually, presentation mode or others) the notification will not be visible to the user and will be added to the notification center

Proposed Solution/ Flow

  • Emergency agent or admin will send a normal message over a dedicated team channel
  • Using Power Automate/ Azure Logic App, the message being pushed to a table with the required information (message content and expiry in minutes). Check the sample code here src/EmergencyTrayApp/LogicApp
  • A windows agent tray application (running on Windows machines) will pick any new message and alert the user through normal windows alert message box. A blocking message box in the center of the screen that must be dismissed by the customer. Check the sample code here src/EmergencyTrayApp
  • The Windows Application can be pushed to the end users using Configuration Manager.

Limitations

Detailed Flow

Step 1: Sending the message

  • Sending a normal Teams message to a dedicated emergency channel Single Team Message

Step 2: Automation workflow (Power Automate/ Azure Logic App)

  • Listen to the message in a specific team and specific Channel Logic App
  • Once received, push the message to intermediate storage with the details (Azure Table) Storage Table
  • Each message will have a default expiry time of 30 minutes and active flag (true/false)

Step 3: Windows Notifications

  • Notification Agent (Windows Tray Application) will check for new messages. Notification Agent
  • Upon receiving a new message, display a clear blocking Windows Alert Message Single Alert Message Alert Window
  • The message will be repeated every 3 seconds until the expiry time passed. Desktop

About

An approach to create an emergency notification from Microsoft Teams

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages