-
Notifications
You must be signed in to change notification settings - Fork 3.4k
az ad app credential delete does not delete from Azure #27832
Copy link
Copy link
Open
Labels
Auto-AssignAuto assign by botAuto assign by botAzure CLI TeamThe command of the issue is owned by Azure CLI teamThe command of the issue is owned by Azure CLI teamGraph(doesn't work with label-triggered comments; use Graph.Microsoft instead) az ad(doesn't work with label-triggered comments; use Graph.Microsoft instead) az adact-identity-squadcustomer-reportedIssues that are reported by GitHub users external to the Azure organization.Issues that are reported by GitHub users external to the Azure organization.potential-pruningquestionThe issue doesn't require a change to the product in order to be resolved. Most issues start as thatThe issue doesn't require a change to the product in order to be resolved. Most issues start as that
Milestone
Metadata
Metadata
Assignees
Labels
Auto-AssignAuto assign by botAuto assign by botAzure CLI TeamThe command of the issue is owned by Azure CLI teamThe command of the issue is owned by Azure CLI teamGraph(doesn't work with label-triggered comments; use Graph.Microsoft instead) az ad(doesn't work with label-triggered comments; use Graph.Microsoft instead) az adact-identity-squadcustomer-reportedIssues that are reported by GitHub users external to the Azure organization.Issues that are reported by GitHub users external to the Azure organization.potential-pruningquestionThe issue doesn't require a change to the product in order to be resolved. Most issues start as thatThe issue doesn't require a change to the product in order to be resolved. Most issues start as that
Describe the bug
Given an AppId + KeyId, by executing the command:
Observed that the command executes successfully, but in Azure, it does not remove the secret from the app.
What is strange is that if I execute:
It returns an empty list.
Related command
az ad app credential delete
Errors
No CLI error
Issue script & Debug output
az ad app credential list --id $app_id
az ad app credential delete --id $app_id --key-id $secret_key_id
az ad app credential list --id $app_id
Expected behavior
Once delete is executed, AzurePortal should not show secret
Environment Summary
azure-cli 2.53.1
Additional context
No response