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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register 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
July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.

Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.