Forum Discussion
Sreenatha
5 years agoNew Member
PowerBINotAuthorizedException exception when executing admin/activityevents API
I am trying to collect powerbi usage via the admin/activityevents API but I get PowerBINotAuthorizedException in the response. Steps followed to generate the token: Created an azure AD app and assi...
Anonymous
4 years agoNot applicable
I am also getting the following response
{
"error": {
"code": "PowerBINotAuthorizedException",
"pbi.error": {
"code": "PowerBINotAuthorizedException",
"parameters": {},
"details": [],
"exceptionCulprit": 1
}
}
}
Got the auth token by giving resource: https://analysis.windows.net/powerbi/api. Did anyone find the solution for it for the get activity API