Join us for an expert-led overview of the tools and concepts you'll need to pass exam PL-300. The first session starts on June 11th. See you there!
Get registeredPower BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.
Hi all,
I have an embedded PowerBI report built on top of an AAS model which just fails to run. It was working fine when I was using it via import mode, but when the mode was changed to Live Connection, the report just won't run. There is no RLS which actually filters the data, but since "https://docs.microsoft.com/en-us/power-bi/developer/embedded/embedded-row-level-security#customdata-... says that we have to use RLS in order to embed the report, I created a role and added members to it. Unsure if I am supposed to write a DAX query to filter data anywhere?
Below is the error:
11:12:36:747 USER_DEBUG [153]|DEBUG|Body: {"error":{"code":"InvalidRequest","message":"Creating embed token for accessing dataset *Dataset ID* requires effective identity to be provided"}}
I have gone through several articles, including:
https://prologika.com/power-bi-embedded-service-principals-and-ssas/
https://prologika.com/power-bi-embedded-service-principals-and-aas/
https://docs.microsoft.com/en-us/power-bi/developer/embedded/embed-sample-for-customers?tabs=net-cor...
https://sqlswimmer.com/2019/02/07/how-to-use-power-bi-embedded-for-your-customers/
I tried using effective identity, but I'm not sure if I'm passing the correct parameters.
Also, still unsure about the CustomData() function. And if so, where to use it? What are the modifications and whrere will they be implemented?
Stuck with this issue for about 2 months to no avail. Is there a working sample code which I can refer to make this work?
Any and all help will be appreciated.
Thanks.
Hi, @Rishabh-Maini
So how do you use CustomData() function? Do you follow this step to set it up?
You can reference this similar solved case, Hope it helps:
Solved: Azure Analysis Services RLS and Embedding - Microsoft Power BI Community
Did I answer your question ? Please mark my reply as solution. Thank you very much.
If not, please feel free to ask me.
Best Regards,
Community Support Team _ Janey
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
48 | |
31 | |
27 | |
27 | |
26 |
User | Count |
---|---|
61 | |
56 | |
35 | |
31 | |
28 |