MySQL Flexible Server Service Association Link prevents subnet deletion after server removal

Kooij AA (André) 0 Reputation points
2026-12-04T09:08:55.8133333+00:00

I have a subnet that cannot be deleted because of what appears to be an orphaned Service Association Link (SAL).

Environment

  • Resource Group: OBWP
  • VNet: oliebollen-b870b1d15b-vnet
  • Subnet: oliebollen-8b53fba612-dbsubnet
  • Service Association Link: aa967591-2539-458b-5f6e-78c0d3a599d8-sal

Problem

Deleting the subnet returns:

Subnet is in use by serviceAssociationLinks/aa967591-2539-458b-5f6e-78c0d3a599d8-sal and cannot be deleted.

Findings

  • The Service Association Link still exists.
  • The SAL can be queried successfully using Azure CLI (az resource show).
  • linkedResourceType = Microsoft.DBforMySQL/flexibleServers
  • allowDelete = false
  • provisioningState = Succeeded
  • az mysql flexible-server list returns no resources.
  • Removing the subnet delegation fails with SubnetMissingRequiredDelegation.
  • Deleting the SAL using az resource delete fails.
  • A direct ARM DELETE request against the SAL also fails.
  • The subnet cannot be deleted because of the SAL.
  • The VNet cannot be deleted because the subnet cannot be deleted.

Relevant output

{
  "linkedResourceType": "Microsoft.DBforMySQL/flexibleServers",
  "allowDelete": false,
  "provisioningState": "Succeeded"
}

When attempting to remove the delegation, Azure returns:

SubnetMissingRequiredDelegation

Subnet requires delegation [Microsoft.DBforMySQL/flexibleServers]
to reference service association link
aa967591-2539-458b-5f6e-78c0d3a599d8-sal.

Troubleshooting already performed

  • Verified that no MySQL Flexible Servers exist in the subscription.
  • Verified that the Service Association Link still exists.
  • Attempted to remove the delegation from the subnet.
  • Attempted to delete the SAL using Azure CLI.
  • Attempted a direct ARM DELETE request against the SAL.

Question

Is there a supported method to remove this orphaned Service Association Link, or does this require backend cleanup by Microsoft?

If additional diagnostics are required, I can provide the full Azure CLI output.I have a subnet that cannot be deleted because of what appears to be an orphaned Service Association Link (SAL).

Azure Virtual Network
Azure Virtual Network

An Azure networking service that is used to provision private networks and optionally to connect to on-premises datacenters.

0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.