`DefaultResourceGroup-CUS` Keeps Getting Created

Mike-E-angelo 591 Reputation points
2022-01-11T09:49:05.993+00:00

Hello All,

I am deploying to Azure via Visual Studio Publish, and I keep seeing a DefaultResourceGroup-CUS resource group being created without any resources being in it. How do I track where/how this is being create?

Thank you for any assistance you can provide.

Developer technologies | Visual Studio | Other
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Andriy Bilous 11,821 Reputation points MVP Volunteer Moderator
    2022-01-11T10:16:04.663+00:00

    Hello @Mike-E-angelo

    There are multiple reasons why DefaultResourceGroup-XXX is created in Azure.

    • Azure DefaultResourceGroup-XXX is created, related to your region and used by all the commands that you run from your local Azure CLI or from Azure Cloud Shell.
    • Visual Studio is also using same concept. It is provisioning and deploying resources in Azure and requires Azure resource group DefaultResourceGroup-XXX.
    • Azure is creating a resource group called DefaultResourceGroup-XXX where the XXX is related to your region and within that same resource group you have a DefaultWorkspace-SubscriptionID-XXX then it is most likely associated with Azure Security Center.
      To stop Azure Security Center from creating the following Resource Group log on the Azure Security Center, click on Pricing & settings, select the subscription from the list, then click on Data collection. In the Workspace configuration section, we can check that the default is being configured, which is Use workspace(s) created by Security Center (default).

    163911-image.png

    https://techgenix.com/azure-default-resource-group/


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.