Azurerm_kubernetes_cluster with aci_connector_linux enabled

I’m deploying an AKS cluster with ACI connector enabled and the aci-connector-linux pod is always in crashloopback. Checking the logs I’ve noticed that the identity that gots created doesn’t have permissions if we provide the aci subnet on different RG and that identity doesn’t get exported.

I’m using azurerm v2.51.0