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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

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
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

Check out the June 2025 Power BI update to learn about new features.

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.