Skip to content

az ad sp credential delete does not delete SAML signing cert #24635

@tagur87

Description

@tagur87

This is autogenerated. Please review and update as needed.

Describe the bug

When running az ad sp credential delete --cert --id xxxx --key-id xxxx to delete an inactive SAML signing certificate, the command succeeds, but there are no changes in the API or the GUI.

Command Name
az ad sp credential delete

Errors:

None

To Reproduce:

Steps to reproduce the behavior. Note that argument values have been redacted, as they may contain sensitive information.

  • Put any pre-requisite steps here...
  • Create SAML application and add two SAML signing certificates
  • az ad sp credential list --id abcd1234
  • See signing certificates in list
  • az ad sp credential delete --id abcd1234 --key-id {} --cert <<--- key id of the inactive cert in the previous list
  • az ad sp credential list --id abcd1234
  • see that cert is still there

Expected Behavior

Expect the inactive certificate with the key-id sent through the delete command should be removed.

Environment Summary

Linux-5.10.16.3-microsoft-standard-WSL2-x86_64-with-glibc2.35, Ubuntu 20.04.5 LTS
Python 3.10.8
Installer: HOMEBREW

azure-cli 2.42.0

Additional Context

Metadata

Metadata

Assignees

Labels

Auto-AssignAuto assign by botAzure CLI TeamThe command of the issue is owned by Azure CLI teamGraphaz adOKR CandidateThis label is used to track how many GitHub issues we have resolved for OKR purpose.customer-reportedIssues that are reported by GitHub users external to the Azure organization.feature-request

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions