-
Notifications
You must be signed in to change notification settings - Fork 3.4k
az identity federated-credential delete doesn't work when UAMI has delete lock #28242
Copy link
Copy link
Open
Labels
Auto-AssignAuto assign by botAuto assign by botAuto-ResolveAuto resolve by botAuto resolve by botManaged IdentityFor `az identity` onlyFor `az identity` onlyService AttentionThis issue is responsible by Azure service team.This issue is responsible by Azure service team.act-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.questionThe 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 botAuto-ResolveAuto resolve by botAuto resolve by botManaged IdentityFor `az identity` onlyFor `az identity` onlyService AttentionThis issue is responsible by Azure service team.This issue is responsible by Azure service team.act-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.questionThe 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
Seems like federated identity delete lock is inherited from UAMI to Federated Credentials and because of that command fails with
(ScopedLocked)errorRelated command
az identity federated-credential delete --identity-name <uami_name> --name <identity_name> -g <uami_rg> --yesErrors
Issue script & Debug output
Since I can't copy it from work I can just tell that debug doesn't provide any additional, useful insight for resolving this issue
Expected behavior
UAMI delete lock is not inherited to Federated Credential and Federated Credential is removed.
Environment Summary
Additional context
No response