Forum Discussion
Send a message to all users (like a broadcast)
- Feb 18, 2020You 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
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
- get the members of any group in Azure AD
- filter the list to get rid of non-enabled users and guest users
- Apply to each, for this use Settings > Concurrency = On ,
Set to 20 .. 50 to send messages in parallel - 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
- TodayDee72Jan 07, 2022Copper Contributor
Jos_Verlinde Why would you use this method instead of just sending to the distribution group in email? I need to send a notification to all staff and would like to send like a chat teams only allows for 100 members at a time. Yammer would work but I don't want them to be able to comment back... just a notification? You would think that Azure would allow you to send a notification to all users? Are you aware of anything like this?
- Jos_VerlindeJan 11, 2022Microsoft
TodayDee72 as for the why you can ask the OP. A Teams is one form of communication but certainly not the only one. same for e-mail , Yammer , or PA systems. each have their own primary use cases. (most, including e-mail, allow for replies though as communication tends to be two-way in most cases. if you do not desire that its quite normal to make it clear that replies will be ignored )
Sending a Notification implies that there is a way (and a value and a habit) for the recipients to read that. You can use an app on azure ( or any cloud) send something, but unless that notification arrives on an app or device that I use regularly, it will be pointless. The premise was that all users are using Teams on PC and/or mobile. that allows you to reach all with a single app tool, without needing to install a seperate single-use app on each device.