Delete operator resources in Azure Operator Service Manager

In this how-to guide, you learn how to delete operator resources that include Site Network Service (SNS), Configuration Group Values and Sites. The order in which operator resources are deleted is critical. You should start by deleting the Site Network Service (SNS) followed by the Configuration Group Values, then lastly the Sites. This process must be followed before deleting any of the Publisher or Designer resources referenced by the Operator.

Prerequisites

  • You must already have a site, in your deployment, that you want to delete.
  • Ensure you can sign in to the Azure portal using an account with access to the active subscription you used to create the site(s).

Delete Site Network Service

  1. Search for the Site Network Service (SNS) within Azure portal.

    Screenshot showing Azure portal and search for Site Network Services.

  2. Select the Site Network Service (SNS) within the Azure portal you wish to delete.

    Screenshot showing the Site Network Service selected for deletion.

    Screenshot showing the Resource Group that the Configuration Group Values was deployed.

  3. Under the Overview section, take note of the Site and the resource group within the Properties.

    Screenshot showing the Site and resource group within the properties section.

  4. Under the Overview section, take note of the Configuration Group Value and the resource group within Desired configuration.

    Screenshot showing the Configuration Group Value and Site information in the desired configuration tab.

  5. Once you have listed the resources, select Delete against the Site Network Service (SNS).

    Screenshot showing the Site Network Service to delete.

  6. Follow the prompts to confirm and complete the deletion.

    Diagram showing the Confirmation prompt with a warning message.

Note

Deleting a Site Network Service (SNS) can be time consuming. It is important to inform the user in advance that deletions may take between 5 minutes to over an hour.

Troubleshoot deletion errors

While deleting a Site Network Service (SNS) is a straightforward task, here are some troubleshooting tips to consider issues are encountered:

  1. Check the error message: If the error message mentions "nested resources," delete the Site Network Service (SNS) again.
  2. Examine the managed resource group: To track the progress of the deletion, navigate to the managed resource group and follow the same instructions as outlined in Create site network service in Azure Operator Service Manager. Eventually, all resources associated with the Site Network Service (SNS) become deleted.

Delete Configuration Group Values

  1. Navigate to the Azure portal and search for Resource Group in which the Configuration Group Value was deployed.

    Screenshot showing the Azure portal and search for Resource Groups.

    Screenshot showing the Resource Group in which the Configuration Group Value was deployed.

  2. Select the specific Configuration Group Value(s) you wish to delete.

  3. Select Delete.

    Screenshot showing the selected Configuration Group Values to be deleted.

  4. Follow the prompts to confirm and complete the deletion.

Delete Sites

  1. Navigate to the Azure portal and search for the Resource Group in which the Site was deployed.

  2. Select the specific Site you wish to delete.

  3. Select Delete.

    Screenshot showing the Site selected for deletion.

  4. Follow the prompts to confirm and complete the deletion.