Not being able to configure a VPN connection to a site-to-site on premise VPN

Alvarez Goyeneche, Roman Ezequiel 25 Reputation points
2025-04-25T17:02:49.3733333+00:00

I have set up a vpn connection to an on premises, the first try, I use a VpnGateway with sku VpnGw2AZ and everything works as expected.

The issue arrives due that the cost of this sku is too high so I switched to Basic.

But this sku doesn't allow me to personalize the IKE policy, and I get an error every time I try to set the Shared Key (all this in the vpn connection):

"Failed to save configuration changes to connection 'Connection'. Error: Operation 1d5e6a56-4597-48d4-8e8f-c42526e16d5b not found."

Any idea what could be wrong or how can I try to change?

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.
1,725 questions
{count} votes

Accepted answer
  1. Rohith Vinnakota 4,350 Reputation points Microsoft External Staff
    2025-04-25T18:37:24.4366667+00:00

    Hi @Alvarez Goyeneche, Roman Ezequiel

    I understand that you want to use the custom IKE policy on the Basic VPN Gateway.

    User's image

    The Basic SKU does not allow for customization of the IKE policy.
    Refer this doc: https://learn.microsoft.com/en-us/azure/vpn-gateway/vpn-gateway-vpn-faq#is-a-custom-ipsecike-policy-supported-on-all-azure-vpn-gateway-skus

    And what about the error I am getting when trying to set the Shared Key? Is that expected for the Basic SKU?

    This is not expected. Could you please try again? If you encounter the same error, could you share a screenshot? Also, could you try this using Azure CLI?

    Refer this link: https://learn.microsoft.com/en-us/cli/azure/network/vpn-connection/shared-key?view=azure-cli-latest

    Kindly let us know if the above helps or you need further assistance on this issue.


    Please do not forget to "Accept the answer” and “Yes” wherever the information provided helps you, this can be beneficial to other community members.


0 additional answers

Sort by: Most 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.