Share via

Managed Airflow scheduler not working.

Milica Batinic 20 Reputation points Microsoft Employee
2025-08-11T14:39:01.2266667+00:00

We have a managed Airflow instance in our subscription, and the UI shows that the last heartbeat was a day ago (08/09). I tried resetting the Airflow instance multiple times, either by changing a variable or importing dags from a storage, and nothing worked. I also tried looking at logs, which yielded no results as well.

Help? I have no idea what to do next or how to fix this problem. Thanks. User's image

Azure Data Factory
Azure Data Factory

An Azure service for ingesting, preparing, and transforming data at scale.


Answer accepted by question author

Smaran Thoomu 35,375 Reputation points Microsoft External Staff Moderator
2025-09-12T07:13:34.6866667+00:00

Hi Milica Batinic
Thank you for your patience. This issue was caused by a database schema migration conflict within the Managed Airflow service. Specifically, installing incompatible Airflow package versions (such as certain apache-airflow-providers dependencies) introduced an unrecognized alembic database migration revision, which prevented the scheduler from starting. This resulted in missing scheduler heartbeats and failure of newly created instances as well.

Resolution:

  • The root cause was identified as a dependency conflict that caused the Airflow database to migrate into an unsupported state.
  • The affected instances were recovered by updating the alembic versioning table to remove the unrecognized migration revision.
  • After this corrective action, the scheduler heartbeat resumed, and both new and existing Airflow instances became operational.

Recommendations:

  • Ensure that only supported Python packages and Airflow provider versions are installed in Managed Airflow. Incompatible packages may cause database and scheduler failures.
  • If the issue recurs, please open a support ticket so the backend team can validate and remediate.

This incident has now been resolved, and the affected Managed Airflow instances are running as expected.

Hope this helps. Do let us know if you any further queries.


If this answers your query, do click Accept Answer and Yes for was this answer helpful. And, if you have any further query do let us know.

Was this answer helpful?

1 person found this answer helpful.
0 comments No comments

0 additional answers

Sort by: Most 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.