microsoft / microsoft/sql-server-samples

issue with azure sql managed instance jumbox template

Open
#492 2 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

I'm trying to execute the powershell script that is provided on Azure (right after provisioning Azure SQL Management Instance to create the jumpbox) and I`m getting the following error:

Failed to configure Virtual Network: The address prefix 0.0.0.1/28 in resource /subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/RG-V1/providers/Microsoft.Network/virtualNetworks/xxxx-xx-xxx-xxx has an invalid CIDR notation. For the given prefix length, the address prefixshould be 0.0.0.0/28.
StatusCode: 400
ReasonPhrase: Bad Request
OperationID : '96bcc7fd-c856-47ea-a391-0edcc3f5a356'

It`s also not creating the jumpbox. Any clues?

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.

Research direction

Start with the Azure-provided PowerShell script used after Azure SQL Managed Instance provisioning and reproduce the virtual network configuration failure. Trace the address-prefix input shown in the error, then verify the corrected CIDR and successful jumpbox creation.

Written by the indexing model from the issue text.

Assessment

Tech stack
azure, powershell, sql
Domain
cloud, databases, infrastructure, networking
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.