DeploymentStackTenantRegistrationFailed during Azure Deployment Stack validation

Taufiq ALblooshi 0 Reputation points
2026-10-29T21:23:05.86+00:00

Hello Microsoft Azure Team,

I am encountering an error while validating an Azure Deployment Stack in the UAE North region.

Error code: DeploymentStackTenantRegistrationFailed

Error message:

“The service encountered an internal error while performing registration. Please try again later, or temporarily set denySettings to ‘none’ and re-create the deployment stack.”

Operation: az stack sub validate

Configuration:

  • Region: UAE North
  • Protection: denyWriteAndDelete
  • Apply protection to child scopes: Enabled
  • Action on unmanage: detachAll
  • Scope: Existing production resource group

What has been verified:

  • The resource group’s identity and retained metadata fingerprint matched successfully.
  • The administrator has Azure Owner permissions at subscription scope.
  • The relevant administrative permission checks succeeded.
  • No existing deny assignments were returned at the subscription or resource-group scopes.
  • The validation failed before any Deployment Stack was created or production resources were modified.

My questions:

  1. What causes DeploymentStackTenantRegistrationFailed during Deployment Stack validation?
  2. Is this a tenant-level or Azure service-registration issue?
  3. Is there a supported resolution that preserves denyWriteAndDelete protection?
  4. Does this require Microsoft intervention or a specific tenant/subscription configuration?
  5. How can I resolve this safely without changing existing production resources?

I do not want to disable the protection by setting deny settings to none.

This issue is blocking a production release.

Thank you for your assistance.

Azure Policy
Azure Policy

An Azure service that is used to implement corporate governance and standards at scale for Azure resources.


1 answer

Sort by: Most helpful
  1. AI answer

    2026-10-30T02:27:23.4566667+00:00

    Keep denyWriteAndDelete enabled and open an Azure support request for the failed subscription-scope registration, because Microsoft documents the UAE North workaround only for management-group-scoped stacks—not for the az stack sub validate operation used here.

    What the error establishes

    az stack sub validate validates a deployment stack at subscription scope, and denyWriteAndDelete is a supported deny-settings mode.^1^

    Microsoft lists DeploymentStackTenantRegistrationFailed as a known UAE North issue when creating a management-group-scoped deployment stack, with manual tenant registration as its workaround.^2^ Your operation is subscription-scoped, so that workaround cannot safely be assumed to apply.

    Consequently:

    • The available documentation does not identify the exact cause of this subscription-scope failure.
    • It does not establish whether the failed state is tenant-wide, subscription-specific, regional, or internal to the Deployment Stacks service.
    • Owner access and the absence of visible deny assignments do not provide a documented self-service repair for this error.
    • There is no documented subscription-scope command that manually performs this registration while retaining denyWriteAndDelete.

    Preserve the configuration and collect diagnostics

    Since validation failed before creating the stack, continue using validation rather than switching to az stack sub create.

    1. Rerun the exact same command, retaining every template, parameter, scope, deployment-resource-group, and deny-setting argument.
    2. Append --debug only; do not reconstruct or simplify the command.
    3. Capture:
      • UTC timestamp
      • Subscription and tenant IDs
      • Region: UAE North
      • Complete error code and message
      • Correlation/request ID from the response
      • Azure CLI version
      • Sanitized debug output
      • Confirmation that no stack was created

    For Bash, place the original arguments unchanged in an array:

    original_args=(
      # Paste every argument from the existing validation command here,
      # including template/parameters and deployment resource group.
    )
    
    az stack sub validate "${original_args[@]}" \
      --debug 2>deployment-stack-validation-debug.log
    

    Remove access tokens, secrets, and secret parameter values before attaching the log to a support case.

    Your selected protection remains supported: denyWriteAndDelete blocks updates and deletion of managed resources, and protection can be extended to child scopes.^3^

    Escalate without modifying production resources

    In the Azure portal, open Help + support → Create a support request, select an Azure technical issue, and route it to Azure Resource Manager/Deployment Stacks if that service choice is offered.

    Include this investigation request:

    az stack sub validate fails in UAE North with DeploymentStackTenantRegistrationFailed while using denyWriteAndDelete. This is a subscription-scoped stack, not a management-group-scoped stack. Please inspect the Deployment Stacks backend tenant/subscription registration state and the correlation-ID telemetry. Validation failed before stack creation or resource modification. The documented management-group workaround must not be applied unless Microsoft confirms that it also applies to this subscription-scope operation.

    Microsoft intervention is the appropriate next step unless support identifies a documented subscription configuration change for this scope. The evidence supplied does not justify changing the production resource group, deleting metadata, or disabling protection.

    Do not use these unrelated registration procedures

    Do not run Azure Stack Hub tenant-usage registration commands such as New-AzResource against Microsoft.AzureStack/registrations. Those procedures register tenants for Azure Stack Hub usage tracking, not Azure Resource Manager Deployment Stacks.^4^

    Likewise, avoid registering arbitrary resource-provider namespaces unless the validation response explicitly reports ResourceProviderNotRegistered and names the required namespace. The reported error alone does not establish a missing subscription resource provider.


    References

    1. az stack sub validate
    2. Known issues for deployment stacks - Azure Resource Manager
    3. Create and deploy Azure deployment stacks in Bicep
    4. Register tenants for usage tracking in Azure Stack Hub
    AI-generated content may be incorrect. Read our transparency notes for more information.

    Was this answer helpful?

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.