Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

Reply
ChaithayaS
New Member

Row-level security with Power BI Embedded

Hi Team,

 

I am implementing RLS for Power BI reports using the "Token-based Identity with Azure SQL Database" as specified in the below link :

https://docs.microsoft.com/en-us/power-bi/developer/embedded/embedded-row-level-security#token-based...

 

The report renders fine with the correct data specific to the loggedin user in the PowerBI dashboard. Further I was trying to embed my report in WebApp. The report renders but without any data and lands up with the database connectivity issue.

 

Query :

The identity blob should be a valid access token to Azure SQL Server (with a resource URL of (https://database.windows.net/)

1. I have delegated my permissions in the App Registration.

2. I generated a token using AppId , App Secret , Tenant Id  with the resource URL as 'https://database.windows.net/' and passed the same to the Identity Blob 

 

Is the above implementation right ? should I pass the user access token generated for the logged in user along with the above information? 

 

0 REPLIES 0

Helpful resources

Announcements
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.