An Azure relational database service.
Hi Xamide,
If you are still having confusion you can go these steps and do let us know for any clarification.
- Determine Access Type: First, decide how you want to authenticate the user. You can use either SQL Authentication (username and password) or Microsoft Entra authentication.
- Adding a User:
- If you're using SQL Authentication, connect to your database using SQL Server Management Studio (SSMS) and execute the following commands:
If you're using Microsoft Entra Authentication, use this command to add the user:CREATE USER [NewUser] WITH PASSWORD = 'YourStrongPassword1'; ALTER ROLE db_datareader ADD MEMBER [NewUser]; ALTER ROLE db_datawriter ADD MEMBER [NewUser];CREATE USER [<Azure_AD_principal_name>] FROM EXTERNAL PROVIDER; ALTER ROLE db_datareader ADD MEMBER [<Azure_AD_principal_name>]; ALTER ROLE db_datawriter ADD MEMBER [<Azure_AD_principal_name>]; ```Reference Document:
- If you're using SQL Authentication, connect to your database using SQL Server Management Studio (SSMS) and execute the following commands:
https://learn.microsoft.com/en-us/azure/postgresql/flexible-server/security-manage-database-users
Kindly consider Upvoting and accept the answer if the provided information helpful, please let us know if you have further queries on this.
Thanks!