Forum Discussion
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!
- Anonymous2 years ago
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.
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 _ RongtieIf this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
2 Replies
- AnonymousNot 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.
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 _ RongtieIf this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
- YiBoNew 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:
- I've changed the authentication mode to forms authenticationļ¼but how to transmit the user ID on the web potal to the backend(SSAS).
- How to builds mapping tables to control user data access whitin SSAS?
I'm looking forward to your reply!š
Best Regards