Command 'CREATE LOGIN FROM EXTERNAL PROVIDER' is not supported as Azure Active Directory is not configured for this instance.

Rob Lewis 0 Reputation points
2024-10-16T11:17:39.85+00:00

We have an SQL Server on an Azure VM.

For our main instance, which is our live one, Entra euthentication works without any problem. We can create and login directly using Entra authentication.

We also have another instance of SQL on the same server which we use as our test. When I try create and an entra id login on that, I get this error "Command 'CREATE LOGIN FROM EXTERNAL PROVIDER' is not supported as Azure Active Directory is not configured for this instance." I can't see anything in the azure portal that defines the Entra Id login by instance, only server.

How do I configure our second instance to also use Entra Id login?

Many thanks in advance

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
7,972 questions
SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
13,947 questions
{count} votes

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.