An Azure service that is used to collect, analyze, and act on telemetry data from Azure and on-premises environments.
I would separate the auth migration requirement from the networking error.
The current Microsoft documentation for migrating Container Insights from legacy authentication to managed identity uses the following workflow:
- Disable the monitoring add-on.
- Re-enable the monitoring add-on with mi auth enabled. [learn.microsoft.com], [github.com]
Because of that, disable-addons -> enable-addons remains the documented migration procedure. The migration article does not currently describe az aks addon update --enable-msi-auth-for-monitoring true as the legacy-authentication migration workflow. [learn.microsoft.com], [github.com]
That said, your reported error is unusual because:
- The subnet delegation is on the AKS node pool subnet, which is a normal AKS configuration.
- The cluster is not using API Server VNet Integration.
- Azure is rejecting the operation before any monitoring configuration changes are applied.
- The failure references subnet delegation and load balancer resources rather than Container Insights resources.
This suggests the blocker is occurring during AKS resource validation performed as part of the cluster update operation, not because MI Auth itself requires any change to the node subnet, ingress configuration, internal load balancer, or Log Analytics workspace.
I would therefore avoid removing the subnet delegation and avoid modifying the ingress-nginx internal load balancer. Those components are unrelated to Container Insights authentication and Azure is correctly preventing delegation changes while dependent resources still exist.
For your specific questions:
- Supported migration procedure
The documented procedure remains disable and re-enable of the monitoring add-on while pointing to the same Log Analytics workspace and enabling managed identity authentication. [learn.microsoft.com], [github.com]
- Is
az aks addon updatea supported alternative?
The CLI exposes --enable-msi-auth-for-monitoring, but the migration documentation does not currently describe an in-place legacy-authentication migration using only az aks addon update. Therefore it should not be assumed to be an equivalent replacement for the documented migration process without explicit documentation stating so. [learn.microsoft.com], [github.com]
- Is disable/re-enable mandatory when
disable-addonsfails?
Based on the published guidance, the migration workflow still starts with disabling the monitoring add-on. However, the evidence in this case points to an AKS update-path validation issue (SubnetIsDelegated) rather than a Container Insights limitation. Since the subnet, load balancer, and applications remain healthy and unchanged, I would treat the networking error as the primary issue to investigate rather than altering the ingress or subnet design solely for the migration.
the bottom line is...
- The documented migration path is still disable monitoring --> re-enable monitoring with Managed Identity. [learn.microsoft.com], [github.com]
- There is no current documentation that identifies
az aks addon update --enable-msi-auth-for-monitoring trueas the official legacy-authentication migration procedure. [learn.microsoft.com], [github.com] - The reported error appears tied to AKS update validation involving the delegated node subnet rather than to MI Auth itself.
- There is no evidence that migrating Container Insights should require changes to the internal load balancer, node subnet, ingress configuration, or existing Log Analytics workspace.
Help make this community better for everyone: if this answer resolved your issue, please accept it or leave an upvote. If not, share more details in a comment so we can continue the discussion and find the right solution.