Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
mpgaon
Frequent Visitor

PowerBINotAuthorizedException when using flow in workspace other than my personal workspace

I'm trying to create a Flow that starts When a data alert from a Power BI Dashboard is triggered and it is failing.
 
The Flow works when I test it from My Workspace, but it fails when I move it to my org workspace.
This is the error code I'm getting: PowerBINotAuthorizedException
 
INPUT
{
"host": {
"apiId": "subscriptions/72c9792d-e7e6-4eb5-b764-fc599b9b3005/providers/Microsoft.Web/locations/westcentralus/runtimes/firstrelease-001/apis/powerbi",
"connectionReferenceName": "shared_powerbi",
"operationId": "CheckAlertStatus"
},
"parameters": {
"alertId": "15396_"
}
}
 OUTPUT
{
"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": "226a83c3-0a17-49a3-a427-0f3ea4c013bb",
"Access-Control-Expose-Headers": "RequestId",
"Timing-Allow-Origin": "*",
"x-ms-apihub-cached-response": "false",
"Cache-Control": "no-store, must-revalidate, no-cache",
"Date": "Mon, 02 Sep 2019 17:14:33 GMT",
"Content-Length": "220",
"Content-Type": "application/json"
},
"body": {
"error": {
"code": "PowerBINotAuthorizedException",
"pbi.error": {
"code": "PowerBINotAuthorizedException",
"parameters": {},
"details": [],
"exceptionCulprit": 1
}
}
}
}
1 REPLY 1
albertoglzr
New Member

same here, the Alert comes from a group space, and resolve error

 

{
"error": {
"code": "PowerBINotAuthorizedException",
"pbi.error": {
"code": "PowerBINotAuthorizedException",
"parameters": {},
"details": [],
"exceptionCulprit": 1
}
}
}


@mpgaon wrote:
I'm trying to create a Flow that starts When a data alert from a Power BI Dashboard is triggered and it is failing.
 
The Flow works when I test it from My Workspace, but it fails when I move it to my org workspace.
This is the error code I'm getting: PowerBINotAuthorizedException
 
INPUT
{
"host": {
"apiId": "subscriptions/72c9792d-e7e6-4eb5-b764-fc599b9b3005/providers/Microsoft.Web/locations/westcentralus/runtimes/firstrelease-001/apis/powerbi",
"connectionReferenceName": "shared_powerbi",
"operationId": "CheckAlertStatus"
},
"parameters": {
"alertId": "15396_"
}
}
 OUTPUT
{
"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": "226a83c3-0a17-49a3-a427-0f3ea4c013bb",
"Access-Control-Expose-Headers": "RequestId",
"Timing-Allow-Origin": "*",
"x-ms-apihub-cached-response": "false",
"Cache-Control": "no-store, must-revalidate, no-cache",
"Date": "Mon, 02 Sep 2019 17:14:33 GMT",
"Content-Length": "220",
"Content-Type": "application/json"
},
"body": {
"error": {
"code": "PowerBINotAuthorizedException",
"pbi.error": {
"code": "PowerBINotAuthorizedException",
"parameters": {},
"details": [],
"exceptionCulprit": 1
}
}
}
}


@mpgaon wrote:
I'm trying to create a Flow that starts When a data alert from a Power BI Dashboard is triggered and it is failing.
 
The Flow works when I test it from My Workspace, but it fails when I move it to my org workspace.
This is the error code I'm getting: PowerBINotAuthorizedException
 
INPUT
{
"host": {
"apiId": "subscriptions/72c9792d-e7e6-4eb5-b764-fc599b9b3005/providers/Microsoft.Web/locations/westcentralus/runtimes/firstrelease-001/apis/powerbi",
"connectionReferenceName": "shared_powerbi",
"operationId": "CheckAlertStatus"
},
"parameters": {
"alertId": "15396_"
}
}
 OUTPUT
{
"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": "226a83c3-0a17-49a3-a427-0f3ea4c013bb",
"Access-Control-Expose-Headers": "RequestId",
"Timing-Allow-Origin": "*",
"x-ms-apihub-cached-response": "false",
"Cache-Control": "no-store, must-revalidate, no-cache",
"Date": "Mon, 02 Sep 2019 17:14:33 GMT",
"Content-Length": "220",
"Content-Type": "application/json"
},
"body": {
"error": {
"code": "PowerBINotAuthorizedException",
"pbi.error": {
"code": "PowerBINotAuthorizedException",
"parameters": {},
"details": [],
"exceptionCulprit": 1
}
}
}
}

 

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.