Home > Software design >  Why I am I getting only azure active direcoty authintication is enabled when trying to connect azure
Why I am I getting only azure active direcoty authintication is enabled when trying to connect azure

Time:11-17

I have created azure sql server machine in azure portal.

While creating the machine I for got to add sql server authintication.

So Now When I try to login,Only azure active direcoty authintication is enabled.

How Can I fix that ?

CodePudding user response:

I have reproduced in my environment and Got expected results as below:

  • Firstly, I have created a SQL server with Ad authentication.
  • Then Opened SQL Server in Portal
  • Then click on settings Section
  • Then click on Azure Active directory and then unselect Azure active directory authentication only and then save it as below:

enter image description here

Then Click on Overview of SQL Server and Click on Reset password as below:

enter image description here

Now set a password as below:

enter image description here

Now tested in Sql database as below and it worked :

enter image description here

Try to follow above process to change the authentication mode as mine got changed.

CodePudding user response:

Sloved it by az sql server ad-only-auth disable --resource-group mygroup --name myServer

  • Related