The parameter password cannot be provided for users that cannot authenticate in a database.

I got this error while running the script to manage users.

Solution

My mistake was I had not created the user properly in my Azure SQL database server.

To fix this error, you must ensure that you have done it properly while creating a user in the Azure SQL database server.

It would be best if you will use the below query to create the user

CREATE LOGIN xyz 
WITH PASSWORD = 'Abc@1234' 

After executing the above query, the user will be created successfully. Check out the screenshot below.

The parameter password cannot be provided for users that cannot authenticate in a database

If you don’t properly create the user, then there is a chance that you will get this error.

Azure Virtual Machine

DOWNLOAD FREE AZURE VIRTUAL MACHINE PDF

Download our free 25+ page Azure Virtual Machine guide and master cloud deployment today!