Current User is me in master, but dbo everywhere else

Jim Graff 40 Reputation points
2025-07-27T20:06:22.7933333+00:00

When I connect and run SELECT CURRENT_USER inthe master database, it yields '******@mycompany.com'. When I switch to another database, SELECT CURRENT_USER yields 'dbo'. What do I need to do to be the 'right' user in the other databases. Some things that may be important.

  • I am using the Microsoft Entra MFA authentication method
  • I am an admin on our virtual server
  • I have created a user for myself in the 'other' database
Azure SQL Database
{count} votes

Accepted answer
  1. Erland Sommarskog 123.5K Reputation points MVP Volunteer Moderator
    2025-07-27T21:18:26.9766667+00:00

    Because you are admin, you map to dbo in all databases. It is as simple as that.


0 additional answers

Sort by: Most helpful

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.