The GitHub Actions job "Tests (AMD)" on 
airflow.git/fix-69463-msgraph-token-endpoint has failed.
Run started by GitHub user anmolxlight (triggered by anmolxlight).

Head commit for run:
01f50229f6f4d7e81d1eeeee967728a6ce192bc1 / Anmol Mishra 
<[email protected]>
Construct default token_endpoint for msgraph filesystem (#69463)

When ObjectStoragePath is used with a sharepoint/msgraph protocol and
a connection that has client_id, client_secret, and tenant_id but no
explicit token_endpoint, MSGDriveFS fails because it receives a non-None
oauth2_client_params dict from Airflow and skips its own token_endpoint
construction logic, leaving AsyncOAuth2Client.fetch_token() without a
target URL.

Fix: if token_endpoint is not in oauth2_client_params and tenant_id is
set, construct the default Microsoft identity platform v2.0 token endpoint:
https://login.microsoftonline.com/{tenant_id}/oauth2/v2.0/token

Report URL: https://github.com/apache/airflow/actions/runs/28860281570

With regards,
GitHub Actions via GitBox


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to