Azure / Azure/azure-cli

Can you move managed instance to another subnet or not?

Open
#19,522 2 comments 0 reactions 0 assignees View on GitHub
act-codegen-extensibility-squad customer-reported Service Attention SQL
Dominant language
Python
Stars
4.6k
Forks
3.5k
Avg merge
3d 2h
Merged PRs (30d)
60

Description

[This page](https://docs.microsoft.com/en-us/azure/azure-sql/managed-instance/frequently-asked-questions-faq) says

```
Can I move my managed instance to another subnet?

No. This is a current Managed Instance design limitation.
```

But [this page](https://docs.microsoft.com/en-us/cli/azure/sql/mi?view=azure-cli-latest#az_sql_mi_update) contains this example.

```
Move managed instance to another subnet

az sql mi update -g myResourceGroup -n myServer -i \ --subnet /subscriptions/xxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/myResourceGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/testumi \
```

The example itself is wrong as the value after `--subnet` parameter is a managed identity, not a subnet.

---
#### Document Details

⚠ *Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.*

* ID: 06c9a36f-c18a-748b-559a-927c7f4988fb
* Version Independent ID: 7af90d97-d085-b8fa-4e02-d3e601a1846d
* Content: [az sql mi](https://docs.microsoft.com/en-us/cli/azure/sql/mi?view=azure-cli-latest)
* Content Source: [latest/docs-ref-autogen/sql/mi.yml](https://github.com/MicrosoftDocs/azure-docs-cli/blob/master/latest/docs-ref-autogen/sql/mi.yml)
* Service: **sql-database**
* GitHub Login: @rloutlaw
* Microsoft Alias: **routlaw**

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.