Forum Discussion

yazdanb's avatar
yazdanb
Frequent Visitor
9 months ago

Unable to Manage VNet Gateway Connections for Datasets. Can anything be done?

Hi friends, 


We want to automate the management of gateway and connection details for PowerBI datasets, specifically those using Snowflake via VNet data gateways. Our aim is to programmatically bind datasets to gateways, update connection details, or manage gateway mappings using the Power BI REST API.

 

We’ve used the documented REST endpoints:

  • /groups/{groupId}/datasets/{datasetId}/datasources
  • /groups/{groupId}/datasets/{datasetId}/Default.DiscoverGateways
  • /myorg/gateways
  • /myorg/gateways/{gatewayId}/datasources
  • /datasets/{datasetId}/Default.BindToGateway

 

For datasets connected to Snowflake via VNet gateway, the Power BI REST API endpoints either return empty results or do not expose the VNet gateway objects at all. Both the official documentation and community posts indicate that REST API support is limited to classic on-premises data gateways—VNet gateways are not supported for listing, binding, updating, or discovery via API. All management of VNet gateways, including binding datasets and updating connection details, appears to be restricted to the Power BI Service UI or Power Platform admin center.

 

Is there any way to automate VNet gateway binding or connection management for datasets via API? Are there any workarounds, preview features, or roadmap items that would allow REST API management of VNet gateway connections?

 

Any recommendations or insights would be greatly appreciated! Thank you 🙂

3 Replies

    • yazdanb's avatar
      yazdanb
      Frequent Visitor

      Is there any other workaround outside of APIs? Is there any way to use other methods (like XML perhaps) to update the connection?

  • v-prasare's avatar
    v-prasare
    Icon for Community Support rankCommunity Support

    Hi yazdanb,

    No confirmed workaround exists outside UI for VNet gateway management. XMLA cannot help because it doesn’t manage gateway bindings. If automation is critical, as lbendlin suggested raise a feature request on Fabric Ideas and monitor roadmap updates.

     

     

     

    Thanks

    Prashanth