Icon

MSSQL_AAD_interactive

Connect to Microsoft SQL Server with Azure Active Directory Authentication

This workflow describes how to connect to Microsoft SQL Server with Azure Active Directory authentication using the latest JDBC driver from Microsoft.

URL: KNIME Microsoft JDBC Driver For SQL Server https://hub.knime.com/knime/extensions/org.knime.features.database.extensions.sqlserver.driver/latest/
URL: Microsoft Authenticator https://hub.knime.com/knime/extensions/org.knime.features.ext.office365.filehandling/latest/org.knime.ext.microsoft.authentication.node.MicrosoftAuthenticatorNodeFactory/

Annotations and comments
  • OUTDATE Use Microsoft Authenticator node and the KNIME Microsoft JDBC Driver For SQL Server extension instead.
  • You need to register the JDBC driver version 9.2 or newer with MSAL4J. To download all jars that are required for MSAL4J go to this webpage: https://jar-download.com/online-maven-download-tool.php and add the following dependency from https://github.com/AzureAD/microsoft-authentication-library-for-java into the Maven XML field: <dependency> <groupId>com.microsoft.azure</groupId> <artifactId>msal4j</artifactId> <version>1.9.1</version> </dependency> Once downloaded extract the zip file with all depdendencies (14 jars) into a folder. Then register the driver jar (mssql-jdbc-9.2.1.jre8.jar) by using the Add File button and the auth dependency folder using the Add Directory button in the driver registration dialog using the id: sqlserver_9_2.

Nodes

Extensions

Links