SAP Knowledge Base Article - Public

3779096 - Azure SQL database connection fails with error "Failed to load MSAL4J Java library for performing ActiveDirectoryPassword authentication." in SAP Analytic Cloud ( SAC )

Symptom

Azure SQL database connection fails with error "Failed to load MSAL4J Java library for performing ActiveDirectoryPassword authentication." in SAC

Environment

SAP Analytics Cloud version 2026.2.16   

Reproducing the Issue

  1. Login to SAC
  2. Navigate to the connection.  
  3. Create connection to Azure SQL Database using authentication=ActiveDirectoryPassword.  
  4. Click Save.  

Notice : The connection fails with error "Failed to load MSAL4J Java library for performing ActiveDirectoryPassword authentication."

Cause

The SAC Agent is missing the required plugin MSAL4J library needed to communicate with Microsoft Entra ID when using ActiveDirectoryPassword authentication. This is a limitation on the agent side rather than a configuration issue.

Resolution

  1. Use Standard SQL Server Authentication as a workaround.
  2. If ActiveDirectoryPassword support is required, submit an enhancement request for SAP Analytics Cloud. Refer to this KBA: How do you create an enhancement request and provide feedback for SAP Analytics Cloud?

See Also

Your feedback is important to help us improve our knowledge base.

Keywords

SAP Analytics Cloud, Model, Data Management, Import Job, Export Job, Upload Jobs, Connection, Schedule, User, Access, Story, Failed, Success, Cloud-Analytic, Job owner, Permissions, SAC, Planning, SSO, Authentication, Connection, Import, Live, Azure, Database, SQL. , KBA , LOD-ANA-AQU , Import Data Connections (Acquiring Data) , Problem

Product

SAP Analytics Cloud 1.0