<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Connecting to SQL Server using Azure Active Directory - Failed to Load MSAL4J in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Connecting-to-SQL-Server-using-Azure-Active-Directory-Failed-to/m-p/2305433#M77085</link>
    <description>&lt;P&gt;Hi, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to connect to a SQL Server database using Azure Active directory authentication but I am getting an error stating "&lt;/P&gt;&lt;P&gt;Failed to load MSAL4J Java library for performing ActiveDirectoryPassword authentication."  I have downloaded the &lt;/P&gt;msal4j-1.12.0.jar file and installed it but I'm still getting the error. &lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Connection failure. You must change the Database Settings.&lt;/P&gt;&lt;P&gt;&amp;nbsp;java.lang.RuntimeException: com.microsoft.sqlserver.jdbc.SQLServerException: Failed to load MSAL4J Java library for performing ActiveDirectoryPassword authentication.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is the JDBC connection string I'm using:  jdbc:sqlserver://&amp;lt;sqlservername&amp;gt;:1433;DatabaseName=&amp;lt;databasename&amp;gt;;authentication=ActiveDirectoryPassword&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm also using  10.2 version of the JDBC Driver for SQL Server. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 15 Nov 2024 22:51:42 GMT</pubDate>
    <dc:creator>edmo</dc:creator>
    <dc:date>2024-11-15T22:51:42Z</dc:date>
    <item>
      <title>Connecting to SQL Server using Azure Active Directory - Failed to Load MSAL4J</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Connecting-to-SQL-Server-using-Azure-Active-Directory-Failed-to/m-p/2305433#M77085</link>
      <description>&lt;P&gt;Hi, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to connect to a SQL Server database using Azure Active directory authentication but I am getting an error stating "&lt;/P&gt;&lt;P&gt;Failed to load MSAL4J Java library for performing ActiveDirectoryPassword authentication."  I have downloaded the &lt;/P&gt;msal4j-1.12.0.jar file and installed it but I'm still getting the error. &lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Connection failure. You must change the Database Settings.&lt;/P&gt;&lt;P&gt;&amp;nbsp;java.lang.RuntimeException: com.microsoft.sqlserver.jdbc.SQLServerException: Failed to load MSAL4J Java library for performing ActiveDirectoryPassword authentication.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is the JDBC connection string I'm using:  jdbc:sqlserver://&amp;lt;sqlservername&amp;gt;:1433;DatabaseName=&amp;lt;databasename&amp;gt;;authentication=ActiveDirectoryPassword&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm also using  10.2 version of the JDBC Driver for SQL Server. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 15 Nov 2024 22:51:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Connecting-to-SQL-Server-using-Azure-Active-Directory-Failed-to/m-p/2305433#M77085</guid>
      <dc:creator>edmo</dc:creator>
      <dc:date>2024-11-15T22:51:42Z</dc:date>
    </item>
    <item>
      <title>Re: Connecting to SQL Server using Azure Active Directory - Failed to Load MSAL4J</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Connecting-to-SQL-Server-using-Azure-Active-Directory-Failed-to/m-p/2305434#M77086</link>
      <description>&lt;P&gt;Hi @Not defined Not defined​&amp;nbsp;, maybe you can try : authentication=ActiveDirectoryIntegrated in the additionnal param of the ssms db connection. you also surely have to add the &amp;nbsp;mssql-jdbc_auth dll in win32 folder or java folder you can find it in the jdbc driver zip&lt;/P&gt;</description>
      <pubDate>Fri, 03 Jun 2022 14:16:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Connecting-to-SQL-Server-using-Azure-Active-Directory-Failed-to/m-p/2305434#M77086</guid>
      <dc:creator>gjeremy1617088143</dc:creator>
      <dc:date>2022-06-03T14:16:19Z</dc:date>
    </item>
    <item>
      <title>Re: Connecting to SQL Server using Azure Active Directory - Failed to Load MSAL4J</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Connecting-to-SQL-Server-using-Azure-Active-Directory-Failed-to/m-p/2305435#M77087</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We've recently upgraded the MsSQL drivers. If you're not running the latest Talend 8 patch you'll likely need a version 7  of the driver. That version will use the ADAL4j libraries. And make sure the AD auth checkbox is enabled in the Advanced settings.&lt;/P&gt;&lt;P&gt;https://help.talend.com/r/en-US/Cloud/release-notes/r2022-04-studio-new-features &lt;/P&gt;</description>
      <pubDate>Mon, 06 Jun 2022 07:33:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Connecting-to-SQL-Server-using-Azure-Active-Directory-Failed-to/m-p/2305435#M77087</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-06-06T07:33:30Z</dc:date>
    </item>
    <item>
      <title>Re: Connecting to SQL Server using Azure Active Directory - Failed to Load MSAL4J</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Connecting-to-SQL-Server-using-Azure-Active-Directory-Failed-to/m-p/2305436#M77088</link>
      <description>&lt;P&gt;Hi @Balazs Gunics​&amp;nbsp;, I'm using Talend Studio version as follow :&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Version: 7.3.1&lt;/P&gt;&lt;P&gt;Build id: R2022-03&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm facing this issue as well. Should it use ADAL4j or MSAL4j ? &lt;/P&gt;&lt;P&gt;And the weird thing is, I have other job running in the same project workspace, able to connect to Azure AD successfully. But some other job failed on this error mentioned by edmo.&lt;/P&gt;</description>
      <pubDate>Tue, 21 Jun 2022 06:44:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Connecting-to-SQL-Server-using-Azure-Active-Directory-Failed-to/m-p/2305436#M77088</guid>
      <dc:creator>Naim1</dc:creator>
      <dc:date>2022-06-21T06:44:31Z</dc:date>
    </item>
    <item>
      <title>Re: Connecting to SQL Server using Azure Active Directory - Failed to Load MSAL4J</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Connecting-to-SQL-Server-using-Azure-Active-Directory-Failed-to/m-p/2305437#M77089</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Did you enable the checkbox in the Advanced settings?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Talend 7.x references ADAL4J, which means you need to specify a JDBC driver (v7) that is capable to work with ADAL4J.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;On Talend 8, since April we support MSAL4J which requires not just the JDBC + MSAL but another half a dozen dependencies to be present and with the right version. &lt;/P&gt;</description>
      <pubDate>Tue, 21 Jun 2022 08:30:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Connecting-to-SQL-Server-using-Azure-Active-Directory-Failed-to/m-p/2305437#M77089</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-06-21T08:30:56Z</dc:date>
    </item>
    <item>
      <title>Re: Connecting to SQL Server using Azure Active Directory - Failed to Load MSAL4J</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Connecting-to-SQL-Server-using-Azure-Active-Directory-Failed-to/m-p/2305438#M77090</link>
      <description>&lt;P&gt;yes.. already tick the Authenticate using Azure Active Directory, and also add the additional parameter :&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;authentication=ActiveDirectoryPassword&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How to configure the component used the correct driver, since the error mentioned MSAL4j, like its pointing to different driver.&lt;/P&gt;</description>
      <pubDate>Tue, 21 Jun 2022 08:46:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Connecting-to-SQL-Server-using-Azure-Active-Directory-Failed-to/m-p/2305438#M77090</guid>
      <dc:creator>Naim1</dc:creator>
      <dc:date>2022-06-21T08:46:29Z</dc:date>
    </item>
  </channel>
</rss>

