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
5 years agoNot applicable
Did you ever get this PowerBINotAuthorizedException error resolved.
I am currently trying to extract audit logs using service principle for automation and performed all configurations same like you and running into not authorized issue.
PowerBINotAuthorizedException
When I use the token generated by my userid and password, the generated token was working and extracting logs. running into issues when token generated by service principle is throwing not authorized error.