Skip to content

Conversation

@LucasRoesler
Copy link
Contributor

@LucasRoesler LucasRoesler commented Nov 21, 2025

Fix the import path for the msgraph filesystem. It is actually at airflow.providers.microsoft.azure.fs.msgraph, not airflow.providers.microsoft.azure.fs.msgraphfs

Resolves #58221

I have tested this manually by importing and checking the list of available filesystems

$ AIRFLOW__LOGGING__LOGGING_LEVEL="DEBUG" uv run python
Python 3.12.5 (main, Aug 14 2024, 05:08:31) [Clang 18.1.8 ] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> from airflow import io
[2025-11-21T18:49:30.354+0100] {settings.py:345} DEBUG - Setting up DB connection pool (PID 1361496)
/home/lucas/code/telekom/gsus/pro-89/modeling/.venv/lib/python3.12/site-packages/airflow/configuration.py:859 DeprecationWarning: The secret_key option in [webserver] has been moved to the secret_key option in [api] - the old setting has been used, but please update your config.
[2025-11-21T18:49:30.976+0100] {configuration.py:861} DEBUG - Could not retrieve value from section core, for key asset_manager_kwargs. Skipping redaction of this conf.
[2025-11-21T18:49:30.977+0100] {configuration.py:861} DEBUG - Could not retrieve value from section database, for key sql_alchemy_engine_args. Skipping redaction of this conf.
>>> io._register_filesystems()
[2025-11-21T18:49:33.699+0100] {providers_manager.py:356} DEBUG - Initializing Providers Manager[filesystems]
[2025-11-21T18:49:33.699+0100] {providers_manager.py:356} DEBUG - Initializing Providers Manager[list]
[2025-11-21T18:49:33.717+0100] {providers_manager.py:598} DEBUG - Loading EntryPoint(name='provider_info', value='airflow.providers.git.get_provider_info:get_provider_info', group='apache_airflow_provider') from package apache-airflow-providers-git
[2025-11-21T18:49:33.720+0100] {providers_manager.py:598} DEBUG - Loading EntryPoint(name='provider_info', value='airflow.providers.smtp.get_provider_info:get_provider_info', group='apache_airflow_provider') from package apache-airflow-providers-smtp
[2025-11-21T18:49:33.722+0100] {providers_manager.py:598} DEBUG - Loading EntryPoint(name='provider_info', value='airflow.providers.common.sql.get_provider_info:get_provider_info', group='apache_airflow_provider') from package apache-airflow-providers-common-sql
[2025-11-21T18:49:33.724+0100] {providers_manager.py:598} DEBUG - Loading EntryPoint(name='provider_info', value='airflow.providers.common.io.get_provider_info:get_provider_info', group='apache_airflow_provider') from package apache-airflow-providers-common-io
[2025-11-21T18:49:33.726+0100] {providers_manager.py:598} DEBUG - Loading EntryPoint(name='provider_info', value='airflow.providers.common.compat.get_provider_info:get_provider_info', group='apache_airflow_provider') from package apache-airflow-providers-common-compat
[2025-11-21T18:49:33.728+0100] {providers_manager.py:598} DEBUG - Loading EntryPoint(name='provider_info', value='airflow.providers.cncf.kubernetes.get_provider_info:get_provider_info', group='apache_airflow_provider') from package apache-airflow-providers-cncf-kubernetes
[2025-11-21T18:49:33.733+0100] {providers_manager.py:598} DEBUG - Loading EntryPoint(name='provider_info', value='airflow.providers.snowflake.get_provider_info:get_provider_info', group='apache_airflow_provider') from package apache-airflow-providers-snowflake
[2025-11-21T18:49:33.737+0100] {providers_manager.py:598} DEBUG - Loading EntryPoint(name='provider_info', value='airflow.providers.standard.get_provider_info:get_provider_info', group='apache_airflow_provider') from package apache-airflow-providers-standard
[2025-11-21T18:49:33.740+0100] {providers_manager.py:598} DEBUG - Loading EntryPoint(name='provider_info', value='airflow.providers.microsoft.azure.get_provider_info:get_provider_info', group='apache_airflow_provider') from package apache-airflow-providers-microsoft-azure
[2025-11-21T18:49:33.746+0100] {providers_manager.py:598} DEBUG - Loading EntryPoint(name='provider_info', value='cosmos.provider_info:get_provider_info', group='apache_airflow_provider') from package astronomer-cosmos
...omitted for brevity...
[2025-11-21T18:49:34.953+0100] {providers_manager.py:359} DEBUG - Initialization of Providers Manager[list] took 1.25 seconds
[2025-11-21T18:49:34.954+0100] {providers_manager.py:359} DEBUG - Initialization of Providers Manager[filesystems] took 1.26 seconds
[2025-11-21T18:49:34.954+0100] {__init__.py:73} DEBUG - loading filesystems from providers took 1380.089 seconds
{'file': <function _file at 0x7f684d911b20>, 'local': <function _file at 0x7f684d911b20>, 'abfs': <function get_fs at 0x7f6848c0b2e0>, 'abfss': <function get_fs at 0x7f6848c0b2e0>, 'adl': <function get_fs at 0x7f6848c0b2e0>, 'msgraph': <function get_fs at 0x7f6848c0b380>, 'sharepoint': <function get_fs at 0x7f6848c0b380>, 'onedrive': <function get_fs at 0x7f6848c0b380>, 'msgd': <function get_fs at 0x7f6848c0b380>}

Fix the import path for the msgraph filesystem. It is actually at
`airflow.providers.microsoft.azure.fs.msgraph`, not
`airflow.providers.microsoft.azure.fs.msgraphfs`

Signed-off-by: Lucas Roesler <roesler.lucas@gmail.com>
Run the release generator to ensure the provider metadata is updated
with the new filesystem path.

Signed-off-by: Lucas Roesler <roesler.lucas@gmail.com>
Signed-off-by: Lucas Roesler <roesler.lucas@gmail.com>
@potiuk potiuk merged commit 83d6c6c into apache:main Nov 24, 2025
83 checks passed
Copilot AI pushed a commit to jason810496/airflow that referenced this pull request Dec 5, 2025
* fix: microsoft azure provider filesystem metadata

Fix the import path for the msgraph filesystem. It is actually at
`airflow.providers.microsoft.azure.fs.msgraph`, not
`airflow.providers.microsoft.azure.fs.msgraphfs`

Signed-off-by: Lucas Roesler <roesler.lucas@gmail.com>

* chore: update azure provider metadata

Run the release generator to ensure the provider metadata is updated
with the new filesystem path.

Signed-off-by: Lucas Roesler <roesler.lucas@gmail.com>

* revert: change to providers release date

Signed-off-by: Lucas Roesler <roesler.lucas@gmail.com>

---------

Signed-off-by: Lucas Roesler <roesler.lucas@gmail.com>
itayweb pushed a commit to itayweb/airflow that referenced this pull request Dec 6, 2025
* fix: microsoft azure provider filesystem metadata

Fix the import path for the msgraph filesystem. It is actually at
`airflow.providers.microsoft.azure.fs.msgraph`, not
`airflow.providers.microsoft.azure.fs.msgraphfs`

Signed-off-by: Lucas Roesler <roesler.lucas@gmail.com>

* chore: update azure provider metadata

Run the release generator to ensure the provider metadata is updated
with the new filesystem path.

Signed-off-by: Lucas Roesler <roesler.lucas@gmail.com>

* revert: change to providers release date

Signed-off-by: Lucas Roesler <roesler.lucas@gmail.com>

---------

Signed-off-by: Lucas Roesler <roesler.lucas@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants