I am trying to create a new node pool in a newly created subnet with this command
az aks nodepool add \
--resource-group nems12 \
--cluster-name nems-cluster \
--name aksperfnode \
--node-count 1 \
--vnet-subnet-id aks2
But getting an error Agent pools subnet is not in Vnet CIDR
but it is actually added in vnet address space and a subnet is created for it