A Talend OSGI Service job which uses tAzureSynapseConnection component was running fine from the local studio debug but failed after published this service to Talend Runtime Server.
{
"Failed": "com.microsoft.sqlserver.jdbc.SQLServerException:Failed to load MSAL4J Java library for performing ActiveDirectoryPassword authentication. Internal Error kindly contact FLS Integration Team"
}
Resolution
The msal4j jar got excluded after the fix from Jira Issue QAPPINT-309: "MSAL4j lib not found when Azure AD deployed in Runtime."
You need to install it into Runtime container correspondingly
feature:install azure-msal4j
Cause
In this jira issue QAPPINT-309: "MSAL4j lib not found when Azure AD deployed in Runtime", the "osgi-exclude.properties" step was added to fix duplicated dependencies inside bundle and Runtime.
Internal Investigation ID(s)
QAPPINT-309
Environment
Talend ESB