An Azure service that provides an event-driven serverless compute platform.
Hi @Parag Kale ,
This behavior can occur when Production and DR Durable Functions share the same Durable Task Hub (hubName) and storage account. Any active Function App connected to the same task hub can potentially pick up and process available orchestration work.
Recommended checks:
- Confirm the DR Function App is fully stopped and cannot be temporarily started by deployments, scaling, auto-heal, or platform activity.
- Verify that no other Function App is using the same
hubNameand storage account. - Compare the Durable Functions configuration between Production and DR.
- Use Durable Functions HTTP APIs to verify the actual orchestration status instead of relying solely on the portal.
- Review Production and DR application/platform logs to identify which host processed the orchestration.
Prevention:
If the architecture requires one shared storage account and task hub, the key requirement is to ensure that only the intended active Function App can process work from that task hub.
For an active/passive DR model:
Keep the DR Function App fully stopped while Production is active.
Prevent deployment, autoscaling, auto-heal, or other processes from unintentionally starting the DR app.
- During a failover, activate DR only after Production processing has been stopped or isolated.
Monitor both applications to confirm which host is processing Durable work.
Ideally, separate task hubs should be used for independent applications/environments, because having multiple applications actively listening to the same Durable Task Hub can result in work being processed by an unintended application. However, if the architecture requires the same storage account and hubName, strict active/passive compute control becomes especially important.
The key point is that the shared task hub is the source of the potential cross-region processing. Stopping the DR app should prevent it from processing new work, but we should first verify that the DR host was completely inactive and that no other Function App was connected to the same task hub at the time the orchestration was processed.
Hope this helps!
If the resolution was helpful, kindly take a moment to click on and click on Yes for was this answer helpful. And, if you have any further query do let us know.