code": "ResourceGroupNotFound", "message": "Resource group 'DefaultResourceGroup-NEU' could not be found."

ADM Jukka Lamminpää 0 Reputation points
2023-01-11T11:21:12.48+00:00

Our external developer is trying to create Kubernetes cluster in Connectivity subscription resource group rg_gren.com. He is getting below error:

What could be reason for that?

"code": "MultipleErrorsOccurred",
  "message": "Multiple error occurred: NotFound,NotFound. Please see details.",
  "details": [
    {
      "code": "ResourceGroupNotFound",
      "message": "Resource group 'DefaultResourceGroup-NEU' could not be found."
    },
    {
      "code": "ResourceGroupNotFound",
      "message": "Resource group 'DefaultResourceGroup-NEU' could not be found."
Azure Kubernetes Service (AKS)
Azure Kubernetes Service (AKS)
An Azure service that provides serverless Kubernetes, an integrated continuous integration and continuous delivery experience, and enterprise-grade security and governance.
2,233 questions
{count} votes

3 answers

Sort by: Most helpful
  1. Akram Kathimi 1,206 Reputation points Microsoft Employee
    2023-01-11T11:43:00.09+00:00

    Hi @ADM Jukka Lamminpää,

    It seems the developer is not setting the subscription, or he does not have enough permission.

    Make sure the developer runs: az account set --subscription <subID>

    Then try to list the resource groups to make sure the resource group is there, using:
    az group list -o table

    Hope this helps.

    Please "Accept as Answer" if it helped, so that it can help others in the community looking for help on similar topics.

    1 person found this answer helpful.
    0 comments No comments

  2. Andrei Barbu 2,591 Reputation points Microsoft Employee
    2023-01-11T11:42:00.81+00:00

    Hello @ADM Jukka Lamminpää!

    Thank you for raising the question.

    DefaultResourceGroup-<region> are default resource groups that appear in each subscription.

    The most encountered scenario I personally met, is when you create the AKS cluster with monitoring addon enabled, it will need a Log Analytics Workspace that is part of DefaultResourceGroup-<region>. The same would apply if you would enable Microsoft Defender for Containers.

    If you are creating the AKS cluster with monitoring addon enabled or with Microsoft Defender for Containers enabled, I would recommend you to re-create 'DefaultResourceGroup-NEU' or specify another Log Analytics Workspace during the AKS cluster creation.

    If your external developer is not creating the AKS cluster with monitoring addon enabled or with Microsoft Defender for Containers enabled, please let me know the parameters used to create the AKS cluster (make sure NOT to share any confidential information).

    Please "Accept as Answer" if it helped and Upvote, so that it can help others in the community looking for help on similar topics.

    Thank you and happy new year!

    0 comments No comments

  3. Eddie Neto 1,236 Reputation points Microsoft Employee
    2023-01-11T12:23:03.4933333+00:00

    Hi @ADM Jukka Lamminpää,

    If I understood correctly your external team is trying to deploy AKS and is getting the error mentioned above. This issue is more related to permission. Could you please give the right permission to your external user (can be at subscription level or maybe some resource group) so they can deploy the AKS.

    Hope this helps. Please "Accept as Answer" if it helped, so that it can help others in the community looking for help on similar topics.

    0 comments No comments

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.