Forum Discussion

MaZoSR's avatar
MaZoSR
Frequent Visitor
1 year ago
Solved

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?

  • 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:

     

     

     

     

    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.

1 Reply

  • 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:

     

     

     

     

    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.