I got the same problem here while trying to make a dag that extract data form MSSSQL. Had tried your way to fix but it not work and stile have a Dag report like this: DAG Import Errors
Broken DAG: [/opt/airflow/dags/Demo project.py] Traceback (most recent call last):
File "", line 219, in _call_with_frames_removed File "/opt/airflow/dags/Demo project.py", line 3, in from airflow.providers.microsoft.mssql.hooks.mssql import MsSqlHook ModuleNotFoundError: No module named 'airflow.providers.microsoft.mssql'