Azure AD authentication support for Azure SQL on VM

Chad Bentz 26 Reputation points Microsoft Employee
2021-09-10T22:31:31.1+00:00

Is there any support for Azure AD - Service Principals / Users / Groups to authenticate to "Azure SQL on VM" hosted database? Currently looking to port from Azure SQL Managed Instance and are hoping we can re-use our application identity authentication library for JWT based db authentication (Service Principals with Certificate Authentication to AAD) and not need to fall back to AD domain accounts.

SQL Server on Azure Virtual Machines
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
19,769 questions
0 comments No comments
{count} votes

Accepted answer
  1. Jordan Hays 85 Reputation points Microsoft Employee
    2023-10-12T15:16:37.5+00:00

    Hey folks! Great news. SQL Server 2022 and SQL Server 2022 on Azure VMs both now support authentication with Microsoft Entra ID (formerly Azure Active Directory). More details can be found in the following articles:

    @Chad Bentz The Azure Ideas forum is where UserVoice has been migrated to, you can request features and report issues there. The ideas are monitored and reviewed regularly by SQL PMs! https://feedback.azure.com/d365community/forum/04fe6ee0-3b25-ec11-b6e6-000d3a4f0da0

    1 person found this answer helpful.
    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. KalyanChanumolu-MSFT 8,316 Reputation points
    2021-09-11T06:01:29.48+00:00

    @Chad-4001 Thank you for reaching out.

    Unfortunately, your existing service principals will not work with SQL Server installed on a VM.

    Connecting to SQL Server running on an Azure VM is not supported using an Azure Active Directory account. You will need to use an Active Directory domain account instead.

    ----------

    If an answer is helpful, please click on 130616-image.png or upvote 130671-image.png which might help other community members reading this thread.