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 / Follow up in Teams cha...
Power Automate
Unanswered

Follow up in Teams chat doesn't work

(1) ShareShare
ReportReport
Posted on by 19

hi,

 

our employee has a problem with workflow to follow up on Teams chat message. He has used template and workflow has been created correctly but when he starts the process then the workflow fails as image shows. Error message is "The flow has an invalid definition." I tried to replicate this but my workflow worked correctly.

 

MaVashik_0-1652438139406.jpeg

 

MaVashik_1-1652438158832.jpeg

 

Any idea to fix this please?

Thank you

MV

Categories:
I have the same question (0)
  • YGK Profile Picture
    3 on at

    I got the same issue.

    Does anyone handle this issue?

     

    In last step(=Post a feed notification), 

     

    ------

    the following is the raw input

    {
    "host": {
    "connectionReferenceName": "shared_teams",
    "operationId": "PostFeedNotification"
    },
    "parameters": {
    "poster": "Flow bot",
    "notificationType": "groupchat",
    "body/recipient": "DeletedPartByMe",
    "body/previewText": "Reminder for message sent by",
    "body/chatRecipient": "19:2f145c71-a60b-4f8d-9830-291f7a6640af_7b132c6d-a221-45ef-80b3-4c5d640a1b6f@unq.gbl.spaces",
    "body/messageId": "1655857565072"
    }
    }
     
     
    ------
    the following is raw output
    {
    "statusCode": 400,
    "headers": {
    "Pragma": "no-cache",
    "Strict-Transport-Security": "max-age=31536000; includeSubDomains",
    "x-ms-islandgateway": "GA0000000",
    "x-ms-request-id": "southeastasia:43f0626a-72c4-4653-86fb-5bb8aaf9dede",
    "x-ms-correlation-request-id": "8d7bcfa5-da43-46f3-bc63-db87a89514d5",
    "x-ms-flow-mobile-ios-version": "1.3.0",
    "x-ms-flow-routing-request-id": "SOUTHEASTASIA:20220622T021308Z:8d7bcfa5-da43-46f3-bc63-db87a89514d5",
    "Server-Timing": "x-ms-igw-upstream-headers;dur=625.1,x-ms-igw-req-overhead;dur=0.1",
    "X-Content-Type-Options": "nosniff,nosniff",
    "x-ms-service-request-id": "8b51e671-fc6e-49a5-8f14-565e192a7624",
    "x-ms-correlation-id": "3c9d5cf5-01e8-49d3-8c09-f2ba89cfd4a1",
    "x-ms-activity-vector": "IN.05.IN.01.IN.0F.IN.0L.IN.03.00",
    "Timing-Allow-Origin": "*",
    "x-ms-apihub-cached-response": "false",
    "x-ms-apihub-obo": "true",
    "Cache-Control": "no-cache",
    "Date": "Wed, 22 Jun 2022 02:13:07 GMT",
    "Content-Length": "110",
    "Content-Type": "application/json",
    "Expires": "-1"
    },
    "body": {
    "error": {
    "code": "InvalidPowerFlow",
    "message": "The flow has an invalid definition."
    }
    }
    }
  • dtadm Profile Picture
    4 on at

    I have the same output error on mine, though mine is from posting a feed notification. 

    If I set the connection to my account (1), it goes through with no problems.

    If I set the connection to a service account created to run this flow (2, given all required rights), I get the same raw output error message. 

     

    Given that it works for one account and not the other, I'm guessing there's something with permissions somewhere, but the error msg is anything but helpful.

     

    dtadm_0-1656444735930.png

     

  • dtadm Profile Picture
    4 on at

    Tested again after recreating the flow from scratch (same triggers, same format, text, etc) and it worked fine with the alert coming from the account I had mentioned in my previous reply. 

     

    I would try recreating from scratch (in a different browser if needed as well) your whole flow. 

     

    Unfortunately I don't have more details as the raw output is exactly the same as the previous successes with the other account as the connection.

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 248 Super User 2026 Season 2

#2
trice602 Profile Picture

trice602 160 Super User 2026 Season 2

#3
11manish Profile Picture

11manish 142 Super User 2026 Season 2

Last 30 days Overall leaderboard