使用量與計費註冊錯誤碼Usage and billing registration error codes

如果您是雲端解決方案提供者 (CSP) ,將租使用者 新增 至註冊以針對客戶的 Azure 訂用帳戶識別碼報告使用量時,可能會出現下列錯誤訊息。If you're a Cloud Solution Provider (CSP), the following error messages can appear when adding tenants to a registration for reporting usage against the customer's Azure subscription ID.

註冊錯誤碼清單List of registration error codes

錯誤Error 詳細資料Details 註解Comments
RegistrationNotFoundRegistrationNotFound 找不到提供的註冊。The provided registration wasn't found. 請確定已正確提供下列資訊:Make sure the following information was provided correctly:
1.訂用帳戶識別碼 (提供的值:訂用帳戶識別碼),1. Subscription identifier (value provided: subscription identifier),
2.資源群組 (提供的值:資源群組),2. Resource group (value provided: resource group),
3.註冊名稱 (提供的值:註冊名稱)。3. Registration name (value provided: registration name).
此錯誤通常發生在指向初始註冊的資訊不正確時。This error usually happens when the information pointing to the initial registration isn't correct. 如果您需要確認註冊的資源群組與名稱,可以在 Azure 入口網站中找到,方法是列出所有的資源。If you need to verify the resource group and name of your registration, you can find it in the Azure portal, by listing all resources. 如果您找到多個註冊資源,請在屬性中查看 CloudDeploymentID,然後選取其 CloudDeploymentID 與您雲端中 CloudDeploymentID 相符的註冊。If you find more than one registration resource, look at the CloudDeploymentID in the properties, and select the registration whose CloudDeploymentID matches that of your cloud. 若要尋找 CloudDeploymentID,您可以在 Azure Stack Hub 上使用此 PowerShell 命令:To find the CloudDeploymentID, you can use this PowerShell command on Azure Stack Hub:
$azureStackStampInfo = Invoke-Command -Session $session -ScriptBlock { Get-AzureStackStampInformation }
BadCustomerSubscriptionIdBadCustomerSubscriptionId 所提供的「客戶訂用帳戶識別碼」和「註冊名稱」訂用帳戶識別碼並非由相同的 Microsoft CSP 所擁有。The provided customer subscription identifier and the registration name subscription identifier aren't owned by the same Microsoft CSP. 請確認客戶訂用帳戶識別碼正確無誤。Check that the customer subscription identifier is correct. 客戶的訂用帳戶識別碼會區分大小寫。The customer subscription ID is case sensitive. 若問題持續發生,請連絡支援服務。If the problem persists, contact support. 當客戶訂用帳戶是 CSP 訂用帳戶,但其所積存到的 CSP 合作夥伴與初始註冊中所用訂用帳戶所積存到的 CSP 合作夥伴不同時,就會發生此錯誤。This error happens when the customer subscription is a CSP subscription, but it rolls up to a CSP partner different from the one to which the subscription used in the initial registration rolls up. 進行這項檢查的目的,是為了避免向並非負責所用 Azure Stack Hub 的 CSP 合作夥伴收費。This check is made to prevent a situation that would result in billing a CSP partner who isn't responsible for the Azure Stack Hub used.
InvalidCustomerSubscriptionIdInvalidCustomerSubscriptionId 「客戶訂用帳戶識別碼」無效。The customer subscription identifier isn't valid. 請確定所提供的 Azure 訂用帳戶有效。Make sure a valid Azure subscription is provided.
CustomerSubscriptionNotFoundCustomerSubscriptionNotFound 註冊名稱 下找不到 客戶訂用帳戶識別碼Customer subscription identifier wasn't found under registration name. 請確定所使用的是有效的 Azure 訂用帳戶,且已使用PUT 作業將訂用帳戶識別碼新增至註冊。Make sure a valid Azure subscription is being used and that the subscription ID was added to the registration using the PUT operation. 當您嘗試確認租用戶已新增至訂用帳戶,但找不到與註冊相關聯的客戶訂用帳戶時,就會發生此錯誤。This error happens when trying to verity that a tenant has been added to a subscription but the customer subscription isn't found to be associated with the registration. 客戶尚未新增至註冊,或寫入的訂用帳戶識別碼不正確。The customer hasn't been added to the registration, or the subscription ID has been written incorrectly.
UnauthorizedCspRegistrationUnauthorizedCspRegistration 並未核准提供的「註冊名稱」使用多重租用。The provided registration name isn't approved to use multi-tenancy. 傳送電子郵件給 azstCSP@microsoft.com,並包含您註冊使用的註冊名稱、資源群組和訂用帳戶識別碼。Send an email to azstCSP@microsoft.com and include your registration name, resource group, and the subscription identifier used in the registration. 註冊必須先獲得 Microsoft 核准使用多重租用後,您才可以開始將租用戶新增至註冊。A registration must be approved for multi-tenancy by Microsoft before you can start adding tenants to it.
CustomerSubscriptionsNotAllowedCustomerSubscriptionsNotAllowed 已中斷連線的客戶不支援客戶訂用帳戶作業。Customer subscription operations aren't supported for disconnected customers. 若要使用這項功能,請使用隨用隨付授權重新註冊。To use this feature, re-register with pay-as-you-use licensing. 您嘗試新增租用戶的註冊為「容量註冊」。The registration to which you're trying to add tenants is a capacity registration. 因此,在建立註冊時,使用的是 BillingModel Capacity 參數。So when the registration was created, the parameter BillingModel Capacity was used. 只有「隨用即付」註冊允許新增租用戶。Only pay-as-you-use registrations are allowed to add tenants. 您必須使用 BillingModel PayAsYouUse 參數重新註冊。You must re-register using the parameter BillingModel PayAsYouUse.
InvalidCSPSubscriptionInvalidCSPSubscription 所提供的「客戶訂用帳戶識別碼」並非有效的 CSP 訂用帳戶。The provided customer subscription identifier isn't a valid CSP subscription. 請確定所提供的 Azure 訂用帳戶有效。Make sure a valid Azure subscription is provided. 此錯誤很有可能是因客戶訂用帳戶輸入錯誤所致。This error is most likely due to the customer subscription being mistyped.
MetadataResolverBadGatewayErrorMetadataResolverBadGatewayError 其中一個上游伺服器傳回未預期的錯誤。One of the upstream servers returned an unexpected error. 請稍後再試一次。Try again later. 若問題持續發生,請連絡支援服務。If the problem persists, contact support.

後續步驟Next steps