
I’ve spent a fair bit of my career working with low-code platforms, including K2 and more recently Microsoft Power Platform and Dynamics 365. One of the things I’ve always liked about low-code development is being able to connect to different data sources without having to write loads of integration code.
When I started working more with Dataverse, I expected connecting to REST APIs to be fairly straightforward. Dataverse has virtual tables, which are great for working with external data without copying it into Dataverse. But connecting them to an arbitrary REST API isn’t quite as simple as I’d hoped.
You can build a custom data provider, but that means writing code. And when you’re working with several APIs, that can quickly turn into a lot of bespoke development.
So I started thinking: why can’t I just give it an API definition, answer a few questions and let it build the integration for me?
That’s where BrokerForge came from. After quite a bit of building, breaking, fixing and testing, version 0.1.0 is now available on GitHub.
What does BrokerForge do?
The idea is fairly simple. You open BrokerForge in Dataverse and create a connection to your REST API. Give it a name, the base URL, authentication details and an OpenAPI (Swagger) definition.

BrokerForge analyses the definition and identifies the available operations, including reading, creating, updating and deleting records. It then guides you through anything it can’t work out for itself.

Once everything is configured, you hit Generate. BrokerForge creates a Dataverse virtual table, its columns, a main form and a view.
It also looks for operations that don’t fit the usual create, read, update and delete pattern. Something like adjusting stock, approving an order or triggering a calculation. These become Dataverse Custom APIs that can be called from Power Automate or your applications.


The aim is to make an existing REST API feel like a natural part of Dataverse.


Real-world APIs aren’t always that helpful
This was probably one of the more interesting parts of building BrokerForge. OpenAPI definitions are useful, but they don’t always tell you everything you need to know.
How does pagination work? Which parameters can actually be used for filtering? Does the API expect a particular header? How are results structured?
Rather than making assumptions, BrokerForge asks the administrator. Until those questions are answered, the affected endpoint stays disabled. I wanted to avoid something that appears to work during development but falls over when someone starts using it with real data.
The configuration is stored with the connection, so you don’t have to keep answering the same questions. And when moving between development, test and production, you can use normal Dataverse solution imports and configure the destination environment’s own URL and credentials.
What’s happening behind the scenes?
I wanted the Dataverse side to remain fairly lightweight. The virtual table plug-in takes the request and passes it to the BrokerForge host running in Azure Container Apps. The host handles the actual communication with the REST API, including authentication, request construction and mapping the response back into Dataverse.
Communication between the plug-in and the host uses managed identity authentication, so the plug-in doesn’t need to store secrets. API keys and user tokens are encrypted and kept outside Dataverse.
BrokerForge also supports per-user OAuth and Entra ID on-behalf-of authentication. This was important to me because I didn’t want a user-specific connection silently falling back to a shared service account. If someone hasn’t connected their account, they get prompted to do so.
During testing, I had two users accessing the same virtual table and seeing different records because the source API was applying their individual permissions. Exactly what I wanted.

A couple of rules I wasn’t willing to compromise on
The first was: don’t pretend something works when it doesn’t.
If someone tries filtering a virtual table using a column the API doesn’t support, BrokerForge returns an error explaining the problem. It doesn’t quietly download every record and filter it locally. That might look fine with 50 records. It’s a very different story with 50,000. Errors also include correlation IDs so they can be traced through the logs.
The second rule was around security. If an API is configured to run using each user’s identity, then that’s how it runs. No automatic fallback to a more privileged account.
Things that didn’t quite go to plan
As with most projects, the interesting bits weren’t always the things I originally planned to build.
For example, I discovered that Dataverse wouldn’t allow my application user to create Custom APIs, even though the security role appeared to have the necessary privilege. The solution was to make that an explicit administrator operation. An administrator signs in, and BrokerForge uses their identity to complete the setup.
I also discovered that repeatedly deleting and recreating the same virtual table wasn’t a particularly good idea. After doing it about ten times in one day, I managed to get a form into a state where it stopped working for around 24 hours. The same form worked perfectly in another environment.
Then there was the evening I uninstalled and reinstalled the core solution three times and ended up with two Custom APIs refusing every request.
The lesson? Update things in place rather than constantly deleting and recreating them.
Even the installer had a few surprises. Azure refused to provision new resources in West Europe on my subscription, a newly created Key Vault briefly reported that it didn’t exist, and I’d missed a redirect URI in the authentication configuration. All were found during clean installation testing and fixed.
Not particularly glamorous, but exactly why I wanted to test the installation from scratch rather than assume everything would work because it worked on my machine.
Giving it a try
BrokerForge v0.1.0 is now available as an open-source project under the MIT licence. There’s an installation script that deploys the required components into your Dataverse environment and Azure resource group. Installation takes approximately 10 to 15 minutes, depending on your environment.
I’ve also included an optional sample API, so you can experiment with it before connecting one of your own services. There’s a how-to guide with screenshots, and this walkthrough video.
At the moment, BrokerForge supports REST APIs. I’m planning to add SQL connectivity through Azure Relay and OData support next. And yes, there’s still plenty more I want to do with it.
Why I built it
For me, this is really about getting back to what low-code development should be good at: letting developers and administrators focus on building applications and automating processes rather than repeatedly writing integration code.
I liked that approach when working with K2 SmartObjects, and I wanted to bring a similar experience to Dataverse. BrokerForge is my independent attempt at solving that problem. It’s early days, but the foundation is there, and I’d be interested to see what other people do with it.
If you’re working with Dataverse and have REST APIs you’d like to connect without building custom providers for each one, give it a try. The code is on GitHub at github.com/SimonAllport/Broker-Forge. I’d also be interested to hear which data sources people would like to see supported next.
BrokerForge is an independent open-source project and is not affiliated with or endorsed by Microsoft or Nintex.