In an Azure Synapse Scala notebook, connecting to a dedicated SQL pool with a system-assigned managed identity failed. The notebook used mssparkutils.credentials.getConnectionStringOrCreds("samplesqllink") to get an access token and passed it as the accessToken property to spark.read.jdbc. But reading the table threw a com.microsoft.sqlserver.jdbc error and no data came back.