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!Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.
Solved! Go to Solution.
Hi @Anonymous ,
According to your needs, you can use PowerShell to manage On-premises data gateway, such as Get-DataGatewayCluster, Set-DataGatewayCluster and so on. to get list of On-premises data gateway, you can try the following code.
Get-DataGatewayCluster -Scope Individual
related blog link: On-premises data gateway management via PowerShell (Public Preview) | Microsoft Power BI Blog | Microsoft Power BI
If the problem is still not resolved, please provide detailed error information and let me know immediately. Looking forward to your reply.
Best Regards,
Henry
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @Anonymous ,
According to your needs, you can use PowerShell to manage On-premises data gateway, such as Get-DataGatewayCluster, Set-DataGatewayCluster and so on. to get list of On-premises data gateway, you can try the following code.
Get-DataGatewayCluster -Scope Individual
related blog link: On-premises data gateway management via PowerShell (Public Preview) | Microsoft Power BI Blog | Microsoft Power BI
If the problem is still not resolved, please provide detailed error information and let me know immediately. Looking forward to your reply.
Best Regards,
Henry
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Gateways - Get Gateways - REST API (Power BI Power BI REST APIs) | Microsoft Docs
if you want all the gateways in your tenant you need to be tenant admin (or be friends with them).