Showing results for 
Search instead for 
Did you mean: 
Level: Powered On

PowerBINotAuthorizedException error in Power BI Flow

Hi there,

I've been trying to set up a flow that will send an email to a distribution list when a Power BI alert is triggered. I've been using the template called 'Send an e-mail to any audience when a Power BI data alert is triggered'. When I try to create the flow I get the error 'PowerBINotAuthorizedException'. The steps I followed and full error details are below.


This is what the connections look like when I set up the flow:

This is what the flow looks like:

It's able to read my alerts from Power BI so it's clearly connecting to it. Once the flow is set up and I click on it, there's an error message to fix the trigger:

When I click on the above it outputs the below error message:


"statusCode": 401,
"headers": {
"Pragma": "no-cache",
"Retry-After": "600",
"Strict-Transport-Security": "max-age=31536000; includeSubDomains",
"X-Frame-Options": "deny",
"X-Content-Type-Options": "nosniff",
"RequestId": "71d3b2f8-f444-433e-b2ab-352c5c194a56",
"Access-Control-Expose-Headers": "RequestId",
"Timing-Allow-Origin": "*",
"x-ms-apihub-cached-response": "false",
"Cache-Control": "no-store, must-revalidate, no-cache",
"Date": "Wed, 11 Sep 2019 04:58:29 GMT",
"Content-Length": "220",
"Content-Type": "application/json"
"body": {
"error": {
"code": "PowerBINotAuthorizedException",
"pbi.error": {
"code": "PowerBINotAuthorizedException",
"parameters": {},
"details": [],
"exceptionCulprit": 1

Level: Powered On

Re: PowerBINotAuthorizedException error in Power BI Flow

I am receiving the same error when trying to trigger a flow qith the Power Bi connector.  I have had this trigger work previously, but now after several rebuilds and reconnects, I am continuously getting an error with the trigger.

Level: Powered On

Re: PowerBINotAuthorizedException error in Power BI Flow

Helpful resources


New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!


Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!


Incoming: New and improved badges!

We've given our badges an overhaul and also added some brand new ones!


Microsoft Learn

Learn how to build the business apps that you need.


Power Platform World Tour

Find out where you can attend!


Webinars & Video Gallery

Watch & learn from the Power Automate Community Video Gallery!

Top Kudoed Authors (Last 30 Days)
Users online (3,727)