SSMS connection to AzureSQL database - ADAL error

grajee 371 Reputation points
2021-10-29T17:18:04.44+00:00

All,

I'm getting a ADAL error while connecting to AzureSQL via SSMS. The error is "adal received an empty response from the server during a WIA flow and could not continue".

I'm aware that ADAL is the Azure AD authentication library but I'm unable locate more details about this error. The connection goes through if SQL authentication is used which indicates there is no networking issue.

Can someone point me in the right direction?

Thanks,
grajee

145092-ssms-version.png

Azure SQL Database
{count} votes

1 answer

Sort by: Most helpful
  1. Oury Ba-MSFT 20,911 Reputation points Microsoft Employee Moderator
    2021-11-03T23:49:24.54+00:00

    Hi @grajee

    After investigation. Please check the below points

    • Try installing the latest ODBC driver
    • run these commands in powershell to check the if the machine can connect to the AAD endpoints.
      tnc login.windows.net -port 443
      tnc login.microsoftonline.net -port 443
    • Check if you have some conditional access enable for devices and if this device is not added. You must enroll your device

    Please let me know the result

    Regard


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.