Get Inspire insights from former attendees in our AMA discussion thread on Inspire Buzz. ACEs and other community members are on call all week to answer!

Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.

Connecting Alteryx to Azure SQL Datawarehouse/Database

Gurpreet-ce
5 - Atom

Hi everyone,

 

I am trying to connect Alteryx to Azure SQL Database for doing data analysis for our project. As there is no custom connector for Azure SQL DB, I am using ODBC driver 17 for SQL Server. 

Within the ODBC connection configuration I am using the option: 

 Azure Active Directory Interactive authentication using a Login ID entered by the user

Gurpreet-ce_0-1603398849803.png

 

The connection is successful when the Data source is tested.

 

The issue that I am facing is: When I drag in any tool like In-DB connector, Summarize In-Db, Filter In-Db... I get prompted for authentication from Azure AD every time, multiple times for each tool. 

Even after the the flow is designed and I hit the Run button, I get prompted for authentication again a couple of times. 

 

Is it possible to connect just once and the session stays alive for rest of the time? Is there any other better way for connecting to Azure SQL DB? 

 

 

Note: When I select the option -Azure active directory password authentication using a login ID and password entered by the user, The ODBC connection is not successful from Alteryx and I get the error:
" Error: Input Data (7): Error SQLDriverConnect: [Microsoft][ODBC Driver 17 for SQL Server][SQL Server]Failed to authenticate the user in Active Directory (Authentication option is 'ActiveDirectoryPassword').
Error code 0x800401F0; state 10
CoInitialize has not been called."

 

 

 

11 REPLIES 11
MCarterPXD
5 - Atom

For us this ended up being a difference in versions of the ODBC Driver 17 for SQL Server. Microsoft bug fixes documentation for this driver listed an Azure AD authentication fix for some variants of the Azure SQL DB for 17.7.1.1. 

 

ODBC Driver 17 for SQL Server  Version 2017.172.00.01 – This version works fine with Azure, able to read and write using the correct Azure Authentication.

ODBC Driver 17 for SQL Server  Version 2017.175.01.01 - This version does not work with Azure using any of the Azure Authentication methods.

ODBC Driver 17 for SQL Server  Version 2017.177.01.01 - This version works fine with Azure, able to read and write using the correct Azure Authentication.

 

Thanks

asifk
8 - Asteroid

Hi All thank you for the details and guidance provided.

 

My client has migrated their data to Azure Synapse and i have been trying to connect to it using both OLEDB Drivers and ODBC

My current version are as follows:

 

asifk_1-1618493443350.png

 

 

When trying to access via ODBC i receive the following error:

asifk_2-1618493485919.png

asifk_4-1618493500363.png

 

When using OLEDB 

asifk_5-1618493531066.png

 

 

And on using 

SQL Server DB connection, error is:

 

Error: Input Data (1): Error SQLExecute: [Microsoft][ODBC Driver 17 for SQL Server][SQL Server]Cursor support is not an implemented feature for SQL Server Parallel DataWarehousing TDS endpoint.

 

Please advise

 

 

Labels