SOLVED

Send a message to all users (like a broadcast)

%3CLINGO-SUB%20id%3D%22lingo-sub-1179022%22%20slang%3D%22en-US%22%3ESend%20a%20message%20to%20all%20users%20(like%20a%20broadcast)%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1179022%22%20slang%3D%22en-US%22%3E%3CP%3EI%20would%20like%20to%20inform%20our%20users%20about%20very%20urgent%20things%20(ie%20please%20disconnect%20from%20the%20system)%2C%20and%20the%20best%20way%20to%20do%20that%20would%20be%20to%20send%20a%20chat%20message%20to%20all%20of%20them%20maybe%20via%20powershell%20or%20graph%20api%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIs%20there%20currently%20a%20way%20to%20do%20that%3F%3C%2FP%3E%3CP%3EI%20know%20I%20could%20create%20an%20ORG%20wide%20group%20and%20post%20in%20there...%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1179022%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EBroadcast%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3Emessage%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EMicrosoft%20Teams%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1179067%22%20slang%3D%22en-US%22%3ERe%3A%20Send%20a%20message%20to%20all%20users%20(like%20a%20broadcast)%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1179067%22%20slang%3D%22en-US%22%3EHi%20%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F517500%22%20target%3D%22_blank%22%3E%40Thomas_Steibl%3C%2FA%3E%3CBR%20%2F%3E%3CBR%20%2F%3EThere%20are%20multiple%20uservoices%20here%3CBR%20%2F%3E%3CBR%20%2F%3E%3CA%20href%3D%22https%3A%2F%2Fmicrosoftteams.uservoice.com%2Fforums%2F555103-public%2Fsuggestions%2F37556605-org-wide-broadcast-messages%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fmicrosoftteams.uservoice.com%2Fforums%2F555103-public%2Fsuggestions%2F37556605-org-wide-broadcast-messages%3C%2FA%3E%3CBR%20%2F%3E%3CBR%20%2F%3ENo%20native%20functionality%2C%20however%20as%20said%20you%20can%20create%20an%20org%20wide%20team%20and%20then%20tag%20the%20team%20which%20would%20notify%20everyone.%20An%20alternative%20would%20be%20an%20org%20wide%20group%20chat%20however%20you%20would%20have%20issues%20moderating%20this%3CBR%20%2F%3E%3CBR%20%2F%3EHope%20that%20answers%20your%20question%3CBR%20%2F%3E%3CBR%20%2F%3EBest%2C%20Chris%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1179122%22%20slang%3D%22en-US%22%3ERe%3A%20Send%20a%20message%20to%20all%20users%20(like%20a%20broadcast)%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1179122%22%20slang%3D%22en-US%22%3EWhat%20Chris%20said%2C%20but%20group%20chat%20has%20a%20limit%20of%20100%20participants.%3CBR%20%2F%3E%3CBR%20%2F%3EAlso%2C%20if%20I%20remember%20correctly%20MS%20released%20a%20custom%20app%20on%20GitHub%20that%20could%20do%20this!%3CBR%20%2F%3ECan%E2%80%99t%20remember%20the%20name%20but%20go%20search%20for%20it%20on%20Goo...Bing!%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1179139%22%20slang%3D%22en-US%22%3ERe%3A%20Send%20a%20message%20to%20all%20users%20(like%20a%20broadcast)%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1179139%22%20slang%3D%22en-US%22%3EYou%20could%20do%20it%20with%20this%20given%20all%20users%20install%20the%20app%3CBR%20%2F%3E%3CBR%20%2F%3E%3CA%20href%3D%22https%3A%2F%2Fgithub.com%2FOfficeDev%2Fmicrosoft-teams-company-communicator-app%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fgithub.com%2FOfficeDev%2Fmicrosoft-teams-company-communicator-app%3C%2FA%3E%3CBR%20%2F%3E%3CBR%20%2F%3EHope%20that%20answers%20your%20question!%3CBR%20%2F%3E%3CBR%20%2F%3EBest%2C%20Chris%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1179952%22%20slang%3D%22en-US%22%3ERe%3A%20Send%20a%20message%20to%20all%20users%20(like%20a%20broadcast)%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1179952%22%20slang%3D%22en-US%22%3EJust%20push%20the%20app%20via%20app%20policies%20and%20you're%20golden.%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1263615%22%20slang%3D%22en-US%22%3ERe%3A%20Send%20a%20message%20to%20all%20users%20(like%20a%20broadcast)%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1263615%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F169605%22%20target%3D%22_blank%22%3E%40Christopher%20Hoard%3C%2FA%3E%26nbsp%3B-%20has%20anyone%20used%20Company%20Communicator%20to%20broadcast%20to%2050%2C000%20users%20in%2013%20teams%3F%26nbsp%3B%20Would%20be%20interested%20to%20hear%20any%20real%20life%20feedback....%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1279676%22%20slang%3D%22en-US%22%3ERe%3A%20Send%20a%20message%20to%20all%20users%20(like%20a%20broadcast)%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1279676%22%20slang%3D%22en-US%22%3EI%20know%20%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F5458%22%20target%3D%22_blank%22%3E%40Vesa%20Nopanen%3C%2FA%3E%20is%20a%20big%20proponent%20of%20company%20communicator.%20I%20am%20sure%20that%20he%20will%20be%20able%20to%20give%20you%20some%20great%20feedback%20on%20this%3CBR%20%2F%3E%3CBR%20%2F%3EBest%2C%20Chris%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1280444%22%20slang%3D%22en-US%22%3ERe%3A%20Send%20a%20message%20to%20all%20users%20(like%20a%20broadcast)%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1280444%22%20slang%3D%22en-US%22%3EIt%20sounds%20like%20that%20you%20would%20be%20sending%20messages%20to%2013%20teams%20using%20Company%20Communicator%3F%20That%20would%20be%20just%2013%20messages%20which%20I%20don't%20see%20as%20a%20problem.%20%3CBR%20%2F%3E%3CBR%20%2F%3EWhen%20sending%20individual%20chat%20messages%20to%2050k%20users%20with%20Company%20Communicator%20that%20will%20be%20generating%20a%20lots%20of%20API%20traffic.%20Unfortunately%20I%20don't%20have%20experience%20with%20that%20large%20amount%20of%20users%20but%20I%20have%20been%20thinking%2Fplanning%20how%20that%20could%20be%20done%20(when%20need%20arises).%20Company%20Communicator%20should%20be%20able%20to%20make%20it%2C%20but%20it%20may%20take%20some%20time%20due%20to%20throttling.%20The%20good%20thing%20is%20that%20it%20does%20give%20you%20a%20short%20report%20how%20it%20goes.%20%3CBR%20%2F%3E%3CBR%20%2F%3EMy%20advice%3A%3CBR%20%2F%3E-%20do%20messages%20first%20to%20teams%20so%20they%20will%20reach%20out%20lots%20of%20users%20FAST%20(install%20Company%20Communicator%20to%20those%20teams%20so%20you%20can%20target%20them)%3CBR%20%2F%3E-%20do%20a%20real%20live%20test%20with%20sending%20individual%20messages%20to%20all%20users%20and%20gain%20first%20hand%20experience.%20Use%20a%20real%20message%20but%20don't%20use%20a%20critical%20one.%20Perhaps%20letting%20users%20know%20how%20and%20from%20where%20to%20gain%20latest%20info%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1280447%22%20slang%3D%22en-US%22%3ERe%3A%20Send%20a%20message%20to%20all%20users%20(like%20a%20broadcast)%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1280447%22%20slang%3D%22en-US%22%3EIf%20you%20want%20to%20see%20how%20Company%20Communicator%20works%20check%20my%20webinar%20recording%20-%20I%20have%20a%20section%20of%20Company%20Communicator%20and%20there%20are%20also%20demos%20how%20to%20do%20it%20with%20Power%20Platform%3A%20%3CA%20href%3D%22https%3A%2F%2Fyoutu.be%2F0SnQKMHio-A%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fyoutu.be%2F0SnQKMHio-A%3C%2FA%3E%3CBR%20%2F%3E%3CBR%20%2F%3ENone%20of%20methods%20is%20instant%20and%20each%20has%20limits.%20Pushing%20messages%20to%20channels%20is%20the%20fastest%20way%20to%20spread%20info%20(with%20team%2Fchannel%20tagging).%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1300614%22%20slang%3D%22en-US%22%3ERe%3A%20Send%20a%20message%20to%20all%20users%20(like%20a%20broadcast)%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1300614%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F517500%22%20target%3D%22_blank%22%3E%40Thomas_Steibl%3C%2FA%3E%26nbsp%3B%20Yes%20it's%20possible%2C%20You%20may%20create%20an%20Incoming%20webhook%20available%20in%20the%20App%20store.%20The%20Webhook%20will%20give%20a%20unique%20URL%20to%20you.%20You%20can%20post%20the%20message%20using%20that%20URL.%20You%20may%20use%20Powershell%2C%20Postman%20or%20any%20custom%20program%20to%20send%20messages%20to%20all%20users.%3C%2FP%3E%3CP%3EPlease%20note%20-%20This%20will%20be%20bind%20to%20any%20specific%20Channel.%20You%20may%20create%20one%20Team%20which%20contain%20all%20the%20user%20whom%20you%20would%20like%20to%20serve%20the%20message.%3C%2FP%3E%3CP%3ELet%20me%20know%20if%20you%20would%20like%20to%20know%20practically%20how%20to%20achieve%20this.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1348876%22%20slang%3D%22en-US%22%3ERe%3A%20Send%20a%20message%20to%20all%20users%20(like%20a%20broadcast)%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1348876%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F169605%22%20target%3D%22_blank%22%3E%40Christopher%20Hoard%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EAlso%20is%20there%20a%20way%20to%20add%20everyone%20group%20as%20a%20group%20chat%20member%20instead%20of%20selecting%20one%20by%20one%20users%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1348867%22%20slang%3D%22en-US%22%3ERe%3A%20Send%20a%20message%20to%20all%20users%20(like%20a%20broadcast)%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1348867%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F169605%22%20target%3D%22_blank%22%3E%40Christopher%20Hoard%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3BI%20wanted%20to%20take%20advantage%20of%20the%20urgent%20message%20option%26nbsp%3B%3CBR%20%2F%3Esupport.microsoft.com%2Fen-gb%2Foffice%2Fmark-a-message-as-important-or-urgent-in-teams-ea99d5b6-1317-4550-8d75-86ff14cd4462%3Fui%3Den-us%26amp%3Brs%3Den-gb%26amp%3Bad%3Dgb%3CBR%20%2F%3E%3CBR%20%2F%3ETo%20make%20sure%20my%20message%20is%20read%2C%20but%20could%20not%20see%20this%20option%20in%20a%20channel%20-%20only%20in%20group%20chat.%3C%2FP%3E%3CP%3EIs%20this%20by%20design%20or%20some%20configuration%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E
Highlighted
Contributor

I would like to inform our users about very urgent things (ie please disconnect from the system), and the best way to do that would be to send a chat message to all of them maybe via powershell or graph api?

 

Is there currently a way to do that?

I know I could create an ORG wide group and post in there...

 

15 Replies
Highlighted
Hi @Thomas_Steibl

There are multiple uservoices here

https://microsoftteams.uservoice.com/forums/555103-public/suggestions/37556605-org-wide-broadcast-me...

No native functionality, however as said you can create an org wide team and then tag the team which would notify everyone. An alternative would be an org wide group chat however you would have issues moderating this

Hope that answers your question

Best, Chris
Highlighted
What Chris said, but group chat has a limit of 100 participants.

Also, if I remember correctly MS released a custom app on GitHub that could do this!
Can’t remember the name but go search for it on Goo...Bing!
Highlighted
Best Response confirmed by Thomas_Steibl (Contributor)
Solution
You could do it with this given all users install the app

https://github.com/OfficeDev/microsoft-teams-company-communicator-app

Hope that answers your question!

Best, Chris

Highlighted
Just push the app via app policies and you're golden.
Highlighted

@Christopher Hoard - has anyone used Company Communicator to broadcast to 50,000 users in 13 teams?  Would be interested to hear any real life feedback....

Highlighted
I know @Vesa Nopanen is a big proponent of company communicator. I am sure that he will be able to give you some great feedback on this

Best, Chris
Highlighted
It sounds like that you would be sending messages to 13 teams using Company Communicator? That would be just 13 messages which I don't see as a problem.

When sending individual chat messages to 50k users with Company Communicator that will be generating a lots of API traffic. Unfortunately I don't have experience with that large amount of users but I have been thinking/planning how that could be done (when need arises). Company Communicator should be able to make it, but it may take some time due to throttling. The good thing is that it does give you a short report how it goes.

My advice:
- do messages first to teams so they will reach out lots of users FAST (install Company Communicator to those teams so you can target them)
- do a real live test with sending individual messages to all users and gain first hand experience. Use a real message but don't use a critical one. Perhaps letting users know how and from where to gain latest info

Highlighted
If you want to see how Company Communicator works check my webinar recording - I have a section of Company Communicator and there are also demos how to do it with Power Platform: https://youtu.be/0SnQKMHio-A

None of methods is instant and each has limits. Pushing messages to channels is the fastest way to spread info (with team/channel tagging).
Highlighted

@Thomas_Steibl  Yes it's possible, You may create an Incoming webhook available in the App store. The Webhook will give a unique URL to you. You can post the message using that URL. You may use Powershell, Postman or any custom program to send messages to all users.

Please note - This will be bind to any specific Channel. You may create one Team which contain all the user whom you would like to serve the message.

Let me know if you would like to know practically how to achieve this.

Highlighted

@Christopher Hoard 

 

 I wanted to take advantage of the urgent message option 
support.microsoft.com/en-gb/office/mark-a-message-as-important-or-urgent-in-teams-ea99d5b6-1317-4550-8d75-86ff14cd4462?ui=en-us&rs=en-gb&ad=gb

To make sure my message is read, but could not see this option in a channel - only in group chat.

Is this by design or some configuration?

Highlighted

@Christopher Hoard 

 

Also is there a way to add everyone group as a group chat member instead of selecting one by one users?

Highlighted
Urgent messages are only available in chat by design.
Highlighted
You can use tags to start a group chat. all users with that tag will be included. The tags needs to be set up manually though and is per team basis
Highlighted

@adam deltinger 

 

its not currently built into Teams as has been discussed in this thread.

However you can create this with not too much effort using PowerAutomate and optionally a PowerApps as an input form without a need for additional licenses.

 

the flow can 

  1. get the members of any group in Azure AD 
  2. filter the list to get rid of non-enabled users and guest users 
  3. Apply to each, for this  use Settings > Concurrency = On ,
    Set to 20 .. 50 to send messages in parallel
  4. Post a message as the Flow bot to a user 
    here you can set isAlert=true, and a Summary with the alert that is shown in the toast

By using the parallel / concurrent option , the time needed to send individual messages to a many different users is reduced by a factor of 20..50.  each msg post seems to take in the order of 1 second.
Estimated throughput : 
1000 users / 50 = 20 seconds  or about 3.000 users / minute 

Note that while this works well up to a couple of thousand users, I do not think you can just scale this to 100.000 users as other other restrictions will apply , such as the below.
for that scenario some additional logic will be required 


Limits 

Apply to each items - Office 365 and Free licenses 5,000

https://docs.microsoft.com/en-us/power-automate/limits-and-config

Teams request type Limit per app per tenant
Any Graph API calls for Microsoft Teams 15000 requests every 10 seconds

https://docs.microsoft.com/en-us/graph/throttling

and in the licensing guide : 
https://docs.microsoft.com/en-us/power-platform/admin/powerapps-flow-licensing-faq

PowerApps for O365  daily - per license 
Per license capacity Daily API Requests 2.000

 

you can build on this concept by adding logging of success / failure to notify, and ask for acknowledgement and store that in a log (Excel / SPO List) or database of some kind.

 

see attached for a quick Proof of Concept 

Highlighted

@NadirRiyani 

 

Hello Nadir! Can I use the webhook to deliver the same message to multiple people at the same time without creating a group? As I am not planning to purchase Company Communicator, how should I approach building something like it as I am quite new to Microsoft Power Apps and Automate? Hopefully, this thread is still active haha.