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

Community site session details

Session Id : p/fA3Zlkw9+ULdQgEI9i/5
Power Automate - General Discussion
Answered

Create Chat OR post message in a chat for TEAMS in power automate

Like (0) ShareShare
ReportReport
Posted on 10 Nov 2023 16:08:37 by 352

Hello,

 

I'm really struggling to understand why the below flow keeps failing so was hoping for some help.

 

I want my flow to message two people once certain conditions have been met, but the flow fails when I either try creating a chat, then posting a message to that chat OR when I post a message using flow bot in chat with flow bot to both recipients.

 

The error message when I setup like this: 'Exception has been thrown by the target of an invocation.' Note, I have tried using Mail and User Principle Name, but both fail. I have also tried with semi-colons and without.

JoshPullan11_0-1699631776785.png

 

The second way I have tried like this, and this is the error message: No user details with email or UPN 'Josh@EMAIL.COM; Mark@EMAIL.COM' were found in Graph. The emails are correct and I get the same error message when I use UPN or Mail.

 

JoshPullan11_1-1699632155417.png

 

It's really frustrating because I can't find anything online about these error messages so I don't know how to resolve or if the issue is because the functionality doesn't work like I'm attempting.

 

Appreciate any help.

 

Thanks

  • vip01 Profile Picture
    52 on 15 Dec 2023 at 21:19:02
    Re: Create Chat OR post message in a chat for TEAMS in power automate

    It just keeps on failingpva flow.png

  • Jap11 Profile Picture
    352 on 06 Dec 2023 at 12:12:53
    Re: Create Chat OR post message in a chat for TEAMS in power automate

    Hi @Anchov 

     

    Thank you for your previous message, that resolved it at the time but today it has stopped working and I'm getting the same error message as before 'Exception has been thrown by the target of an invocation.'

     

    The create the chat or post message to chat is not invoked by me, but by our generic account we use for connection in power automate. The flow worked last week as expected but no longer works.

     

    JoshPullan11_1-1701864681879.png

     

    The only thing I did change was the scope so that it picks up any agreements from my account.

     

    JoshPullan11_2-1701864743280.png

     

     

    I noticed this first when my connection became invalid for no reason. I re-established the connection but seconds later it stops again, I'm not sure this is related to the actual issue though.

     

    JoshPullan11_0-1701864246326.png

     

    Thanks,

    Josh

     

  • Verified answer
    Anchov Profile Picture
    1,984 on 10 Nov 2023 at 17:12:18
    Re: Create Chat OR post message in a chat for TEAMS in power automate

    Your first method should work, provided:

    1. The person invoking the flow is not one of the members listed in this box.

    2. You remove the trailing ';' semicolon at the end of the second email address.

    Anchov_0-1699636237461.png

    Unfortunately, the second method will not work because the action does not accept more than one recipient.


    If I have answered your question, please mark your post as Solved.
    If you like my response, please give it a Thumbs Up.

    Cheers!
    Rick Hurt

     

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

Announcing our 2025 Season 2 Super Users!

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

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 497 Super User 2025 Season 2

#2
David_MA Profile Picture

David_MA 436 Super User 2025 Season 2

#3
Riyaz_riz11 Profile Picture

Riyaz_riz11 244 Super User 2025 Season 2

Loading complete