Forum Discussion

ribisht's avatar
ribisht
Icon for Helper I rankHelper I
1 year ago
Solved

Implement RLS in Power BI Using Application-Level Authentication

  Current State : Power BI static url(embeded in the application) is provided in the application and they manual do pivot for the restricted data and place it in sha...
  • rohit1991's avatar
    1 year ago

    Hi ribisht 

     

    To implement RLS with application-level authentication (not using Microsoft user accounts), you should use Power BI embedding for service principals. First, assign RLS roles to the dataset in Power BI Desktop and publish it. Then, when generating the embed token in your application, pass the appropriate username as an effective identity in the token request. Power BI will apply RLS based on that username. This way, your app controls what data the user sees using its own authentication logic, while Power BI enforces RLS behind the scenes. No manual pivot or shared drives are needed once setup is complete.