Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
We have switched our gateways to vnet gateways because of performance enhancements.
However our existing code during deployment of reports and datasets would bind the dataset to a specific gateway as well as a datasource, using the BindtoGateway api endpoint.
However this is not available for VNet gateways?? Likewise none of the Gateway endpoint APIs are available for Vnet?
Is there some way to perform this binding? If not via the REST API is there a way to do it via the xmla endpoint? (our datasets are created anyway via the xmla endpoint).
Please advise if anyone has figured this out.
Thank you
Moshe
Thank you, but you just provided me with information that I already knew. The whole issue is the Bind To Gateway only supporting on-premise gateway.
I need a solution for binding for vnet gateway.
The truth is I decided to go AGAINST what the docs said and it turns out the API seems to be working for the vnet gateway also! So I am not sure if the docs are wrong or if I am going to run into problems at some point - ie it will just stop working!
Hi @gotters ,
You can refer the following links to bind the dataset to vnet gateway:
Announcing VNet Connectivity for PBI Datasets
Use virtual network data gateway and data sources in Power BI
The following REST API can bind a specified dataset to the specified gateway, but it only support the on-premises data gateway...
Datasets - Bind To Gateway In Group
In addition, please take a look at the limitations of vnet gateway in the following documentation:
Best Regards
The information provided has nothing to do with the question. The question is about automation.
We are also trying to automate using azure pipelines and service principal, and facing the same behavior.
Check out the July 2025 Power BI update to learn about new features.
User | Count |
---|---|
6 | |
6 | |
3 | |
2 | |
2 |
User | Count |
---|---|
6 | |
5 | |
4 | |
4 | |
3 |