Can't delete virtual network or subnet due to Service Association Link (SAL)

PJ Lehman 0 Reputation points
2025-03-12T03:15:31.95+00:00

Seeing multiple issues with this from others posting. I need help getting a VNET deleted with a subnet that has Subnet Delegation for Microsoft.DBforMySQL/flexibleServers. The corresponding resources have already been deleted, and I tried to recreate but didn't work.

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.
2,663 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Manu Philip 19,921 Reputation points MVP
    2025-03-12T05:16:15.1566667+00:00

    Hi PJ Lehman

    You are facing the issues due to the resource deletion has tried in unsupported sequence. We can try a force update/deletion from API Playground through API as explained below.

    Find the VNET ID from azure portal as below

    User's image Copy the value and add the suffix ?api-version=2024-07-01

    Open the API Playground as below from azure portal

    User's image

    Select GET as below. Substitute the resource value of the resource copied above and 'Execute' to copy the 'Response Body' text.

    User's image

    Now select PUT and paste the response in the Request Body. Press Execute

    User's image

    This will do a force update of the resource in the azure premises. Check Try a delete of the resource after a successful update

    If that founds failing, try a 'DELETE' and see if you can be able to delete the resource

    Hope this helps.


    --please don't forget to upvote and Accept as answer if the reply is helpful--


Your answer

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