diff --git a/cli/azd/pkg/project/service_target_aks.go b/cli/azd/pkg/project/service_target_aks.go index b26cfc7142e..5232fb3f4b4 100644 --- a/cli/azd/pkg/project/service_target_aks.go +++ b/cli/azd/pkg/project/service_target_aks.go @@ -606,6 +606,7 @@ func (t *aksTarget) ensureClusterContext( convertOptions := &kubelogin.ConvertOptions{ Login: "azd", KubeConfig: kubeConfigPath, + TenantId: t.env.GetTenantId(), } if err := tools.EnsureInstalled(ctx, t.kubeLoginCli); err != nil {