共用方式為


常見問題:Azure 提供者註冊錯誤

可能的錯誤訊息

  • Failed to register Azure providers

解決方案

您必須先註冊 Azure 資源提供者的存取權,才能使用 Azure 訂用帳戶。 CycleCloud 會在新增帳戶時,嘗試註冊提供者以用於您的訂用帳戶。 如果針對 CycleCloud 設定的服務主體沒有註冊提供者的許可權,就會發生此錯誤。

有兩種可能的解決方案:

  1. 授與 CycleCloud 服務主體下列許可權:

    • Microsoft.Compute/register/action
    • Microsoft.Storage/register/action
    • Microsoft.Network/register/action
    • Microsoft.Resources/register/action
    • Microsoft.Commerce/register/action
  2. 使用 Azure CLI 手動註冊提供者

az provider register --namespace "Microsoft.Compute"
az provider register --namespace "Microsoft.Storage"
az provider register --namespace "Microsoft.Network"
az provider register --namespace "Microsoft.Resources"
az provider register --namespace "Microsoft.Commerce"

相關資訊

如需 Azure CycleCloud 所需特定許可權的詳細資訊,請參閱 建立 CycleCloud 的自訂角色