问题描述
Azure堆栈版本: 1.1808.0.97
Azure stack version: 1.1808.0.97
我正在尝试使用azure注册我的azure堆栈环境以开始填充市场。我使用管理员凭据从azure堆栈主机运行以下powershell脚本:
I am trying to register my azure stack environment with azure to begin populating the marketplace. I am running the following powershell script from the azure stack host with admin credentials:
$ CloudAdminCred = Get-Credential -UserName azurestack\cloudadmin -Message"输入要访问的云域凭据特权端点。"
$
$ RegistrationName =" AzureStackTesting"
$
Set-AzsRegistration`
-PrivilegedEndpointCredential $ CloudAdminCred`
-PrivilegedEndpoint AzS-ERCS01`
-BillingModel PayAsYouUse`
-RegistrationName $ RegistrationName
$CloudAdminCred = Get-Credential -UserName azurestack\cloudadmin -Message "Enter the cloud domain credentials to access the privileged endpoint."
$RegistrationName = "AzureStackTesting"
Set-AzsRegistration `
-PrivilegedEndpointCredential $CloudAdminCred `
-PrivilegedEndpoint AzS-ERCS01 `
-BillingModel PayAsYouUse `
-RegistrationName $RegistrationName
看起来该命令能够连接到azs-ercs01,但在连接到azs-was01时失败。失败说启用允许委派新凭据并设置SPN。我已经设置了WSMAN / *,WSMAN / *。azurestack.local和WSMAN / AzS-WAS01.azurestack.local。
这些都不是解决此错误消息。
It looks like the command is able to connect to azs-ercs01, but fails when connecting to azs-was01. Failure says to enable Allow delegating fresh credentials and set the SPN. I have set WSMAN/*, WSMAN/*.azurestack.local and WSMAN/AzS-WAS01.azurestack.local. None of these are resolving this error message.
VERBOSE:2018-12-14.15-18-49:验证印章版本。
VERBOSE:2018-12-14.15-18-56:在构建1.1808.0.97上运行注册操作。 Cloud Id:a8225e21-d3bd-4527-9000-a142b239ecda,部署ID:9b4b72d3-c89c-438f-8df2-179c2e888b2c
VERBOSE:2018-12-14.15-18-56:创建Azure Active Directory服务租户中的委托人'c8a5b1f2-c9ea-420e-b665-f052721c91bb'尝试0 of 3
VERBOSE:2018-12-14.15-19-53:***警告***
警告:2018-12-14.15-19-53:服务主体的创建失败:
行动计划执行失败。错误:输入角色'AzureBridge'的'ConfigureBridgeIdentity'引发异常:
VERBOSE: 2018-12-14.15-18-49: Verifying stamp version.
VERBOSE: 2018-12-14.15-18-56: Running registration actions on build 1.1808.0.97. Cloud Id: a8225e21-d3bd-4527-9000-a142b239ecda, Deployment Id: 9b4b72d3-c89c-438f-8df2-179c2e888b2c
VERBOSE: 2018-12-14.15-18-56: Creating Azure Active Directory service principal in tenant 'c8a5b1f2-c9ea-420e-b665-f052721c91bb' Attempt 0 of 3
VERBOSE: 2018-12-14.15-19-53: *** WARNING ***
WARNING: 2018-12-14.15-19-53: Creation of service principal failed:
Action plan execution failed. Error: Type 'ConfigureBridgeIdentity' of Role 'AzureBridge' raised an exception:
推荐答案
此外,目录类型是什么你想注册? ADFS或AAD?
Also, what directory type are you trying to register? ADFS or AAD?
这篇关于未能用azure注册azure堆栈的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!