Hello Hadas Eliyahu, thank you for posting in the Microsoft Q&A community.
This behavior occurs when the gateway software can successfully authenticate with Microsoft Entra ID (via port 443) but fails to establish the persistent outbound connection to Azure Service Bus. This is almost caused by a local firewall, proxy server, or network security group blocking the required non-standard outbound TCP ports or intercepting the traffic.
To resolve this, please try forcing the Gateway to use HTTPS Mode:
- Open the data gateway app on the host machine.
- Go to the Network tab.
- Toggle the switch for HTTPS mode to On.
- Click Apply. The gateway service will restart automatically.
(Note: HTTPS mode is highly effective for bypassing strict firewall port rules, though it may introduce a very slight performance overhead depending on your data volume).
If the issue persists after turning on HTTPS mode or unblocking the ports, I will need a bit more data to assist you further. Could you please export the gateway logs by going to the Diagnostics tab and selecting Export logs. Review the GatewayErrors.log file for any specific System.ServiceModel, Proxy, or SocketException error codes and share the exact error text here.
I will follow up on this thread to ensure your issue is completely resolved. Please keep me updated on your progress, and if this helps, please consider clicking "Accept answer".
Official Microsoft References: