-
Notifications
You must be signed in to change notification settings - Fork 3.3k
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 teamGraphaz adaz adcustomer-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
Description
Describe the bug
Given an AppId + KeyId, by executing the command:
az ad app credential delete --id $app_id --key-id $secret_key_id
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:
az ad app credential list --id $app_id
It returns an empty list.
Related command
az ad app credential delete
Errors
No CLI error
Issue script & Debug output
- Execute
az ad app credential list --id $app_id - Delete a secret
az ad app credential delete --id $app_id --key-id $secret_key_id - Execute
az ad app credential list --id $app_id - Check the app in AzurePortal.
Expected behavior
Once delete is executed, AzurePortal should not show secret
Environment Summary
azure-cli 2.53.1
Additional context
No response
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 teamGraphaz adaz adcustomer-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