Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
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.
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
| User | Count |
|---|---|
| 5 | |
| 3 | |
| 1 | |
| 1 | |
| 1 |