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 / Flow fails due to issu...
Power Automate
Unanswered

Flow fails due to issue connecting to Power BI alert

(1) ShareShare
ReportReport
Posted on by 4

Hey guys, hoping you can help me. I've created a simple alert that emails a group of people when a Power BI alert is triggered. For some reason the flow is failing and the issue is in connecting to the Power BI alert.

 

The error code is:

Capture.PNG

 

The full error text in that bottom scroll window is:

{
 "error": {
 "code": "MalformedQueryResult",
 "pbi.error": {
 "code": "MalformedQueryResult",
 "parameters": {
 "AlertId": "19133",
 "TileId": "14216948"
 },
 "details": [],
 "exceptionCulprit": 1
 }
 }
}

I made this flow by following the link from Power BI in the alert window (it says "Use Microsoft Flow to trigger additional actions") so the connection seemed to work fine when I set up the flow.

 

Not sure what other information to provide. Any help would be greatly appreciated, this alert has become kind of important at work and the fact that it is failing is kind of embarassing =S.

 

Thanks!

 

Categories:
I have the same question (0)
  • v-yamao-msft Profile Picture
    Microsoft Employee on at

    Hi @sallen1,

     

    What’s your current situation? Are you still having the issue?

    Please make sure you are using correct Alert Id in the trigger.

     Generally, error message bad request means that a setting in an action of the flow doesn’t function as expected.

    Please correct the problem inside the flow definition by editing the flow, then save the updated flow.

    Please check it again.

    If you are still having the issue, please feel free post back.

     

    Best regards,

    Mabel

  • GabrielStJohn Profile Picture
    Microsoft Employee on at

    Hey, @sallen1!

    Thank you for posting on the Flow Community Forum! It appears as though @v-yamao-msft would like some more information in order to further assist you properly with your issue. Please share any additional information that was requested in order to decrease the amount of time that it will take for you to be assisted!

    Thank you for being an active member of the Flow Community!

    -Gabriel
    Flow Community Manager

  • JoelPhillips Profile Picture
    4 on at

    I'm having this problem as well. I've selected the Alert ID from the dropdown, and I am getting a BadRequest Error 400. Was any solution found for this problem?

  • sallen1 Profile Picture
    4 on at

    I actually wasn't able to fix the flow so I just re-created it from scratch and it worked fine. I wish I could be more helpful but I'm not sure what the issue was.

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    I am experiencing the same issue.

    The PowerBi Alert is selected from the dropdown list, so an incorrect AlertId seems unlikely.

    I tried recreating the alert and flow, but this makes no difference.

     

    Does somebody have a solution for this problem?

     

    The error message I'm getting with statuscode 400:

    {
     "error": {
     "code": "MalformedQueryResult",
     "pbi.error": {
     "code": "MalformedQueryResult",
     "parameters": {
     "AlertId": "39377",
     "TileId": "21778977"
     },
     "details": [],
     "exceptionCulprit": 1
     }
     }
    }
  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Same issue here, I tried recreating the Flow from scratch and nothing changed. Is there already a solution? I am running 6 reports from the same Power BI and everything else is the same, but only 2 of them have this issue with the trigger. 

     

    Power BI Trigger Error 1.pngPower BI Trigger Error 2.pngPower BI Trigger Error 3.png

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Power BI Trigger Error 4.pngPower BI Trigger Error 5.png

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    I've fixed my problem, it was a configuration error of the power bi alert Smiley Embarassed

     

    I had created a measure on which I defined the alert, the measure compared some values and returned True() or False(). I assumed that this corresponded with 1 and 0 but this is not the case! 

    PowerBi doesn't complain when configuring the alert this way, but you will never get an alert Robot Sad 

     

    After I adapted the measure to return 1 & 0 instead of True() & False(), everything worked like a charm.

     

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    @Anonymous thank you for sharing, can you elaborate a bit more about how you re-configure your Power BI Alert from True/False to 1/0???? Because at my Power BI Alert management I can only see the option as screenshot below. Thanks!

    Power BI Trigger Error 6.png

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    @Anonymous I adjusted the measure on which I configured the alarm to return 1 or 0 instead of true or false.

    In the power bi management I have the same options as you 🙂 

     

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 June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
11manish Profile Picture

11manish 227

#2
David_MA Profile Picture

David_MA 204 Super User 2026 Season 1

#3
Valantis Profile Picture

Valantis 177

Last 30 days Overall leaderboard