Deployment Failure for Azure P2S VPN Creation

Henry Ossinger 5 Reputation points
2024-09-08T22:50:29.63+00:00

Hi all, I am building out an environment within Azure to add as a project to my portfolio. Currently I am working on creating a Samba file share, making it so that end users can access it via an Azure P2S VPN, but I have been unsuccessful at deploying the VPN.

I have a Virtual Network Gateway setup, and whenever I attempt to configure the P2S config, I hit save receive "Deployment error / Template is invalid" even though I am using the GUI and the template that is auto generated by Azure.

I have gone through the 2 docs below multiple times, created separate VNETs to configure the VPN to see if that would change anything, have attempted to set it up with Entra authentication and Certificate authentication, multiple different VPN SKU's. Same error every time.

Entra Authentication: https://zcusa.951200.xyz/en-us/azure/vpn-gateway/openvpn-azure-ad-tenant

Azure Certificate: https://zcusa.951200.xyz/en-us/azure/vpn-gateway/vpn-gateway-howto-point-to-site-resource-manager-portal

I have Azure VPN as an enterprise application in the tenant. Each time I go through it I ensure that the tenant ID is correct, the links are pasted correctly, if I am doing certificate that the certificate is fully copy pasted with no errors.

The error says to go to the resource group and check Deployments to view the error in more detail. When I go there, there is nothing except for the successful deployment of the Virtual Network Gateway. Full error message below:

"The template deployment 'Microsoft.Network-20240908152755' is not valid according to the validation procedure. The tracking id is 'c881ce46-d45b-4258-8929-9fdcce0951ae'. See inner errors for details."

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,543 questions
0 comments No comments
{count} vote

1 answer

Sort by: Most helpful
  1. ChaitanyaNaykodi-MSFT 26,201 Reputation points Microsoft Employee
    2024-09-09T15:42:32.36+00:00

    @Henry Ossinger

    Thank you for posting a detailed question here.

    I understand the error is not helpful here but based on some search internally. This error can occur when the certificate used has expired. Can you please validate if the certificate has not expired?

    Also based on your statement above

    When I go there, there is nothing except for the successful deployment of the Virtual Network Gateway

    As the deployment is successful this might be a transient error, can you validate if the P2S VPN is working as expected?
    Can you also try a different browser and see if the error still re-occurs?

    Thank you!

    0 comments No comments

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.