Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
MCassady
Helper I
Helper I

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:

MCassady_0-1673974932023.png

VB.net (src is the powerbi dashboard URL)

MCassady_1-1673975681506.png

 

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

0 REPLIES 0

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

Find out what's new and trending in the Fabric community.

July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.

Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.