Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin 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.
I have two gateways running on two dedicated servers. Both are in a cluster and balance the load as needed. In general this works as intended. However I am running into an unusual situation as of late.
Our Internet provider is working with our networking folks to issolate an issue that frequently causes out Internet to drop for several seconds. It comes back but the gateways alway go to offline status when viewed from the "Manage connections and gateways". This causes scheduled refreshes to fail.
I check the servers and the Windows service is running. To get the gateways back online I have to restart the Windows On-Prem service on both servers. Everything is fine until the next Internet blip. It is like the online PBi service sees the gateway is unreachable and just stops trying altogether.
Is there anyway to get the online service to retry the connection to the gateway?
Or as an alternative, is there something I can do on the gateways to check if the PBi service is listing them as being offline and to restart the Windows service on the gateway to reestablish the link?
Hopefully the Internet issue is resolved soon but as it is now I am spending a large amount of time manually check the if the gateways are online so scheduled refreshes complete successfuly.
Thank you,
Chuck
Hi @ChuckS
Unfortunately, the Power BI service does not have a built-in feature to automatically retry connections to gateways that temporarily go offline due to internet connectivity issues. However, implementing an automatic reconnection strategy on your servers can help. This involves creating a simple script that checks the gateway's connection status and, if disconnected, attempts to restart the gateway service.
You can use Windows Task Scheduler to run a PowerShell script at regular intervals that checks the status of the Power BI gateway service and restarts it if it's not actively connected.
Best Regards,
Jayleny
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Thanks for the suggestion.
You would not happen to have an example of a PS script that can do this.
I did find some old examples that require granting API access but I am not sure if that is the correct approach.
It is like the online PBi service sees the gateway is unreachable and just stops trying altogether.
The Power BI service has no way to communicate with the gateway cluster members. ALL communication is exclusively initiated by the gateway cluster members.
Which gateway version are you running?
Currently both gateways are running version 3000.202.16
The gateways say they are online and the Windows server is running but when I check the online service it shows both as offline. Stopping/restarting the Windows service on each gateway gets things working again so secheduled refreshes continue.
I would think if there is an Internet inturuption, once it came back up the gateways would re-establish the connection but that does not seem to be the case.
Hi Chris,
I have had a on-premise data gateway installed on a SQL sever in Azure for some years, around October 2024 started having drops. Logged it with Microsoft they admitted to an issue then said it was sorted since then it drops daily at random times. I have done every update going to the gateway ie one got released yesterday so did that so the updates have not fixed it either. Server is in Azure so network always on. Server is fully patched.
Did you find a fix?
Microsoft saying its the server and internet connection which I said well its yours its in Azure and not getting any alerts for outage or high resource utilisation.
Love to hear if you got a fix 🤞🏻
In a normal world I would have said "downgrade to 198.17" but as you know gateways don't follow normal world rules. You cannot downgrade a gateway, only upgrade, or start over.
Since you have a Pro license you can open a Pro ticket at https://admin.powerplatform.microsoft.com/newsupportticket/powerbi
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
57 | |
28 | |
25 | |
22 | |
21 |
User | Count |
---|---|
63 | |
48 | |
24 | |
24 | |
17 |