Azure SQL Database

Fernando Gutierrez 240 Reputation points
2024-09-18T18:06:43.83+00:00

Hello

I have a question about something that is happening to me regarding access to SQL Databases

When I give a group or a user, after creating the Login in the SQL Server, access to the databases that it contains within that same SQL Server, if I give them the Reader ROLE, once that or those users log into the database, it forces them to have to punctually place each one of the databases that the SQL Server contains.

This is very tedious since they have to place each one of those databases that the server contains.

On the other hand, when I assign them the Writer ROLE or Contributor ROLE, once they log into a SQL Server, it brings them all the databases it contains.

How can I solve this point, so that users with the Reader ROLE get all the databases on the Server.

Thanks!

Azure SQL Database
SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
13,999 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Olaf Helper 45,106 Reputation points
    2024-09-18T18:14:34.78+00:00

    place each one of the databases that the SQL Server contains. with the Reader ROLE get all the databases on the Server.

    Seems you haven't understand in any way how "Azure SQL Database" works.

    You don't get a server, you get one database.

    Every database is a separate unit with separate user and separat permissions, if you have many "Azure SQL Database" then the is no relation between, beside your subscription.

    No way to get what you are looking for.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.