Create an new administrator level login in Azure SQL?

后端 未结 3 2204
一个人的身影
一个人的身影 2021-02-07 12:58

I need to replace my old admin login/user with a new one. I tried the following:

CREATE LOGIN newDbAdmin WITH password=\'123isTheBestPasswordEver\'
CREATE USER n         


        
3条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2021-02-07 13:50

    You can use Azure AD to manage the server. Create a DBA group - assign all DBAs to that group. Then assign the group as the AD Manager for the server - that allows you to have multiple DBAs

    Anyone in that group will have full DBA permission over the server.

    https://docs.microsoft.com/en-gb/azure/sql-database/sql-database-aad-authentication

    Ideally, I think they expect you to use DB level contained users granted by a DBA. For us, we needed multiple admins as we have a lot of databases.

提交回复
热议问题