Cannot install ASR extension

IT Backoffice 20 Reputation points
2024-06-06T20:30:54.1666667+00:00

Could not complete the operation. 409: The scope '/subscriptions/xx/resourceGroups/AZ-HCIGRP/providers/Microsoft.AzureStackHCI/clusters/AzHCI/ArcSettings/default/Extensions/ASRExtension' cannot perform delete operation because following scope(s) are locked: '/subscriptions/xx/resourceGroups/AZ-HCIGRP/providers/microsoft.azurestackhci/clusters/AzHCI'. Please remove the lock and try again.

Azure Stack HCI
Azure Stack HCI
A hyperconverged infrastructure operating system delivered as an Azure service that provides security, performance, and feature updates.
295 questions
0 comments No comments
{count} votes

Accepted answer
  1. deherman-MSFT 34,691 Reputation points Microsoft Employee
    2024-06-07T16:58:09.9466667+00:00

    @IT Backoffice

    It seems there is a resource lock, as indicated from your error message.

    To remove the lock, you can follow these steps:

    1. Go to the Azure portal and navigate to the resource group that contains the locked resource.
    2. Click on the locked resource to open its details page.
    3. Click on the "Locks" option in the left-hand menu.
    4. Select the lock that is causing the issue and click on the "Delete" button.
    5. Confirm the deletion of the lock.

    User's image

    If that doesn't work please let me know and we can investigate this further.


    If you still have questions, please let us know in the "comments" and we would be happy to help you. Comment is the fastest way of notifying the experts.

    If the answer has been helpful, we appreciate hearing from you and would love to help others who may have the same question. Accepting answers helps increase visibility of this question for other members of the Microsoft Q&A community.

    Thank you for helping to improve Microsoft Q&A! User's image

    1 person found this answer helpful.
    0 comments No comments

0 additional answers

Sort by: Most helpful