I am trying to login to Snowflake through our Azure AD integration button.
My connection script was using the credentials of a trial account where there is only the username and password on snowflake:
conn = snowCtx.connect(
user=user,
password=password,
account=account,
database=database,
schema=schema,
warehouse=warehouse,
role='SYSADMIN',
autocommit=False,
)
Now I need to add and integrate the Azure AD username and password with the connection on order to access my prod account and start my ETL process.
I checked the following:
import azure.functions as func
but before that I installed the azure library using:
pip install azure
But there is no module functions
within azure
library.
How can I add the Azure AD authentication to snowflake cursor?
But there is no module functions within azure library
,azure.functions
is a module which already installed when you created the python function in VS code. So do not need to care about it. – Hury Shen