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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
mikeclemmens
New Member

CRUD operations in custom PBI Visuals. Possible?

Hi all,

We've been told that due to the nature of PBI Visuals (sandboxed iframes) - we cannot make any POST, DELETE or PUT calls to an API hosted on an external server. Is this true and is there any workarounds?

Thanks,

Mike.

cc: @dm-p 

3 REPLIES 3
dm-p
Super User
Super User

Hi @mikeclemmens,

If you want to certify your visual, then this would not be permitted, but comms are certainly possible, if you're prepared to make some concessions with your endpoint (although you will need to assess this for risks accordingly).

You can make calls if your endpoint allows access from any domain. I have a brief overview of it here.

Regards,

Daniel





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!


On how to ask a technical question, if you really want an answer (courtesy of SQLBI)




Thanks for confirming Daniel, that's a relief. What concessions are you referring to specifically that we should consider?

If we wanted to add an additional security layer to our API requests by passing an access token or similar to our backend which can validate against PBI for session validity - is that even possible?

Also, do you know if PBI is planning to change this acceptance criteria in the future for certified visuals?

Thanks for helping out,

Mike

Hi @mikeclemmens,

Power BI visuals have a null origin (due to the sandboxing), so you can't check for things like the domain that requests come from. Your best best might be to ensure that you have a valid license key as one of your visual properties that can be used to authenticate server-side, or similar. From what I've seen of other folks' visuals, this seems to be the case, but this isn't really an area I'm used to exploring in custom visuals, as I've never had the need (and as I develop my visuals in my own time, I don't have an R&D budget for it ๐Ÿ˜› ).

Your best bet might be to request support from the team (pbicvsupport@microsoft.com) around this for guidance. I would advise the same about whether the external comms requirement would be lifted re: certification, as this is something I don't have visibility of either.

Regards,

Daniel





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!


On how to ask a technical question, if you really want an answer (courtesy of SQLBI)




Helpful resources

Announcements
November Fabric Update Carousel

Fabric Monthly Update - November 2025

Check out the November 2025 Fabric update to learn about new features.

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Users online (27)