Skip to main content
Announcements
Qlik Connect 2025! Join us in Orlando join us for 3 days of immersive learning: REGISTER TODAY

Qlik Talend Data Integration: Job failing with error "Failed to load MSAL4J Java library"

No ratings
cancel
Showing results for 
Search instead for 
Did you mean: 
Harish_Maram
Support

Qlik Talend Data Integration: Job failing with error "Failed to load MSAL4J Java library"

Last Update:

Apr 6, 2025 9:35:29 PM

Updated By:

Shicong_Hong

Created date:

Apr 6, 2025 9:36:18 PM

Trying to connect SQL server with Azure MFA Authentication, It works fine using metadata connection. However, when the metadata connection is added to a Job, the Job fails with below error:

Failed to load MSAL4J Java library for performing ActiveDirectoryInteractive authentication.
com.microsoft.sqlserver.jdbc.SQLServerException: Failed to load MSAL4J Java library for performing ActiveDirectoryInteractive authentication.

Upon checking the modules view in Talend Studio, the MSAL4J jar is already installed.

Resolution

In the Advanced settings of the tDBConnection for the SQL Server connection, enable the option labeled "Authenticate using Azure Active Directory", and subsequently attempt to run the Job once more. Upon enabling this option, the msal4j jar will be automatically packaged during the Job build process.

 

Environment