Unable to delete Older Images in Azure compute gallery

Raghava Sai Akula 376 Reputation points
2023-01-05T21:19:53.16+00:00

I am having a golden VM with 10 applications hosted in IIS and I create newer VMSS instance from the golden VM image for any major update in IIS(like adding new application,etc.) , I always create an new Image of my Golden VM (Specialized Image ) , but I'm unable to delete the Older Images which are no longer useful

Error while deleting old images :

Failed to delete VM image version 'AzureComputeGallery/Golden_Image02/09.10.2021'. Error: 'No registered resource provider found for location 'CanadaCentral' 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'.'

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
7,870 questions
Windows Server Setup
Windows Server Setup
Windows Server: A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.Setup: The procedures involved in preparing a software program or application to operate within a computer or mobile device.
252 questions
0 comments No comments
{count} votes

Accepted answer
  1. Luke Murray 11,086 Reputation points MVP
    2023-01-05T22:15:38.267+00:00

    Is your Resource Provider enabled for AzureComputeGallery on your subscription?

    https://video2.skills-academy.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://video2.skills-academy.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

    I wonder if the Azure Compute Gallery image is replicated to another region and causing issues when attempting to delete.

    0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.