Hi guys! When adding this property to my ManagedC...
# dotnet
a
Hi guys! When adding this property to my ManagedCluster I get the following error message.
Copy code
Identity = new AzureNative.ContainerService.Inputs.ManagedClusterIdentityArgs
            {
                Type = AzureNative.ContainerService.ResourceIdentityType.UserAssigned,
                UserAssignedIdentities = {
                 { $"/subscriptions/(i have my sub id here)/resourcegroups/rg-aks-pulumi-fabio9d58994b/providers/Microsoft.ManagedIdentity/userAssignedIdentities/fabio-Test", "" }
            }
            },
Copy code
error: Code="FailedIdentityOperation" Message="Identity operation for resource '/subscriptions/(here to)/resourceGroups/rg-aks-pulumi-fabio9d58994b/providers/Microsoft.ContainerService/managedClusters/aks-test38e10d3d' failed with error 'Failed to perform resource identity operation. Status: 'BadRequest'. Response: '{\"error\":{\"code\":\"BadRequest\",\"message\":\"Resource name Request does not support null for removing assigned identities.  is invalid for user assigned identity.\"}}'.'."
t
It should be
Copy code
new Dictionary<string, object>()
instead of
""
a
Thank you!
Just wanted to say it worked!