top of page

Server and Database Roles in Azure SQL Database

  • Writer: Jha Chandan
    Jha Chandan
  • May 28, 2022
  • 1 min read

Hey folks! in the previous blog post we've learned about Azure SQL Server & Active Directory Admin. In this blog we will see an learn about server and database roles in Azure SQL Database.

ree

See the below snip and it will appear once we are connected to the Azure SQL Database using the admin account (here my admin account is 'imjhachandan').

ree

Here above we have the option of creating User Logins but we can see there isn’t anything option like Server Roles.

Whenever we create any new User Login, it is created inside the master db. If we need to provide administrative privileges, not similar to Server and AD admin, but the ones which can create logins and databases then we need to create a user in master db and add that to dbmanager or loginmanager role.


In below snip, we can see Master DB have all the database role options but User DBs have all the Database roles except dbmanager and loginmanager.

ree

dbmanager

  • This role provides the authority to create and delete databases.

  • By default being a member of this role doesn’t provides access to any database, but if you create a user for the Login having this permission they will be able to delete that database too.

  • This login when creates a new database will also be the owner of that database.

loginmanager

  • This role can create and delete logins in the virtual master database.

That's all in this post. If you liked this blog and interested in knowing more about Azure, Please Like, Follow, Share & Subscribeto www.ImJhaChandan.com.

Comments


jc_logo.png

Hi, thanks for stopping by!

Welcome to my “Muse & Learn” blog!
Muse a little, learn a lot.✌️

 

Here you’ll find practical SQL queries, troubleshooting tips with fixes, and step-by-step guidance for common database activities. And of course, don’t forget to pause and muse with us along the way. 🙂
 

I share insights on:​​

  • Db2

  • MySQL

  • SQL Server

  • Linux/UNIX/AIX

  • HTML …and more to come!
     

Whether you’re just starting out or looking to sharpen your DBA skills, there’s something here for you.

Let the posts
come to you.

Thanks for submitting!

  • Instagram
  • Facebook
  • X
2020-2025 © TechWithJC

Subscribe to Our Newsletter

Thanks for submitting!

  • Facebook
  • Instagram
  • X

2020-2025 © TechWithJC

bottom of page