I am building a simple flow to send a message to user using a Microsoft flow bot
I got error message when I try to send more than 1 recipient
the error :
Nope, doesn't work. Only 1 recipient at a time. Rather I should say: doesn't work if in the recipient field you put an array containing all your email addresses, which is what I have because if you need to modify a dozen or more people, you don't want to have a dozen or more individual variables each holding only 1 email address, that makes no sense. So back to looping over the array. Inelegant solution but there you have it: why would Microsoft do elegant when they can do ugly?
Nope, still doesn't work as I just found out when the Teams action Post message in a chat or channel failed with the dreaded error message:
"No user details with email or UPN 'name@xxxx.com;name@xxxx.com' were found in Graph."
Reluctantly will have to create a loop over the email addresses array...although I do not want to!!
Hey Microsoft! Why can you send an Outlook email to multiple recipients and you can't with the Teams action? Makes no sense as everyone is used to email multiple recipients at once, it's so ingrained that it is the default reflex we all have. Therefore I don't care that Teams is designed to be 1-to-1. It's got nothing to do with this.
Under the hood this action could be programmed to distribute one message to N recipients if Microsoft wanted to regardless of the fact that Teams is conceptually designed to be 1:1. So got nothing to do with Teams, and everything to do with the design choice of the action.
I tried to put multiple recipients but it gave me an error message and no one ended up getting the card.
When I entered the two recipients they showed up as contacts separated by semi-colons, but it might not work on teams end.
Maybe they have updated it now? As you can now message several individuals for quite some time? did it run for you?
Actually, there is. The input allows to put more than one user, it even adds the semi colon automatically.
Update: wrong answer (MS keep frustraiting us with this partial features, you'll have to iterate an array emails, only one recipient allowed)
It's quite troublesome. We have privacy requirements and GDPR to tend to and having the flow owner part of each group chat or channel that needs a notification isn't going to work unfortunately. And using Chat with Flow bot, this posts to individual users and impedes workflow when more people are working together.
How about this as a solution:
Send a message in Teams using Power Automate - Power Automate | Microsoft Docs
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.