Skip to content

Microsoft Graph Filesystem fails due to missing token_endpoint #69463

Description

@belegdol

Under which category would you file this issue?

Providers

Apache Airflow version

3.2.2

What happened and how to reproduce it?

I tried to initialize ObjectStoragePath of sharepoint type:
sp = ObjectStoragePath (foo, protocol="sharepoint", conn_id="bar")
Connection has client_id, client_secret, tenant_id and drive_id set. According to analysis done by Claude, it fails because msgraph does not attempt to construct token_endpoint if client_params is not empty and airflow only passes it if it is an explicit connection extra.

What you think should happen instead?

ObjectStoragePath successfully initializes.

Operating System

Ubuntu 22.04

Deployment

Virtualenv installation

Apache Airflow Provider(s)

microsoft-azure

Versions of Apache Airflow Providers

13.5.0

Official Helm Chart version

Not Applicable

Kubernetes Version

No response

Helm Chart configuration

No response

Docker Image customizations

No response

Anything else?

No response

Are you willing to submit PR?

  • Yes I am willing to submit a PR!

Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions