Getting internal server error while creating on-premise gateway in production. This is critical. Need help on urgent.

Fariduddin, Mohammed 0 Reputation points
2025-07-31T10:25:33.2233333+00:00

Getting internal server error while creating on-premise gateway in production. This is critical. Need help on urgent.

We have installed ON premise gateway on database server machine successfully but while registering from Azure portal , getting internal server error.

Azure VPN Gateway
Azure VPN Gateway
An Azure service that enables the connection of on-premises networks to Azure through site-to-site virtual private networks.
{count} votes

1 answer

Sort by: Most helpful
  1. G Sree Vidya 4,005 Reputation points Microsoft External Staff Moderator
    2025-07-31T21:15:26.6166667+00:00

    Hi Fariduddin, Mohammed

    We understand that you are facing error while creating the on-premises gateway and need help on registering via portal.

    Please review the following key points to troubleshoot the issue:

    • Ensure you're using the latest version of the gateway. Microsoft only supports the last six releases.
    • Temporarily disable antivirus/firewall during registration or whitelist the gateway process.
    • Try registering the gateway using PowerShell as an alternative: .\GatewayInstall.exe /registergateway

    For more detailed troubleshooting steps, please refer to the official Microsoft documentation:

    https://learn.microsoft.com/en-us/data-integration/gateway/service-gateway-tshoot

    To assist you further, could you please share the following details:

    • The type of VPN or network setup you're using during registration.
    • The exact error message or error code (if different from "Internal Server Error").

    Suggested to raise support ticket for further troubleshooting..

    https://learn.microsoft.com/en-gb/azure/azure-portal/supportability/how-to-create-azure-support-request

    Do let me know if you have more queries, we will be happy to assist.


    I hope this helps! If these answers your query, do click the "Upvote" of which might be beneficial to other community members reading this thread.

    If the above is unclear or you are unsure about something, please add a comment below.

    1 person found this answer helpful.

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.