Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Hello! I've been researching to figure out existing gateways within Enterprise Power BI. However, I am facing the issue with the correct numbers existing inside Power BI.
According to the Power BI portal and API calls from
https://api.powerbi.com/v2.0/myorg/gatewayclusters?`$expand=memberGateways&`$skip=0
I have around 300 gateways existing within the Power BI. However, When I query datasource existing in Power BI and see their linked Gateway_IDs, then they have about 1000+ distinct gateway_ids.
I used "Get-PowerBIDatasource" function module in Powershell to grab datasource information from existing datasets in Enterprise.
Are distinct gatewayIDs representing not only PowerBI gateways, but also other gateways? (such as powerapp, sharepoints, and many other)
I just want to count the number of gateways created for Power BI.
Solved! Go to Solution.
Hi @kim0 - The Gateway_ID field from Get-PowerBIDatasource doesn't just represent Power BI gateways. It also includes entries for:
Gateways for PowerApps.
Other linked services like SharePoint, Azure Data Factory, or Logic Apps.
Historical or deprecated gateways that might still be linked to older datasets.
Thus, the higher number of distinct Gateway_IDs could reflect a broader scope of data connections, not just physical or logical gateways used exclusively for Power BI.
Filtering based on ConnectionType and cross-checking with active clusters from the Power BI REST API should give you a more accurate count of gateways used exclusively for Power BI.
Reference links:
https://www.serverlessnotes.com/docs/list-gateways-power-bi-rest-api
Hope this helps
Proud to be a Super User! | |
Hi @kim0 - The Gateway_ID field from Get-PowerBIDatasource doesn't just represent Power BI gateways. It also includes entries for:
Gateways for PowerApps.
Other linked services like SharePoint, Azure Data Factory, or Logic Apps.
Historical or deprecated gateways that might still be linked to older datasets.
Thus, the higher number of distinct Gateway_IDs could reflect a broader scope of data connections, not just physical or logical gateways used exclusively for Power BI.
Filtering based on ConnectionType and cross-checking with active clusters from the Power BI REST API should give you a more accurate count of gateways used exclusively for Power BI.
Reference links:
https://www.serverlessnotes.com/docs/list-gateways-power-bi-rest-api
Hope this helps
Proud to be a Super User! | |
Thank you so much for reference documentation. The additional reference gave me clear instructions!
Let's say I do have only PBI Admin role under the enterprise and I can only get Power BI Gateway counts. How can I determine rest of logical gateway counts? (How to tell these gateways are from what platform)
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 41 | |
| 38 | |
| 36 | |
| 30 | |
| 28 |
| User | Count |
|---|---|
| 128 | |
| 88 | |
| 79 | |
| 67 | |
| 62 |