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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
MaZoSR
Frequent Visitor

API to fetch data gateway status

I am working on a solution that should monitor the status of the On-Premises Data Gateway, for which I'm using the Power BI REST API (https://learn.microsoft.com/en-us/rest/api/power-bi/gateways/get-gateway).

The problem I am having is, that gatewayStatus returns "Live" even when the data gateway is disabled in the Power Platform Admin Center.

 

Anyone know what I am missing here, or is this a bug?

1 ACCEPTED SOLUTION
lbendlin
Super User
Super User

This API call has nothing to do with the health of the gateway.  You need to create your own telemetry on each of the gateway cluster members.

 

For example:

 

lbendlin_0-1726682021208.png

 

 

lbendlin_1-1726682091576.png

 

The gateway admin page may say "partially online"  even when you decided to disable some of the cluster members on purpose.  It may also say "online"  despite the fact that a cluster member may be misbehaving, leading to random request errors.

View solution in original post

1 REPLY 1
lbendlin
Super User
Super User

This API call has nothing to do with the health of the gateway.  You need to create your own telemetry on each of the gateway cluster members.

 

For example:

 

lbendlin_0-1726682021208.png

 

 

lbendlin_1-1726682091576.png

 

The gateway admin page may say "partially online"  even when you decided to disable some of the cluster members on purpose.  It may also say "online"  despite the fact that a cluster member may be misbehaving, leading to random request errors.

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!

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.