Forum Discussion
VSmart
3 years agoFrequent Visitor
Get 401 Error when try to Get Activity Events (Audit Logs)
I'm trying to get Power BI audit logs using service principal. I follow every step in creating Azure principal Embed Power BI content in an embedded analytics application with service principal and ...
VSmart
3 years agoFrequent Visitor
Thank you error disappear when i remove Tenant.ReadAll and Tenant.ReadWriteAll. It writted in documentation. https://learn.microsoft.com/en-us/rest/api/power-bi/admin/get-activity-events#permissions
Anonymous
3 years agoNot applicable
HI VSmart,
I'm glad to hear you find the root causing and share the resolution here, they will help others who faced the similar issues.
Regards,
Xiaoxin Sheng