Azure SQL Managed Instance sample script for Attach-vpn-gateway fails as VPN SKU is deprecated

Open
#1,281 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
50/100
Issue type
Bug
Clarity
Clearly specified
Activity status
Stale
Tech stack
azure
Domain
cloud

Research direction

Start with samples/manage/azure-sql-db-managed-instance/attach-vpn-gateway/azuredeploy.json and review the linked Azure VPN Gateway SKU deprecation guidance. Reproduce or inspect the deployment failure, update the deprecated SKU to a supported value, and verify that the sample deployment succeeds.

Written by the indexing model from the issue text.

Description

While following the instructions on this QuickStart to configure a point-to-site connection to Azure SQL Managed Instance from on-premises
https://learn.microsoft.com/en-us/azure/azure-sql/managed-instance/point-to-site-p2s-configure?view=azuresql

The deployment fails with the error "New creations for Standard or HighPerformance sku is not supported."
image

The underlying ARM template that is hosted on this repository is deploying using the deprecated Standard SKU https://github.com/microsoft/sql-server-samples/blob/master/samples/manage/azure-sql-db-managed-instance/attach-vpn-gateway/azuredeploy.json
image

The VPN Gateway SKU has been deprecated as per this article. https://learn.microsoft.com/en-us/azure/vpn-gateway/vpn-gateway-vpn-faq#sku-deprecate
image

Dominant language
PowerShell
Stars
11.2k
Forks
9.1k
Avg merge
2d 7h
Merged PRs (30d)
14

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from microsoft/sql-server-samples

All issues in microsoft/sql-server-samples

Similar issues

More Cloud issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.