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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Create Chat OR post me...
Power Automate
Unanswered

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

(0) ShareShare
ReportReport
Posted on by 386

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

Categories:
I have the same question (0)
  • Verified answer
    Anchov Profile Picture
    1,986 on at

    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

     

  • Jap11 Profile Picture
    386 on at

    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

     

  • vip01 Profile Picture
    52 on at

    It just keeps on failingpva flow.png

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 522 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 364 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard