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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

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
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.

Top Solution Authors