将 Windows Admin Center 注册到 AzureRegister Windows Admin Center with Azure

适用于 Azure Stack HCI v20H2;Windows Server 2019Applies to Azure Stack HCI v20H2; Windows Server 2019

若要结合使用 Azure 服务和 Windows Admin Center,必须首先在管理 PC 上安装 Windows Admin Center 并完成一次性注册。To use Azure services with Windows Admin Center, you must first install Windows Admin Center on a management PC and complete a one-time registration.

在 Windows Admin Center 完成注册过程Complete the registration process in Windows Admin Center

  1. 启动 Windows Admin Center,单击右上角的“设置”齿轮图标,随即会转到“帐户”页。Launch Windows Admin Center and click the Settings gear icon in the upper right, which will take you to your Account page. 然后,在左侧的“网关”菜单中,选择“Azure”,然后单击“注册” 。Then, from the Gateway menu at the left, select Azure, and then click Register.
  2. 系统会向你提供一个唯一代码。You'll be provided with a unique code. 单击代码右侧的“复制”按钮。Click the Copy button to the right of the code.
  3. 单击“输入代码”,这将打开另一个浏览器窗口,你可以在其中粘贴应用或设备上显示的代码。Click Enter the code, which will open up another browser window into which you can paste the code displayed on your app or device.
  4. 粘贴代码后,系统提示即将登录到远程设备或服务上的 Windows Admin Center。After pasting in the code, you'll be notified that you're about to be signed in to Windows Admin Center on a remote device or service.
  5. 输入电子邮件或电话号码。Enter your email or phone number. 如果你的设备为托管设备,你将转到组织的登录页面进行身份验证。If your device is managed, you will be taken to your organization's sign-in page for authentication. 按照说明进行操作并输入相应的凭据。Follow the instructions and enter the appropriate credentials.
  6. 应会看到以下消息:“你已登录到你设备上的 Windows Admin Center 应用程序。”You should see the following message: "You have signed in to the Windows Admin Center application on your device." 关闭浏览器窗口以返回原始注册页。Close the browser window to return to the original registration page.
  7. 通过提供 Azure Active Directory(租户)ID 连接到 Azure Active Directory。Connect to Azure Active Directory by supplying your Azure Active Directory (tenant) ID. 如果你执行了之前的步骤,则系统会预填充 ID 字段。If you followed the preceding steps, the ID field will be pre-populated. 如果你的组织未向你提供现有 ID,请将“Azure Active Directory 应用程序”设置为“新建” 。Leave Azure Active Directory application set to Create New if your organization didn't provide you with an existing ID. 如果你已有 ID,请单击“使用现有项”,系统将显示一个空字段,供你输入管理员提供的 ID。输入 ID 后,Windows Admin Center 将确认找到具有该 ID 的帐户。If you already have an ID, click Use existing, and an empty field will appear for you to enter the ID provided by your admin. After entering your ID, Windows Admin Center will confirm that an account with that ID is found. 如果你有现有 ID 但不知道它是什么,请按照这些步骤 检索此 ID。If you have an existing ID but don't know what it is, follow these steps to retrieve it.
  8. 单击“连接”按钮连接到 Azure。Click the Connect button to connect to Azure. 应会看到一条确认消息,指示现在已经连接到 Azure AD。You should see a confirmation that you are now connected to Azure AD.
  9. 转到 Azure 门户中的“应用权限”,在 Azure 中授予权限。Grant permissions in Azure by going to App permissions in the Azure portal. 在“授予许可”下,选择“授予管理员许可”。 Under Grant consent, select Grant admin consent.
  10. 关闭窗口,并通过 Azure 帐户登录到 Windows Admin Center。Close the window and sign into Windows Admin Center with your Azure account.

后续步骤Next steps

现在可以执行以下操作:You are now ready to: