Splunk Enterprise

DB Connect MSAL4j library

jbanAtSplunk
Communicator

Hi,

How to add MSAL4J.jar to DB_Connect.

I am getting error:

Failed to load MSAL4J Java library for performing ActiveDirectoryServicePrincipal authentication.
Labels (2)
Tags (1)
0 Karma
1 Solution

VatsalJagani
SplunkTrust
SplunkTrust

@jbanAtSplunk - It's not documented anywhere what you are trying to achieve. I would suggest opening a Splunk support ticket with Splunk.

 

I hope this helps!!! Kindly upvote if it does!!

View solution in original post

Tags (1)
0 Karma

VatsalJagani
SplunkTrust
SplunkTrust

@jbanAtSplunk - Are you trying to do Windows Authentication? That is supported in DB connect by default.

https://docs.splunk.com/Documentation/DBX/3.15.0/DeployDBX/Createandmanageidentities 

 

Otherwise, DB Connect only supports putting Java DB driver files inside drivers directory - https://docs.splunk.com/Documentation/DBX/3.15.0/DeployDBX/Installdatabasedrivers 

 

I hope this helps!!!!

0 Karma

jbanAtSplunk
Communicator

Hi,

No. 

It's: jdbc:sqlserver://hostname.kusto.windows.net:1433;databaseName=DBName;selectMethod=cursor;encrypt=true;hostNameInCertificate=*.kusto.windows.net;authentication=ActiveDirectoryServicePrincipal;

And I have
aadSecurePrincipalId (clientID)
aadSecurePrincipalSecret

 

In drivers dir I have: mssql-jdbc-12.4.2.jre11.jar

0 Karma

VatsalJagani
SplunkTrust
SplunkTrust

@jbanAtSplunk - It's not documented anywhere what you are trying to achieve. I would suggest opening a Splunk support ticket with Splunk.

 

I hope this helps!!! Kindly upvote if it does!!

Tags (1)
0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Announcing Modern Navigation: A New Era of Splunk User Experience

We are excited to introduce the Modern Navigation feature in the Splunk Platform, available to both cloud and ...

Modernize your Splunk Apps – Introducing Python 3.13 in Splunk

We are excited to announce that the upcoming releases of Splunk Enterprise 10.2.x and Splunk Cloud Platform ...

Step into “Hunt the Insider: An Splunk ES Premier Mystery” to catch a cybercriminal ...

After a whole week of being on call, you fell asleep on your keyboard, and you hit a sequence of buttons that ...