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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. 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!

 

v-yiruan-msft
Community Support
Community Support

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

Community Support Team _ Rena
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

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
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.

Feb2025 Sticker Challenge

Join our Community Sticker Challenge 2025

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

Jan NL Carousel

Fabric Community Update - January 2025

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