I created a file-share using the CLI and then tried to delete it using
az storage share-rm delete --resource-group GROUP --storage-account ACCOUNT --name NAME --yes
I got an error:
(ScopeLocked) The scope '...' cannot perform delete operation because following scope(s) are locked: '...'. Please remove the lock and try again.
Code: ScopeLocked
IMHO The documentation of share-rm should mention this and maybe other potential error messages and how to handle them.
At least there should be a way to find the meaning of ScopeLocked but the search returns nothing.
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.
ID: 87de814a-84c0-2ac6-982c-d8415b0d7571
Version Independent ID: c18ab402-f70c-774e-a48a-c2c03695b9d5
I created a file-share using the CLI and then tried to delete it using
I got an error:
IMHO The documentation of
share-rm
should mention this and maybe other potential error messages and how to handle them.At least there should be a way to find the meaning of ScopeLocked but the search returns nothing.
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.