Skip to main content

Notifications

Power Automate - General Discussion
Unanswered

MS Teams chat with bot

(0) ShareShare
ReportReport
Posted on by

Hi, I'm having an issue with Teams and Power Automate. Issue looks like that: I want to send to multiple users a message. Theirs mails i store in compose. Compose looks like this 

buszi99_2-1666089380312.png

 

When i put the output of this compose it shows an error like this.

buszi99_3-1666089397854.png

 

 

Categories:
  • buszi99 Profile Picture
    buszi99 on at
    Re: MS Teams chat with bot

    I want to send a message to people who are peaked in audience targeting in SharePoint. It will be used only for really important posts

  • Expiscornovus Profile Picture
    Expiscornovus 31,139 on at
    Re: MS Teams chat with bot

    Hi @buszi99,

     

    Are you trying to post a message to the whole organisation?

     

    If so, why not create an org-wide type of team and just post a message in that channel?

    https://learn.microsoft.com/en-us/microsoftteams/create-an-org-wide-team

     

  • buszi99 Profile Picture
    buszi99 on at
    Re: MS Teams chat with bot

    Currently i have flow which sends in apply to each but i think it's too slow to send to all people. I want to run this flow where might be up to 3000 people and i dont know how long it's gonna work and i want devide this compose for few parts and send messages in paralel branches and i thought that i can add multiple emails to this block and send message to all together at the same time.

  • Expiscornovus Profile Picture
    Expiscornovus 31,139 on at
    Re: MS Teams chat with bot

    Hi @buszi99,

     

    I see you selected the Chat with Flow Bot option in the dropdown of the Post a message in a chat or channel. That option is for a private chat:

    https://learn.microsoft.com/en-us/power-automate/teams/send-a-message-in-teams#posting-a-message-as-the-flow-bot-directly-to-a-user

     

    Are you looking to create a group chat?

     

    If so, you need to select the Group Chat option and select an existing conversation ID. If you don't have a group chat yet, you can create one by using the create chat action.

     

    Below is an example of that approach.

     

    groupchat.png

     

    Btw, I see you have listed 21 people in the compose (including the account of the connection that is 22 identities). As far as I am aware the limit of the create a group chat action is 20 members:

    https://learn.microsoft.com/en-us/connectors/teams/#known-issues-and-limitations-with-actions

     

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

Microsoft Kickstarter Events…

Register for Microsoft Kickstarter Events…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 145,636

#2
RandyHayes Profile Picture

RandyHayes 76,287

#3
Pstork1 Profile Picture

Pstork1 64,942

Leaderboard