Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.
Hello,
I have a power bi report connected to the Azure SQL Database (direct query mode) in the capacity (Premium) workspace.
I have successfully Embedded that report in a web app by using service principal (app owns scenario).
Note: Azure SQL database and Power BI capacity workspace is in a different tenant
Now, the requirement is to apply RLS on an embed report through SSO
So, I have followed the below steps which are described in this link
I am generating a user-specific access token through the azure app (SQLAuthApp) that can access the Azure SQL DB.
then I am passing this access token as identityblob when I am requesting for Embed token.
but it is throwing an error as per the below screen
Can anyone guide me what steps i need to take to resolve this error?
Below is the screen for a visual representation of available resources
Hi @Anonymous ,
The embed token could be generated with a valid SQL Access token as identity blob (i.e. not the user's AAD token as it is a token for the user's tenant only). Consider using on behalf authentication to get a valid SQL access token
https://docs.microsoft.com/en-us/graph/auth-v2-user
Best Regards,
Liang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the October 2025 Power BI update to learn about new features.
User | Count |
---|---|
3 | |
2 | |
2 | |
1 | |
1 |