GitHub user perry2of5 added a comment to the discussion: Microsoft Graph API - Scopes should be an empty list or a list of strings Error
I don't think that the use of "StringField" is the problem. If scopes is a string, it is converted to a list on line 264. https://github.com/apache/airflow/blob/main/providers/microsoft/azure/src/airflow/providers/microsoft/azure/hooks/msgraph.py#L264 And indeed you can see the log message from https://github.com/apache/airflow/blob/main/providers/microsoft/azure/src/airflow/providers/microsoft/azure/hooks/msgraph.py#L280 [2025-03-29, 18:13:42 UTC] {msgraph.py:269} INFO - Scope: ['https://graph.microsoft.com/.default'] In the UI, it looks like it should just be a comma separated list, so I think you just need this in the UI: https://graph.microsoft.com/.default not ['https://graph.microsoft.com/.default'] I'll try to debug this tonight. GitHub link: https://github.com/apache/airflow/discussions/64624#discussioncomment-16421905 ---- This is an automatically sent email for [email protected]. To unsubscribe, please send an email to: [email protected]
