Forum Discussion
BalaGrandhi
2 years agoNew Member
RLS not working with CUSTOMDATA() in App Owns Data semantic model
I have a semantic model on which RLS is working with Username() when I use power BI embedding functionality. Now I want to consume that semantic model in our other application using C# libraries like...
Anonymous
2 years agoNot applicable
Hi BalaGrandhi ,
You can follow this step:
1.Log the value you’re passing in the connection string to ensure it’s correct.Verify that the Customdata is being correctly interpreted by the semantic model.
2.Confirm that the RLS rules are correctly applied to the relevant tables.
3.Since this is an “app owns data” scenario, ensure that the service account (used for the connection) has the necessary permissions to access the data and apply RLS.
Below is the link will help you:
Connection string properties (Analysis Services) | Microsoft Learn
Best Regards,
Xianda Tang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.