I'm trying to remove/disconnect a VNET (which doesn't exist any more) from an existing App Service Plan.
Here's some screen shots showing what I have:
So here it's saying that the Classic VNET doesn't exist any more. This is true. It was migrated to ARM so it's renamed/etc.
So let's click on that vnet name to see what that VNET sync details are:
Okay - this is interesting. It correctly says the VNET doesn't exist. Good.
But then it says: DISCONNECT BUTTON ABOVE
.. which I want to click/use .. but it doesn't exist.
So how can I remove/disconnect this "not found" VNET from this App Service Plan?
To disconnect VNET from App Service plan, you need to do it from App Service
not App Service plan.
I tried to reproduce the same in my environment and got below results
I deleted the existing classic virtual network that is integrated to my App Service.
When I checked the status of it in App Service plan, it is showing Not found
same as you like below:
When I clicked that VNET name, I got the screen with same details as you like below:
As it says, you can remove the VNET from App Service using Disconnect
button like below:
Go to Azure Portal -> App Services -> Your App Service -> Networking -> VNet Integration -> Disconnect
When I clicked on Disconnect, I got the screen like below:
After selecting Yes, VNET removed successfully like below: