I am trying to connect to MS SQL database via a Spring boot microservice (data source). I have enables MSI on the App service and have tried to follow https://dzone.com/articles/migrating-java-applications-to-azure-app-service-p
This article speaks about simple connection, but we are using spring boot data (JPA) and hence I am unable to configure the correct configuration. I get errors
Failed to obtain JDBC Connection; nested exception is com.microsoft.sqlserver.jdbc.SQLServerException: Login failed for user 'NT AUTHORITY\ANONYMOUS LOGON'.
If it is MSI enabled, it should not need username/password of database to login.
Has anyone implemented a Spring boot JPA application connecting to MS SQL via MSI.