perry2of5 commented on issue #48533: URL: https://github.com/apache/airflow/issues/48533#issuecomment-2776657556
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. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
