Service bus stuck in update loop after enabling Geo Replication

AShah 0 Reputation points
2025-03-06T17:20:20.4+00:00

we have a service bus with premium version recently we turned Geo Replication ON and since then it's stuck between update/fail state.

geo replication status says 'InBuild' , we don't see any message being replicate to secondary region so clearly it's still not applied.

what can be wrong here? we tried to delete it as well assuming something went wrong but it's not allowing to remove either with below message:-

Failed deleting secondary region: East US 2 with error code: GeoDataReplicationReplicasCannotBeAddedRemovedWithOtherProperties and with message: To add or remove replicas on a namespace, the other properties on the request payload cannot change. Keep all properties apart from 'geoDataReplication' the same to allow for addition and removal of replicas..

it's very necessary for us to enable this and a quick response would be appreciated.

enter image description here

Azure Service Bus
Azure Service Bus
An Azure service that provides cloud messaging as a service and hybrid integration.
674 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Pradeep Kommaraju 390 Reputation points Microsoft Employee
    2025-03-06T17:46:05.45+00:00

    Hello

    Thanks for reaching out to Microsoft Q and A Forum.

    We can try the following steps, but if the issue persists, I strongly recommend creating a support ticket to involve the backend engineering team for a resolution.

    Remove Geo-DR Pairing

    You can try breaking the pairing using:

    az servicebus georecovery-alias break-pair --resource-group <resource_group> --namespace-name <namespace_name> --alias <alias>

    This command unlinks the paired namespaces, which might help reset the provisioning state.

    Force Delete Geo-DR Alias

    If the alias deletion is blocked, try:

    az servicebus georecovery-alias delete --resource-group <resource_group> --namespace-name <namespace_name> --alias <alias>

    This forces the removal of the Geo-DR alias, which might resolve the stuck state.

    Restart the Service Bus Namespace

    While Azure Service Bus does not support a direct restart, you can update the namespace to trigger a re-evaluation:

    az servicebus namespace update --name <namespace_name> --resource-group <resource_group> --tags "reset=true"

    Adding a temporary tag forces Azure to refresh the namespace state.

    Also request you to accept the answer if it was informative and helpful.

    Thanks,
    Pradeep


Your answer

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