(ResourceGroupNotFound)资源组' blah'找不到

发布于 2025-02-01 18:55:06 字数 264 浏览 4 评论 0原文

当我运行AZ ACR Show时,我会得到:

ps c:\ users \ blah> AZ ACR Show (ResourceGroupNotFound)找不到资源组“ blah”。 代码:ResourceGroupnotFound 消息:找不到资源组“ blah”。

我确实有多个订阅,默认订阅是正确的;参考:


它说它找不到的资源组是另一个子标准。从哪里获取默认资源组?

when I run an az acr show I get:

PS C:\Users\blah> az acr show
(ResourceGroupNotFound) Resource group 'blah' could not be found.
Code: ResourceGroupNotFound
Message: Resource group 'blah' could not be found.

I do have multiple subscriptions and my default subscription is correct; reference: (ResourceGroupNotFound) Resource group '????' could not be found when creating an azure media services account.


The resource group it says it can't find is in another subcription. Where is it getting the default resource group from? ????

Reference: az acr show

az acr show --name
            [--resource-group]

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

烟雨凡馨 2025-02-08 18:55:06

从哪里获取默认资源组?

Where is it getting the default resource group from? ????

Apparently, I set my default resource group:

PS C:\Users\blah> az configure -l
[
  {
    "name": "group",
    "source": "C:\\Users\\blah\\.azure\\config",
    "value": "wrong-resource-group"
  }
]

defaults.group The default resource group to use for all commands.

reference: CLI configuration with az config

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文