cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
sakalasiva Frequent Visitor
Frequent Visitor

Embed PowerBI: Dynamically pass AAD token to Web data source authorization header as variable

I am using web API with AAD token authentication as data source. AAD token will be varied for different customers so I need to pass this AAD token value to Web API  based on logged in customer to fliter user specific data to return. Is there a way to set authorization header value as variable so that I can intialize variable while creating embed url for customer. 

1 REPLY 1
v-jiascu-msft Super Contributor
Super Contributor

Re: Embed PowerBI: Dynamically pass AAD token to Web data source authorization header as variable

Hi @sakalasiva,

 

As we can see from your post, you are going to update the dataset each time customers access the report. I'm afraid this isn't the solution for your scenario. Because as its name depicts, Power BI embedded just embed the whole contents in customer application, which isn't an independent copy. In other words, all the end users of Power BI embedded will see the same contents at the same time if no RLS is applied. 

I think the solution could be embedded-row-level-security

Embed_Power_BI_Dynamically

 

Best Regards,

Dale

Community Support Team _ Dale
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Virtual Launch Event

Microsoft Business Applications October Virtual Launch Event

Join us for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

Power BI Helps Homeless and Trouble Youth

Power BI Helps Homeless and Trouble Youth

We spoke with Power BI Super User, Greg Deckler, about his charity work

MBAS Gallery

Watch Sessions On Demand!

Continue your learning in our online communities.

Top Kudoed Authors
Users Online
Currently online: 318 members 3,836 guests
Please welcome our newest community members: