Forum Discussion

MCassady's avatar
MCassady
Helper I
3 years ago

Stuck Trying to Embed PowerBI in VB.net webapp

Hello,

 

I have a web app that is a combination of javascript, html and VB.net.

Currently, I have a report that I'm displaying via iframe.

 

HTML:

VB.net (src is the powerbi dashboard URL)

 

This is very simple, however I've recently added some RLS. It is my understanding that the RLS WILL NOT work unless I generate embed tokens.

 

I am having trouble trying to find examples of this in vb.net. Every example seems to be in C#.

 

Does anyone have any references or guidance on how to do this?

 

I've mostly been following along with the examples in the below video. In the video he shows how to generate your embed token, and test it using powerbi sandbox...but not how I could apply this embed token to my div or iframe, so I'm a little confused on that as well.

 

https://www.youtube.com/watch?v=yNF-_l2f7w0&t=230s&ab_channel=GuyinaCube

No RepliesBe the first to reply