I am trying to peer into a virtual network in a different subscription but getting Failed to get vnet CIDR error.
[Note: As we migrate from MSDN, this question has been posted by an Azure Cloud Engineer as a frequently asked question]
I am trying to peer into a virtual network in a different subscription but getting Failed to get vnet CIDR error.
[Note: As we migrate from MSDN, this question has been posted by an Azure Cloud Engineer as a frequently asked question]
In the subscription that has the virtual network, make sure to register Microsoft.ContainerService provider with
az provider register -n Microsoft.ContainerService --wait
Source: Azure Official Documentation
4 people are following this question.