Forum Discussion

luish_castroc's avatar
luish_castroc
Regular Visitor
1 year ago
Solved

Trying to get roles needed for an RLS report using the APi

Hi,

I currently have an AppService that uses a service principal, and I'm trying to embed reports in an Angular application using a combination of a Microsoft user and a service principal to generate the embedded tokens. Everything works except that when I try to load RLS reports, I need to provide the proper roles, and I don't have an easy way to get those roles either from the user or from the PowerBI API. I have Tenant.ReadAll access, so I think that prevents me from using the admin APIs. Any advice is appreciated.

9 Replies