Showing results for 
Search instead for 
Did you mean: 
Regular Visitor

Embed Token Generation in Power BI Embedded using .NET code with AAS live data source with RLS.

I am trying to embed a Power BI report implemented with RLS and having Azure analysis services as its datasource with live connection. It has RLS implemented and we are trying to embed this report into a .NET application. Can anybody suggest a way around. I have tried using Postman it throws effective identity error too.

Community Support
Community Support

HI @Deepanshi_Ranka,

AFAIK, the RLS with live connection mode to Analysis service data source should be applied on the database side instead of report. I'd like to suggest you take a look at the following link to know the usage and limitation of this type data source:

Embed a report on an on-premises SQL Server Analysis Services (SSAS) - Power BI | Microsoft Learn

In addition, what type of security filter are you used ? The Row level or Object levels?

Security in Power BI embedded analytics - Power BI | Microsoft Learn


Xiaoxin Sheng

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.

Helpful resources

PBI Sept Update Carousel

Power BI September 2023 Update

Take a look at the September 2023 Power BI update to learn more.

Learn Live

Learn Live: Event Series

Join Microsoft Reactor and learn from developers.

Dashboard in a day with date

Exclusive opportunity for Women!

Join us for a free, hands-on Microsoft workshop led by women trainers for women where you will learn how to build a Dashboard in a Day!

MPPC 2023 PBI Carousel

Power Platform Conference-Power BI and Fabric Sessions

Join us Oct 1 - 6 in Las Vegas for the Microsoft Power Platform Conference.