question

ogura-yasushi avatar image
0 Votes"
ogura-yasushi asked ·

Disk resource cannot be deleted

Hello. When I selected a disk from the All Resources menu on the Azure portal and deleted it, the following message was displayed and the disk could not be deleted. What should I do? There are outstanding items in the active Shared Access Signature. Call EndGetAccess before attaching or deleting the disc. Learn more: aka.ms/revokeaccessapi. (Code: OperationNotAllowed) Kind Regards,

azure-disk-storage
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

Sumarigo-MSFT avatar image
0 Votes"
Sumarigo-MSFT answered ·

@ogura-yasushi Welcome to Microsoft Q&A, Thank you for posting your query!

Can you share the screenshot of the error message? When exactly are you getting this error message? How are you trying to delete?
Please try the following steps and let me know the results. Follow this document to find and delete unattached Azure managed and unmanaged disks
Find and delete unattached Azure managed and unmanaged disks

When you delete a virtual machine (VM) in Azure, by default, any disks that are attached to the VM aren't deleted. This feature helps to prevent data loss due to the unintentional deletion of VMs. After a VM is deleted, you will continue to pay for unattached disks. This article shows you how to find and delete any unattached disks and reduce unnecessary costs.

This is a similar discussion thread in Q&A forum, please refer to the suggestion and let me know the status

Hope this helps!

Kindly let us know if the above helps or you need further assistance on this issue.


Please do not forget to "Accept the answer” and “up-vote” wherever the information provided helps you, this can be beneficial to other community members.



· 1 ·
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Thank you for your reply!

I thought that the disk resource was being grabbed by the virtual machine, so I deleted the virtual machine as well, but I got an error.
I delete the disk resource again today and it was successfully deleted.
I apologize to you for a fuss over.

Kind Regards,

0 Votes 0 ·