An Azure relational database service.
Hi @Jeanne Howard ,
Thank you for reaching out to the Microsoft Q&A forum.
If you do not want to use Microsoft Entra ID, you can create contained database users directly in Azure SQL Database and authenticate them using a username and password specific to that database.
Since you have owner/admin access, the quickest option is to use the Query Editor in the Azure Portal (if enabled) or connect with tools such as Azure Data Studio, sqlcmd, or SQL Server Management Studio (SSMS).
You can create a user and assign the required permissions using T-SQL:
CREATE USER [username] WITH PASSWORD = 'StrongPassword!';
ALTER ROLE db_datareader ADD MEMBER [username];
ALTER ROLE db_datawriter ADD MEMBER [username];
ALTER ROLE db_ddladmin ADD MEMBER [username];
Role descriptions:
- db_datareader: Read data from tables and views.
- db_datawriter: Insert, update, and delete data.
- db_ddladmin: Create and modify database objects such as tables, views, stored procedures, and functions.
- db_owner: Full control of the database (use only when absolutely necessary).
For users who need to edit data and participate in database development for web applications, the combination of db_datareader, db_datawriter, and db_ddladmin is typically sufficient and follows the principle of least privilege.
Regarding SSMS, it is a separate client tool and is not automatically available through the Azure Portal. You can download and install the latest version of SSMS locally if you prefer a graphical management experience.
If you encounter any errors while creating the user or assigning roles, please share the exact error message and we can help troubleshoot further.