-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Closed
Labels
ARMaz resource/group/lock/tag/deployment/policy/managementapp/account management-groupaz resource/group/lock/tag/deployment/policy/managementapp/account management-groupResource ManagerbugThis issue requires a change to an existing behavior in the product in order to be resolved.This issue requires a change to an existing behavior in the product in order to be resolved.
Description
As reported in #2694, I was unable to delete a lock using the az lock delete command. However, since this is an Azure resource, I should be able to delete it using the az resource delete command as a workaround. However, when I tried, I got the following result:
az resource delete --id /subscriptions/xxx-xxx/resourceGroups/tjp-lock/providers/Microsoft.Network/virtualNetworks/vnet1/providers/Microsoft.Authorization/locks/VnetLock
No registered resource provider found for location 'westus' and API version '2017-03-01' for type 'locks'. The supported api-versions are '2015-01-01, 2015-05-01-preview, 2015-06-01, 2016-09-01, 2017-04-01'. The supported locations are ''.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
ARMaz resource/group/lock/tag/deployment/policy/managementapp/account management-groupaz resource/group/lock/tag/deployment/policy/managementapp/account management-groupResource ManagerbugThis issue requires a change to an existing behavior in the product in order to be resolved.This issue requires a change to an existing behavior in the product in order to be resolved.