Blob Metadata Terraformlockid Was Empty -
First, find the current (empty) lock ID. The error message may show it, or you can inspect metadata via Azure CLI:
terraform plan Terraform should now successfully acquire a fresh lock (you’ll see a new valid terraformlockid with a UUID value). Only if you are absolutely sure no Terraform process is using the state and the above fix doesn’t work, you can force-unlock. blob metadata terraformlockid was empty
az storage blob metadata show \ --account-name <storage-account-name> \ --container-name <container-name> \ --name <path-to-tfstate> Then force-unlock: First, find the current (empty) lock ID


