创建Azure Sphere租户时出错 [英] Error on creating an Azure Sphere tenant
问题描述
我最近加入了Azure目录,我想在我的帐户下创建一个租户。
我确定Azure Sphere是一个新的但是我收到了错误当我尝试创建租户且我的帐户不是应用程序管理员或全局管理员时。
azsphere tenant create -v -f -n" TempMonitor"
详细:读取设置文件
'C:\ Users \ A548068 \ AppData \ Local \Azure Sphere Tools \ setting。 json'。
verbose:读取设置文件'C:\Users\A548068 \ AppData \ Local \Azure Sphere Tools \ setting.json'。
verbose:创建名为"TempMonitor"的新Azure Sphere租户。
详细信息:未在所选AAD用户下找到Azure Sphere租户。
详细信息:序列化设置内容。
verbose:将设置保存到'C:\Users \ A548068 \ AppData \ Local \Azure Sphere Tools \ ttings.json"。内容:
{
" SchemaVersion":3,
" aad":" 7b529142-2cdf-4ccd-995e-5c781df375f5",
" aaduserid":" 6398dd77-d4cc-4e69-9b52-df6065d1b1bf"
}
verbose:已成功登录所选AAD用户。此验证将用于后续命令。
详细信息:使用连接的设备ID'B3E012CE682BA0A6235866AB3A87D838A4817E5C539832A34BF7A715CA8D015FF99C84B909CB2886916259AD186B212E148FC9C4BF8BB6A275A11A2B9495D578'。
错误:无法创建名为"TempMonitor"的Azure Sphere租户。
跟踪ID:b91430c1-bc70-4dd5-a868-74ac726e603a
收到HTTP响应:400(错误请求)
- >端点:POST https://prod.core.sphere.azure.net/tenants
- >内容类型:NULL
任何想法为何?
< blockquote>
您好,
由于您的租户名称不包含空格,您可以尝试使用不带引号的相同命令吗?
azsphere租户创建--name
TempMonitor
谢谢。
I recently joined an Azure Directory, and I want to create a tenant under my account.
I am sure the Azure Sphere is a new one but I got the error when I try to create the tenant and my account is not Application Administrator nor Global Administrator.
azsphere tenant create -v -f -n "TempMonitor"
verbose: Reading settings file
'C:\Users\A548068\AppData\Local\Azure Sphere Tools\settings.json'.
verbose: Reading settings file 'C:\Users\A548068\AppData\Local\Azure Sphere Tools\settings.json'.
verbose: Creating new Azure Sphere tenant with name 'TempMonitor'.
verbose: No Azure Sphere tenants found under the selected AAD user.
verbose: Serializing settings content.
verbose: Saving settings to 'C:\Users\A548068\AppData\Local\Azure Sphere Tools\settings.json'. Content:
{
"SchemaVersion": 3,
"aad": "7b529142-2cdf-4ccd-995e-5c781df375f5",
"aaduserid": "6398dd77-d4cc-4e69-9b52-df6065d1b1bf"
}
verbose: Successfully logged in with the selected AAD user. This authentication will be used for subsequent commands.
verbose: Using attached device ID 'B3E012CE682BA0A6235866AB3A87D838A4817E5C539832A34BF7A715CA8D015FF99C84B909CB2886916259AD186B212E148FC9C4BF8BB6A275A11A2B9495D578'.
error: Failed to create an Azure Sphere tenant with name 'TempMonitor'.
Trace ID: b91430c1-bc70-4dd5-a868-74ac726e603a
Received HTTP response: 400 (Bad Request)
-> Endpoint: POST https://prod.core.sphere.azure.net/tenants
-> Content Type: NULL
Any ideas why?
Hi,
Since your Tenant name doesn't includes spaces can you try the same command without quotation marks?
azsphere tenant create --name TempMonitor
Thanks.
这篇关于创建Azure Sphere租户时出错的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!