Welcome to the Alteryx Knowledge Base

Error SQLDriverConnect: [Microsoft][ODBC Driver 18 for SQL Server][SQL Server]Failed to authenticate the user '###' in Active Directory (Authentication option is 'ActiveDirectoryPassword'). Error code 0xCAA82EE2; state 10 The request
user

Created/Edited - 12/6/2024 by Michael Phipps | Alteryx

Summary
Article-9024
Description

We have groups migrating to Azure SQL Servers and are trying to configure the connection in Alteryx Gallery. To begin this testing, we are attempting to connect on the Server's Designer instance, but the connection errors out because it is not passing on the credentials. This occurs only in Gallery, the workflows using the same connection and authentication type run successfully in Designer on Server and at end-user laptops

 

Testing in the DSNs ODBC shows a successful authentication / connection

 

Error SQLDriverConnect: [Microsoft][ODBC Driver 18 for SQL Server][SQL Server]Failed to authenticate the user '###' in Active Directory (Authentication option is 'ActiveDirectoryPassword'). Error code 0xCAA82EE2; state 10 The request 

 





Issue
Error SQLDriverConnect: [Microsoft][ODBC Driver 18 for SQL Server][SQL Server]Failed to authenticate the user '###' in Active Directory (Authentication option is 'ActiveDirectoryPassword'). Error code 0xCAA82EE2; state 10 The request
Environment

 

  • Alteryx Server 2021.1
  • Microsoft Azure SQL
  • MS ODBC SQL version 17.10.0005 / 18
    • Azure Active Directory with Password Authentication

 

Cause
  • This error usually occurs when workflows are not published to Server specifying that user credentials are required to run, causing the workflow to fail to authenticate to the datasource by using the RunAs user.
  • This error may occur if the access to the Azure Active Directory (AAD) is blocked by your proxy or firewall.
Resolution
  • Reachout to your IIT to confirm and resolve any firewall rules preventing AAD access
  • Ensure that server credential settings is set to Allow User to Select, to give user the ability to publish workflows specifying that credentials are Required for the workflow
Important: A Note About Changing Your Credentials Setting. Changes to your credentials setting can affect your schedules, and may disable schedules or prevent users from running workflows. Please review the help documentation on the impacts based on setting prior to applying changes here
 
Additional Information
Was this article helpful?