An Azure relational database service.
For the scenario :
- contributors can access databases with the Entra-ID login. Database level roles / permissions include read/write/execute (procedures)
Create a DL and add all those users within that DL. Create a user for that DL via the below command
CREATE USER [DLName] FROM EXTERNAL PROVIDER;
And grant the below access to the DL :
EXEC sp_addrolemember 'db_datareader', 'DLName';
EXEC sp_addrolemember 'db_datawriter', 'DLName';
for SP, you can use Grant Execute
All the operations can be done within the database and no need of any aspect at Azure RBAC level.
- Dedicated users have database admin level role, enabling tasks required in deployment. This will also work with Entra-ID login, but activated only through PIM.
As long as the dedicated users have database admin role, there is no need of PIM . They can login directly to database via SSMS and do all aspects. So no need of PIM.
Hope this helps!!