Azure Computer gallery VM Image version cannot be deleted

Eperjesi Zsolt 0 Reputation points
2023-01-12T00:55:58.7033333+00:00

Hello,

Just wanted to say:

Azure portal > Azure Compute Gallery > VM Image Definition > VM Image Version: Clicking "Delete" and error message appears:

"Failed to delete VM image version '[gallery]/[definition]/[version]'. Error: 'No registered resource provider found for location 'westeurope' and API version '2021-11-01' for type 'galleries/images/versions'. The supported api-versions are '2018-06-01, 2019-03-01, 2019-07-01, 2019-12-01, 2020-09-30, 2021-03-01, 2021-07-01, 2021-10-01, 2022-01-03, 2022-03-03, 2022-08-03'. The supported locations are 'westcentralus, southcentralus, eastus2, southeastasia, westeurope, westus, eastus, canadacentral, northeurope, northcentralus, brazilsouth, ukwest, westindia, eastasia, australiaeast, japaneast, koreasouth, westus2, canadaeast, uksouth, centralindia, southindia, australiasoutheast, japanwest, koreacentral, francecentral, centralus, australiacentral, southafricanorth, uaenorth, switzerlandnorth, germanywestcentral, norwayeast, jioindiawest, westus3, swedencentral, qatarcentral'.'"

I think this should not appear in the portal under any circumstances.

CLI "az sig image-version delete ... " succeeded without any errors.

Zsolt

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
7,160 questions
Azure Batch
Azure Batch
An Azure service that provides cloud-scale job scheduling and compute management.
303 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Ramya Harinarthini_MSFT 5,306 Reputation points Microsoft Employee
    2023-01-12T14:47:26.6766667+00:00

    @Eperjesi Zsolt Welcome to Microsoft Q&A, thank you for posting your here!!

    please check if your Resource Provider enabled for AzureComputeGallery on your subscription.

    https://learn.microsoft.com/azure/azure-resource-manager/troubleshooting/error-register-resource-provider?tabs=azure-portal&WT.mc_id=AZ-MVP-5004796#solution

    It might be worth retrying in a few hours: https://learn.microsoft.com/en-us/answers/questions/600483/random-noregisteredproviderfound-error.html

    If it still fails after your Resource Provider and waiting, get a support case opened: https://azure.microsoft.com/en-us/support.

    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.

    0 comments No comments