# Unable to connect to azure sql server

**URL:** <https://forum.liquibase.org/t/unable-to-connect-to-azure-sql-server/9639>\
**Category:** General Discussion\
**Created:** [August 23, 2024, 12:07pm UTC](https://forum.liquibase.org/t/unable-to-connect-to-azure-sql-server/9639 "2024-08-23T12:07:28Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![aaronx](https://avatars.discourse-cdn.com/v4/letter/a/7bcc69/32.png) [@aaronx](https://forum.liquibase.org/u/aaronx)\
**Post date:** [August 23, 2024, 12:07pm UTC](https://forum.liquibase.org/t/unable-to-connect-to-azure-sql-server/9639/1 "2024-08-23T12:07:28Z")

</div>

I’m using Azure Devops CI/CD pipeline, running liquibase 4.29.1 docker image to update our MS SQL Server resource hosted in Azure and I’m receiving the following error. I have the liquibase-azure-deps-4.29.1.jar mounted to /liquibase/lib. My connection string is authenticating as Authentication=ActiveDirectoryManagedIdentity.

```auto
Starting Liquibase at 11:41:01 using Java 17.0.12 (version 4.29.1 #3316 built at 2024-07-30 20:15+0000)

Liquibase Version: 4.29.1

Liquibase Open Source 4.29.1 by Liquibase

[main] WARN reactor.core.Exceptions - throwIfFatal detected a jvm fatal exception, which is thrown and logged below:

java.lang.NoSuchMethodError: 'com.microsoft.aad.msal4j.AbstractApplicationBase$Builder com.microsoft.aad.msal4j.ConfidentialClientApplication$Builder.logPii(boolean)'

```

---

<div class="post-metadata">

**Author:** ![aaronx](https://avatars.discourse-cdn.com/v4/letter/a/7bcc69/32.png) [@aaronx](https://forum.liquibase.org/u/aaronx)\
**Post date:** [August 30, 2024, 6:25pm UTC](https://forum.liquibase.org/t/unable-to-connect-to-azure-sql-server/9639/2 "2024-08-30T18:25:11Z")

</div>

I was able to connect using a service principal, `Authentication=ActiveDirectoryServicePrincipal`
