0

I'm trying to delete a disk in a resource group that my account has permission to delete. When running this command no errors happen and the script finishes, but the disk is not deleted when checking the portal (-n and -g are filled in with correct information in the actual code).

az disk delete -n "DiskName" -g ResourceGroup --yes

ESH
  • 1
  • Double check to make sure you are on the latest version of the CLI. One easy way to test is to use CloudShell which is evergreen. – Ken W - Zero Networks Jul 16 '21 at 17:33
  • @KenWMSFT Thanks for the response, I checked and it does look like I'm on the latest CLI version - 2.25.0 – ESH Jul 16 '21 at 22:43

1 Answers1

0

Maybe add --verbose or --debug parameter for full debug logs.

saulov8
  • 1
  • 2