An Azure relational database service.
Hello Kishor kumar Reddy Akki
I see that Microsoft publishes a complete REST/ARM resource:
Microsoft.Sql/managedInstances/dnsAliases
including Create, Get, List, Delete, and Acquire operations. The stable 2025-01-01 REST API even contains successful Managed Instance examples. (Microsoft Learn)
However, Microsoft's current SQL Database vs SQL Managed Instance feature comparison says:
- Azure SQL Database: use DNS Alias
- Azure SQL Managed Instance: use Cliconfg/client-side alias
So DNS Alias is not currently documented as a normal SQL Managed Instance product capability.
This is also consistent with the tooling: Azure CLI exposes GA commands under:
az sql server dns-alias
but there is no corresponding documented az sql mi dns-alias command.
Then answering your questions
- Is Managed Instance DNS Alias supported?
The ARM/REST contract exists, but the SQL MI product documentation does not currently establish DNS Alias as a generally supported MI feature. I would not assume that advertising the resource type means the backend capability is enabled. - Is this a West Europe limitation?
This therefore looks more like a general feature/API inconsistency than a documented regional limitation. - Should List return an empty collection?
According to the REST contract, yes.List By Managed Instanceis documented to return200 OKwith a list result. A404 ResourceNotFoundfor the collection while the parent MI exists is not the documented "zero aliases" response.
I would recoomend stop testing additional API versions. You have already demonstrated that ARM accepts the resource type and routes the operation to the SQL control plane.
For a supported workaround today, Microsoft's feature comparison recommends a client-side SQL alias (Cliconfg) for SQL Managed Instance rather than Azure DNS Alias. (Microsoft Learn)
This is most likely an exposed-but-not-generally-supported SQL MI API surface or a service-side implementation/documentation defect, rather than an incorrect REST request.
The current Microsoft feature matrix gives stronger evidence that DNS Alias is not actually a supported SQL MI product feature despite the published REST resource.