cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Helper I
Helper I

How can I determine which datasets are using a gateway connection?

We're moving some servers around, and I'd like to know if there's a way to determine which datasets are using a specific gateway connection and/or if there's a way to change the server for a gateway connection with dropping and recreating.

 

Thanks,

Jason

2 REPLIES 2
Highlighted
Super User IV
Super User IV

Re: How can I determine which datasets are using a gateway connection?

Hi there

THis API will tell you which data sources are for which datasets. It also contains the GatewayID which will relate to your Gateway.

https://docs.microsoft.com/en-us/rest/api/power-bi/admin/datasets_getdatasourcesasadmin

This will give you the Gateway details:
https://docs.microsoft.com/en-us/rest/api/power-bi/gateways/getgateways

This one might be the one to update the data sources
https://docs.microsoft.com/en-us/rest/api/power-bi/datasets/updatedatasourcesingroup





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!







Power BI Blog

Highlighted
Helper I
Helper I

Re: How can I determine which datasets are using a gateway connection?

That's great info, thanks! -- I haven't played much with the API yet.  I'm assuming I need to register an app before I have access to the REST APIs?  Is that approach appropriate even for internal ad-hoc utilities, etc., that aren't an app in the traditional sense (e.g. it'd be an internal "app" meant only for administrator and to query items that the above that can't readily be seen via the Service UI).

 

J

Helpful resources

Announcements
May 2020 Community Highlights

May 2020 Community Highlights

It’s time for another PBI Community recap!

Community Blog

Community Blog

Visit our Community Blog for articles, guides, and information created by fellow community members.

Using the Community

Using the Community

Need help with the Power BI Community? Our 'Using the Community' support articles are a great place to start.

Galleries

Galleries

Looking for inspiration on how to present your data? Need instructional videos? Check out our Galleries!

Top Solution Authors
Top Kudoed Authors