Forum Discussion
Getting a token error on PowerBI Embedded Report that is using SSAS on-premise data source with RLS
In addition to the above, the implementation of our Embedded PowerBI report is using the Service Principal method.
Hi JuggernautProf ,
Can you please share more information about the "token error" ? Do you get an error when trying to generate the embed token for your report, or are you getting the error when using the token to view the report?
Did you look at network traces (through browser/fiddler) to see which error is returned?
- JuggernautProf2 years agoHelper I
Yes the token error comes up when viewing the report (please see attached).
- AmosHersch2 years agoMicrosoft Employee
This doesn't look like an error from Power BI side. Can it be from your BE code which fails to generate the token?
You should open network traces to see what's failing and/or debug BE code to see what is failing and why.
- JuggernautProf2 years agoHelper I
Sorry, what's BE code?
No changes to the codebase on the front-end. And no changes to the token lately either.
And I have another Semantic SSAS Model with identical RLS (Row-Level Security) that connects just fine to those embedded reports. No token error whatsoever.