Share via

Add an Azure Ad account and delegate administrator privileges to it on the local SQL server

Mountain Pond 1,546 Reputation points
Aug 23, 2023, 7:45 PM

Hi,

I'm migrating a device from on-prem ad to azure ad. The device has a SQL server installed, which was logged in using an on-prem account.

After the migration, we can only use the local administrator account or SA.

The Azure AD account is a local administrator on the device. However, I can't login with error 18456.

vmconnect_PDST9VcubA

Can I somehow add an Azure Ad account and delegate administrator privileges to it on the local SQL server?

Thank you.

Azure SQL Database
SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
14,490 questions
0 comments No comments
{count} votes

Accepted answer
  1. Erland Sommarskog 118.8K Reputation points MVP
    Aug 23, 2023, 9:11 PM

    What version of SQL Server do you have? To log on to SQL Server with AAD, you must be running SQL 2022. It is not supported by older versions. If you have SQL 2022, you need to first enable it for Azure Arc, and then you can activate AAD authentication through the portal.

    See further the Docs article Azure Active Directory authentication for SQL Server.

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful

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.