Apr 30 2021 01:23 AM
Hi,
We have Vnet Peering set up for two Vnets. For the purpose of some testing, we need to disable it. I have set the below settings for both Vnets
The status of the Peering shows Connected, still. We are able to connect to the resources.
Please let me know if any further changes are required.
Thanks.
Apr 30 2021 10:20 AM - edited Apr 30 2021 10:23 AM
Hi it's not possible to disable a vnet peering you have to delete the peering if you don't want communication between Vnets .
"Disabling the Allow virtual network access setting only changes the definition of the VirtualNetwork service tag. It doesn't fully prevent traffic flow across the peer connection, as explained in this setting description."
https://docs.microsoft.com/en-us/azure/virtual-network/virtual-network-manage-peering