Outage communication through Azure

%3CLINGO-SUB%20id%3D%22lingo-sub-1746106%22%20slang%3D%22en-US%22%3EOutage%20communication%20through%20Azure%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1746106%22%20slang%3D%22en-US%22%3E%3CP%3EWith%20the%20outage%20that%20many%20of%20us%20faced%20last%20week%2C%20around%20authentication%2C%20I%20was%20wondering%20if%20anyone%20knew%20of%20a%20solution%20to%20text%20all%20users%20using%20their%20phone%20numbers%20from%20Azure%20AD.%26nbsp%3B%20I%2C%20obviously%2C%20was%20not%20able%20to%20communicate%20with%20all%20company%20using%20outlook%20or%20teams.%26nbsp%3B%20I%20have%20not%20had%20success%20in%20finding%20a%20solution%20through%20a%20web%20search%2C%20so%20I%20figured%20I%20would%20come%20here.%26nbsp%3B%20Thoughts%2C%20suggestions%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThank%20you%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1749053%22%20slang%3D%22en-US%22%3ERe%3A%20Outage%20communication%20through%20Azure%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1749053%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F21487%22%20target%3D%22_blank%22%3E%40Adam%20Black%3C%2FA%3E%26nbsp%3Bthat's%20a%20good%20question.%20We're%20using%20PagerDuty%20to%20handle%20service%20requests%20and%20it%20integrates%20with%20Azure%20just%20fine.%20Even%20though%20you%20may%20not%20use%20it%2C%20it's%20just%20an%20example...%20you%20can%20still%20configure%20service%20health%20alerts%20with%20respective%20webhooks%20and%20automate%20the%20entire%20flow%20as%20you%20need.%20Our%20flow%20is%20simple%2C%20if%20there%20is%20a%20service%20outage%2C%20we%20receive%20a%20notification%20to%20PagerDuty%20(via%20configured%20webhook%20in%20Azure%20Service%20Health)%2C%20see%20more%20here%3A%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fservice-health%2Falerts-activity-log-service-notifications-portal%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fservice-health%2Falerts-activity-log-service-notifications-portal%3C%2FA%3E%26nbsp%3BThen%2C%20we%20acknowledge%20the%20issue%20and%20send%20an%20email%20note%20to%20all%20staff%20about%20the%20problem.%20For%20that%2C%20you%20may%20want%20to%20create%20an%20AD%20group%20called%20'Staff%2FAll%20staff'%2C%20etc.%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThere%20are%20more%20complex%20automated%20scenarios%20that%20involve%20Azure%20PowerApps%2C%20Microsoft%20Power%20Automate%2C%20or%20services%20combination%20(%2B%20some%20coding).%20There%20are%20multiple%20templates%20you%20can%20use%20as%20a%20basis%20from%20here%3A%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fflow.microsoft.com%2Fen-us%2Ftemplates%2F%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehttps%3A%2F%2Fflow.microsoft.com%2Fen-us%2Ftemplates%2F%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EHere's%20the%20sample%20that%20does%20something%20similar%20with%20Logic%20Apps%3A%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fgithub.com%2FAzure%2Fazure-quickstart-templates%2Ftree%2Fmaster%2F201-alert-to-text-message-with-logic-app%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehttps%3A%2F%2Fgithub.com%2FAzure%2Fazure-quickstart-templates%2Ftree%2Fmaster%2F201-alert-to-text-message-with-logic-app%3C%2FA%3E%26nbsp%3BMost%20people%20are%20very%20sensitive%20about%20the%20SMS%20messages%2C%20so%20we%20stick%20to%20email%20notifications%20to%20a%20specific%20'all%20staff'%20user%20group%20in%20AD.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIn%20case%20you%20badly%20need%20to%20send%20SMS%20messages%2C%20this%20scenario%20may%20require%20some%20development.%20Still%2C%20to%20achieve%20that%20we%20need%20a%20webhook%20from%20Azure%20Service%20Health%20alert%2C%20then%2C%20you%20need%20to%20assemble%20Azure%20Function%20that%20will%20be%20using%20it%20as%20a%20trigger%3A%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fwww.twilio.com%2Fblog%2F2017%2F01%2Fhow-to-send-daily-sms-reminders-using-c-azure-functions-and-twilio.html%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noreferrer%22%3Ehttps%3A%2F%2Fwww.twilio.com%2Fblog%2F2017%2F01%2Fhow-to-send-daily-sms-reminders-using-c-azure-functions-and-twilio.html%3C%2FA%3E%26nbsp%3BThen%2C%20to%20get%20the%20users%20from%20the%20AD%2C%20you%20may%20want%20to%20use%20Graph%20API%20as%20described%20here%20(%3CA%20href%3D%22https%3A%2F%2Fdhendry.wordpress.com%2F2016%2F02%2F26%2Fazure-ad-retrieving-group-members%2F%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noreferrer%22%3Ehttps%3A%2F%2Fdhendry.wordpress.com%2F2016%2F02%2F26%2Fazure-ad-retrieving-group-members%2F%3C%2FA%3E)%2C%20and%20finally%2C%20iterating%20over%20the%20users'%20profiles%2C%20you%20should%20be%20able%20to%20send%20SMS%20messages%20with%20Twilio%20(or%20using%20.NET%20native%20tools%20%2B%20O365%20PTSN%20setup).%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EAs%20you%20can%20see%2C%20scenarios%20are%20different%2C%20but%20they%20should%20give%20you%20some%20food%20for%20thought%26nbsp%3B%3CIMG%20class%3D%22lia-deferred-image%20lia-image-emoji%22%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Fhtml%2Fimages%2Femoticons%2Fsmile_40x40.gif%22%20alt%3D%22%3Asmile%3A%22%20title%3D%22%3Asmile%3A%22%20%2F%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E
Occasional Contributor

With the outage that many of us faced last week, around authentication, I was wondering if anyone knew of a solution to text all users using their phone numbers from Azure AD.  I, obviously, was not able to communicate with all company using outlook or teams.  I have not had success in finding a solution through a web search, so I figured I would come here.  Thoughts, suggestions?

 

Thank you

1 Reply

@Adam Black that's a good question. We're using PagerDuty to handle service requests and it integrates with Azure just fine. Even though you may not use it, it's just an example... you can still configure service health alerts with respective webhooks and automate the entire flow as you need. Our flow is simple, if there is a service outage, we receive a notification to PagerDuty (via configured webhook in Azure Service Health), see more here: https://docs.microsoft.com/en-us/azure/service-health/alerts-activity-log-service-notifications-port... Then, we acknowledge the issue and send an email note to all staff about the problem. For that, you may want to create an AD group called 'Staff/All staff', etc. 

 

There are more complex automated scenarios that involve Azure PowerApps, Microsoft Power Automate, or services combination (+ some coding). There are multiple templates you can use as a basis from here: https://flow.microsoft.com/en-us/templates/ 

 

Here's the sample that does something similar with Logic Apps: https://github.com/Azure/azure-quickstart-templates/tree/master/201-alert-to-text-message-with-logic... Most people are very sensitive about the SMS messages, so we stick to email notifications to a specific 'all staff' user group in AD.

 

In case you badly need to send SMS messages, this scenario may require some development. Still, to achieve that we need a webhook from Azure Service Health alert, then, you need to assemble Azure Function that will be using it as a trigger: https://www.twilio.com/blog/2017/01/how-to-send-daily-sms-reminders-using-c-azure-functions-and-twil... Then, to get the users from the AD, you may want to use Graph API as described here (https://dhendry.wordpress.com/2016/02/26/azure-ad-retrieving-group-members/), and finally, iterating over the users' profiles, you should be able to send SMS messages with Twilio (or using .NET native tools + O365 PTSN setup).

 

As you can see, scenarios are different, but they should give you some food for thought :smile: