Microsoft Entra authentication for SQL Server on Azure VMs
Good morning,
I have a SQL server on Azure virtual machine.
SQL version: SQL Server 2022
Virtual machine OS: Windows (Windows Server 2022 Datacenter)
I have the VM linked to my azure domain, and have user accounts that can login to the VM with their Microsoft Entra ID credentials. I now want to be able to use the same Microsoft Entra ID account to login to the SQL instance when connecting via SQL management studio.
I follow through all the steps in the documentation https://learn.microsoft.com/en-us/azure/azure-sql/virtual-machines/windows/configure-azure-ad-authentication-for-sql-vm?view=azuresql&tabs=azure-portal, however I still can't connect to the SQL instance.
Whenever I try to connect using 'Azure Active Directory - Universal with MFA' i get the attached error.
The VM is not opened to public access, could this be what's causing the issue?
Thanks,
Cris