Azure Stack HCI subscription delete

García Miñano, Christian 41 Reputation points
2021-10-21T09:11:27.957+00:00

Hi,

I have an azure stack HCI cluster that subscription where it was register is deleted... How can I do? is it possible to unsubscribe the cluster and register again?

Thank's

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

1 answer

Sort by: Most helpful
  1. Trent Helms - MSFT 2,536 Reputation points Microsoft Employee
    2021-10-21T11:47:30.587+00:00

    Hi @García Miñano, Christian ,

    First, try to run Unregister-AzStackHCI from one of the cluster nodes. This is the preferred method to unregister the cluster as it cleans up all of the registration information automatically. More information on this process can be found here - https://video2.skills-academy.com/en-us/azure-stack/hci/manage/manage-azure-registration#unregister-azure-stack-hci-by-using-powershell

    If that command fails, you can use the steps below to get your cluster back to a state where it can be re-registered with a new subscription.

    1. From any node in the cluster, run Remove-AzureStackHCIRegistration. This will remove the registration context of the cluster.
    2. From every node in the cluster, run Remove-AzureStackHCIRegistrationCertificate. This will remove the private keys.
    3. From the Azure portal, go to your AAD tenant and go to the App Registrations. Look for an app which has the same name as the cluster and delete it.

    With these steps performed, you should be able to re-register your cluster to a new subscription.

    Hope this helps!
    Trent

    1 person found this answer helpful.
    0 comments No comments