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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply
gotters
Resolver I
Resolver I

How to bind a dataset to a vnet gateway

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

3 REPLIES 3
gotters
Resolver I
Resolver I

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!

 

Anonymous
Not applicable

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

yingyinr_0-1668068719847.png

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:

Limitations

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. 

Helpful resources

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

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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