`az lock delete` param `--ids` does not delete lock
- Dominant language
- Python
- Stars
- 4.6k
- Forks
- 3.5k
- Avg merge
- 3d 2h
- Merged PRs (30d)
- 60
Description
## Describe the bug
When running the `az lock delete` command with the `--ids` parameter, it completes successfully but does not delete the lock. Workaround is to use the `az resource delete` command.
**Command Name**
`az lock delete`
## To Reproduce:
Steps to reproduce the behavior. Note that argument values have been redacted, as they may contain sensitive information.
- Create a lock, try to delete it with the resource id
- `az lock delete --ids {}`
## Expected Behavior
The lock resource is deleted
## Environment Summary
```
Windows-10-10.0.22621-SP0
Python 3.10.8
Installer: MSI
azure-cli 2.42.0
Extensions:
application-insights 0.1.16
azure-devops 0.25.0
log-analytics-solution 0.1.1
resource-graph 2.1.0
Dependencies:
msal 1.20.0
azure-mgmt-resource 21.1.0b1
```
## Additional Context
Contributor guide
Assessment
This issue has not been assessed yet.