Please follow the below blog : https://michalmolka.medium.com/azure-sql-database-add-azure-active-directory-users-5c08f0249dfa which provides step by step details
how to give entra Id access to azure sql database
Ray, David
0
Reputation points
give Entra Id access to azure sql database to another user
Azure SQL Database
Azure SQL Database
An Azure relational database service.
6,326 questions
2 answers
Sort by: Most helpful
-
Nandan Hegde 36,146 Reputation points MVP Volunteer Moderator
2024-02-08T03:44:22.64+00:00 -
Oury Ba-MSFT 20,911 Reputation points Microsoft Employee Moderator
2024-02-08T04:03:50.3433333+00:00 @Ray, David
Thank you for reaching out. My understanding is that you are trying to give another user access to an Azure SQL Database using Microsoft Entra ID. Connect to the SQL database as the Microsoft Entra admin, or a Microsoft Entra user with sufficient SQL permissions to create users. Run the below command.CREATE USER [<guest_user>] FROM EXTERNAL PROVIDER;
You can assign role to the user.
ALTER ROLE [dbmanager] ADD MEMBER [AzureAD_object];
Tutorial: Create and utilize Microsoft Entra server logins If you encounter any issues, comment below so we can further assist. Regards, Oury