无法通过CLI创建模型管理 [英] Cannot Create Model Management Through CLI

查看:78
本文介绍了无法通过CLI创建模型管理的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我具有对资源组的贡献者访问权限,但是当我尝试通过CLI创建模型管理时,出现以下错误:

I have contributor access to a resource group but when I tried to create model management through CLI, I received the following error:

 响应代码":"AuthorizationFailed",
    响应内容":客户端'<电子邮件地址>'对象ID为<对象ID>"没有执行操作的权限...

 "Response Code": "AuthorizationFailed",
    "Response Content": "The client '<email address>' with object id '<object id>' does not have authorization to perform action...

有趣的是,我能够通过门户(使用IE)创建模型管理.然后,我尝试设置它给我同样错误的模型管理帐户.

Interestingly I am able to create model management through the portal (using IE). I then tried to set the model management account it gave me the same error.

我尝试过的两个命令是:

The two commands I tried are:

az ml帐户模型管理创建-位置< e.g. eastus2> -n<新模型管理帐户名> -g<现有资源组名称> --sku-name S1

az ml account modelmanagement create --location <e.g. eastus2> -n <new model management account name> -g <existing resource group name> --sku-name S1

az ml帐户模型管理集-n< youracctname> -g< yourresourcegroupname>

az ml account modelmanagement set -n <youracctname> -g <yourresourcegroupname>

推荐答案

很抱歉听到您遇到此问题.请参阅我们已解决的类似问题:https://github.com/Azure/vagrant-azure/issues/164

Sorry to hear you are suffering from this issue. Please refer to the similar issue we have solved: https://github.com/Azure/vagrant-azure/issues/164

请告诉我您是否还有进一步的挑战.

Please tell me if you have further challenge.

此致

雨桐


这篇关于无法通过CLI创建模型管理的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆