cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
mpgaon Frequent Visitor
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 Frequent Visitor
Frequent Visitor

Re: PowerBINotAuthorizedException when using flow in workspace other than my personal workspace

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
Exclusive LIVE Community Event #3 – Ask Arun Anything

Exclusive LIVE Community Event #3 – Ask Arun Anything

Join us in the third Triple A event!

Meet the 2020 Season 1 Power BI Super Users!

Meet the 2020 Season 1 Power BI Super Users!

It’s the start of a new Super User season! Learn all about the new Super Users and brand-new tiered recognition system.

January 2020 Community Highlights

January 2020 Community Highlights

Make sure you didn't miss any of the things that happened in the community in January!

Top Kudoed Authors