Forum Discussion

YiBo's avatar
YiBo
New Member
2 years ago
Solved

How to configure SSAS Connection in PowerBI Reportserver with form-based authentication

HI:

    I changed the PowerBI Reportserver from domain authentication to form authentication mode. How can reports connected to SSAS data sources display different data ranges based on the ID of the logged in user?  Any helpful answers would be greatly appreciated!

2 Replies

  • Anonymous's avatar
    Anonymous
    Not applicable

    Hi YiBo ,

    To have reports connected to SSAS data sources display different data ranges based on the user ID of the logged-in user, you'll want to implement dynamic row-level security (RLS) in SSAS.

    • Set up dynamic row-level security within your SSAS Tabular model. This involves creating roles and rules within SSAS that use the function or other mechanisms to filter data based on the user's identity.USERNAME().
    • Ensure that the security configuration within SSAS is working as expected by testing with multiple user IDs.
    • Choose the appropriate option, either "Import" or "Connect Live", depending on your design choice. Live connection is recommended for SSAS sources to enable real-time data access and dynamic security.
    • Since you've changed the authentication mode to forms authentication, make sure that the Power BI Report Server is correctly configured for this authentication mode.
    • The mapping between Power BI users and SSAS roles will need to be maintained within SSAS, as Power BI Report Server will pass the authenticated user's credentials to SSAS for data access.

    Configure Custom or Forms Authentication on the Report Server - SQL Server Reporting Services (SSRS) | Microsoft Learn

    Manage SQL Server Analysis Services data sources - Power BI | Microsoft Learn

    Dynamic row-level security with Analysis services tabular model - Power BI | Microsoft Learn

     

     

    How to Get Your Question Answered Quickly 

     

    If I have misunderstood your meaning, please provide more details.

     

    Best Regards
    Community Support Team _ Rongtie

    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

     

     

     

     

    • YiBo's avatar
      YiBo
      New Member

      Hi Anonymous ,

      Thanks for your detailed guidance! How to set up dynamic row-level security within  SSAS multidimensional model? I have the following questions:

      1.  I've changed the authentication mode to forms authentication,but how to transmit the user ID on the web potal to the backend(SSAS).
      2. How to builds mapping tables to control user data access whitin SSAS?

      I'm looking forward to your reply!😊

      Best Regards