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 / 'Environment id is nul...
Power Automate
Unanswered

'Environment id is null or empty' error when value provided in Card Type ID field of Post adaptive card in a chat or channel

(0) ShareShare
ReportReport
Posted on by 47

I created flow with a Post adaptive card in a chat or channel step. I am able to post the adaptive card to the intended Teams channel as long as I leave the Card Type ID field blank.

 

Post an adaptive card flows, without and with, respectively, Card Type ID.

dangthis_0-1657824556748.png

 

If I include text in the Card Type ID field, I get the following error:

 

{
  "error": {
    "code"400,
    "message""Environment id is null or empty",
    "source""flow-apim-msmanaged-na-westus-01.azure-apim.net",
    "path""choose[12]\\when[1]\\choose\\when[1]",
    "policyId""",
    "clientRequestId""XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"
  }
}
 
When someone responds flow config:
dangthis_0-1657889972798.png

 

I have simply entered a string, testPoll, which matches a second flow that is triggered When someone responds to an adaptive card. I am using a Microsoft JSON template that I have updated with my text, https://docs.microsoft.com/en-us/power-automate/poll-generator-sample
 
Based on YouTube videos I have watched, the fields should contain arbitrary matching strings so that the system will connect them. This feels like a bug on the Microsoft side to me... Any ideas?
Categories:
I have the same question (0)
  • annajhaveri Profile Picture
    8,531 Most Valuable Professional on at

    @dangthis are you using the same card contents in the another flow which has when someone responds trigger?

  • dangthis Profile Picture
    47 on at

    Yes, the Inputs Adaptive Card field on the listener flow is identical to the Adaptive Card field on the Post adaptive card flow. As a product, dynamic content is available in down stream steps to record responses.

    dangthis_0-1657889463772.png

     

  • sbitaxi Profile Picture
    29 on at

    I'm encountering the same issue, did you find a solution?

    Posted a new question about it because this one appears to have come to an end.

     

    Teams More Action 'Follow up on a message' gives a... - Power Platform Community (microsoft.com)

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!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 589

#2
Valantis Profile Picture

Valantis 328

#3
David_MA Profile Picture

David_MA 284 Super User 2026 Season 1

Last 30 days Overall leaderboard