apache / airflow

Apache Airflow - A platform to programmatically author, schedule, and monitor workflows
https://airflow.apache.org/
Apache License 2.0
37.34k stars 14.35k forks source link

Unable to create Base Azure connection using Azure SPN credentials #44286

Open shamikghosh opened 3 days ago

shamikghosh commented 3 days ago

Apache Airflow version

2.10.3

If "Other Airflow 2 version" selected, which one?

No response

What happened?

I am trying to create a Basic Azure Connection with SPN credentials, but getting this error - AzureBaseHook.init() got an unexpected keyword argument 'azure_conn_id' image

I checked the library present already apache-airflow-providers-microsoft-azure airflow@97aa33b3fa4c:/opt/airflow$ pip show apache-airflow-providers-microsoft-azure Name: apache-airflow-providers-microsoft-azure Version: 11.0.0

Can some one please help?

What you think should happen instead?

No response

How to reproduce

Try creating a new Azure Basic connection with Airflow 2.10.3.

Operating System

linux

Versions of Apache Airflow Providers

pip freeze | grep apache-airflow-providers apache-airflow-providers-amazon==9.0.0 apache-airflow-providers-celery==3.8.3 apache-airflow-providers-cncf-kubernetes==9.0.1 apache-airflow-providers-common-compat==1.2.1 apache-airflow-providers-common-io==1.4.2 apache-airflow-providers-common-sql==1.19.0 apache-airflow-providers-docker==3.14.0 apache-airflow-providers-elasticsearch==5.5.2 apache-airflow-providers-fab==1.5.0 apache-airflow-providers-ftp==3.11.1 apache-airflow-providers-google==10.25.0 apache-airflow-providers-grpc==3.6.0 apache-airflow-providers-hashicorp==3.8.0 apache-airflow-providers-http==4.13.2 apache-airflow-providers-imap==3.7.0 apache-airflow-providers-microsoft-azure==11.0.0 apache-airflow-providers-mysql==5.7.3 apache-airflow-providers-odbc==4.8.0 apache-airflow-providers-openlineage==1.13.0 apache-airflow-providers-postgres==5.13.1 apache-airflow-providers-redis==3.8.0 apache-airflow-providers-sendgrid==3.6.0 apache-airflow-providers-sftp==4.11.1 apache-airflow-providers-slack==8.9.1 apache-airflow-providers-smtp==1.8.0 apache-airflow-providers-snowflake==5.8.0 apache-airflow-providers-sqlite==3.9.0 apache-airflow-providers-ssh==3.14.0

Deployment

Docker-Compose

Deployment details

No response

Anything else?

No response

Are you willing to submit PR?

Code of Conduct

boring-cyborg[bot] commented 3 days ago

Thanks for opening your first issue here! Be sure to follow the issue template! If you are willing to raise PR to address this issue please do so, no need to wait for approval.

kunaljubce commented 1 hour ago

@shamikghosh Have you created a DAG that you're trying to load in your Airflow UI? If yes, can you share the code snippets where you're trying to setup the connection?