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
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