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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
Anonymous
Not applicable

Disable a individual gateway in a cluster via REST API

JoostvR_0-1622636293245.png

Is there a way to disable one of the individual gateways via a REST API or (PowerShell) scripting? The Power Platform admin center has an option for it, but I can't find it in the REST API documentation. 
Gateways - REST API (Power BI Power BI REST APIs) | Microsoft Docs

1 ACCEPTED SOLUTION
v-henryk-mstf
Community Support
Community Support

Hi @Anonymous ,

 

Currently, rest api does not support this function. But you can try to use powershell and use the Set-OnPremisesDataGateway command to achieve the same effect.

 

v-henryk-mstf_0-1622786542903.png

 

Here is the reference document link: PowerShell support for on-premises data gateway clusters | Microsoft Docs


Best Regards,
Henry

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

1 REPLY 1
v-henryk-mstf
Community Support
Community Support

Hi @Anonymous ,

 

Currently, rest api does not support this function. But you can try to use powershell and use the Set-OnPremisesDataGateway command to achieve the same effect.

 

v-henryk-mstf_0-1622786542903.png

 

Here is the reference document link: PowerShell support for on-premises data gateway clusters | Microsoft Docs


Best Regards,
Henry

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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