There is an active shared access signature outstanding for disk

-> I tried starting an Azure virtual machine and got below error,

Failed to start virtual machine ‘JBS’. Error: There is an active shared access signature outstanding for disk JBS_DataDisk_0. Call EndGetAccess before attaching or deleting the disk.

-> Above error prevented this virtual machine to come online.

-> I opened the resource group where the virtual machine is placed and then opened the disk “JBS_DataDisk_0”. Clicked on “Disk Export” and then clicked “Cancel Export”.

-> Once the export was cancelled, Azure virtual machine came online and I was able to login to it without any issues.

Thank You,
Vivek Janakiraman

Disclaimer:
The views expressed on this blog are mine alone and do not reflect the views of my company or anyone else. All postings on this blog are provided “AS IS” with no warranties, and confers no rights.