-
Notifications
You must be signed in to change notification settings - Fork 3.3k
Description
Describe the bug
Trying to get the identity from the application gateway, just return the error "ResourceNotFoundError"
Related command
az network application-gateway identity show -g "" --gateway-name ""
Errors
az network application-gateway identity show -g "" --gateway-name ""
Issue script & Debug output
ResourceNotFoundError
Expected behavior
{
"principalId": null,
"tenantId": null,
"type": "userAssigned",
"userAssignedIdentities": {
"/subscriptions/XXXXXXXXX-80b8-4447-b2a6-XXXXXXXXXX/resourcegroups/myResourceGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": {
"clientId": "DDDDDDDDD-eb2e-4836-898a-DDDDDDDDD",
"principalId": "UUUUUUUUUU-b7c8-43d2-80a2-UUUUUUUUUU"
}
}
}
Environment Summary
{
"azure-cli": "2.50.0",
"azure-cli-core": "2.50.0",
"azure-cli-telemetry": "1.0.8",
"extensions": {
"aks-preview": "0.5.137",
"confcom": "0.2.15"
}
}
Additional context
No response