web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Microsoft Flow bot sen...
Power Automate
Answered

Microsoft Flow bot send message more than 1 user

(1) ShareShare
ReportReport
Posted on by 78

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

1.PNG
the error :

{
"error": {
"code": "GraphUserDetailNotFound",
"message": "No user details with email or UPN 'xxx.samantha@xxx.com;david.xxx@xxx.com' were found in Graph."
}
}

note:
when I try to send to 1 user with different email, it work fine.

 

Categories:
I have the same question (0)
  • Pstork1 Profile Picture
    69,129 Most Valuable Professional on at

    Messages in teams are either posted to a channel (Group) or an individual.  I think if you want to post to multiple people you are going to need to put it in a loop and post to each of them individually.

  • Trinaintynine Profile Picture
    78 on at

    thanks for replying.
    and yes, I was thinking about using looping too.
    but I wonder if there's a convenient way or there's a bug on it.

  • Verified answer
    v-yamao-msft Profile Picture
    Microsoft Employee on at

    Hi @Trinaintynine ,

     

    The issue could be reproduced by me. It seems that only one user is allowed in the Recipient field.

     

    I am afraid that it is a default behavior. If you need to post a message as the Flow bot to multiple users, please feel free submit a request on Flow Ideas Forum:

    https://powerusers.microsoft.com/t5/Flow-Ideas/idb-p/FlowIdeas

     

    Further, please try with an Apply to each loop for your scenario as a workaround.

     

    Best regards,

    Mabel

     

  • Pstork1 Profile Picture
    69,129 Most Valuable Professional on at

    Its not really a bug since you can only send a message using teams to a single individual or a group (channel).  Since you can't send messages to multiple users using Teams directly its not really a bug that you can't do it using the connector. As mentioned, you can send multiple individual messages by using a loop and looping through a list of users.

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Hi guys!

     

    May We have update this problem? I want to send message for multiple users (chat) to start a discussion.

    How is it working with the loop? Could you share a solution?

     

    Tkss!

  • Pstork1 Profile Picture
    69,129 Most Valuable Professional on at

    Teams only allows sending messages to a single individual or to a channel.  If the group of users you want to send to are not the members of a Team Site then you can only send individual messages to those users. To do that add the users to an array, do a for each on the array and send the message to each user in the array.  its the only way to send messages to several individual users at once, but its not really the way Teams is designed to work.

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    I am receiving this error on one of my 'post a choice of options to user' actions within my flow. 

     

    My flow is made up of 2 'post a choice of options to user' team actions input as a parallel branch.

    Both of them have multiple inputs for recipients from a form that could include multiple email addresses, although only one email address will be selected.

    One of the actions always executes successfully when the flow is triggered but the second always fails with this error.

     

    I would expect that if it was not expected behaviour that it should fail on both actions? 

     

    @Pstork1can you give a screenshot to help explain further what you mean by loop through so I can test at my end? 

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    posttoteams.png

     

  • Pstork1 Profile Picture
    69,129 Most Valuable Professional on at

    Assuming the users are members of an Office 365 group here's the way to send a message to each member of the group.

    image.png

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Thanks for clarifying this further @Pstork1 unfortunately my members are not part of the same group so this will not work for me. But this has been really useful to see. 

     

    I am going to test having an action for each of my recipients to see if that will be a workaround instead of having multiple contacts on the same action. It will make the flow a bit messy but if it works then that is all that matters 🙂 

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 605

#2
Valantis Profile Picture

Valantis 340

#3
11manish Profile Picture

11manish 284

Last 30 days Overall leaderboard