Score:1

How to create a new user with sysadmin privilege in Azure SQL Server?

tr flag

I need to create a new user with sysadmin privilege.

I went to the Azure portal > Query Editor. Then I run this commands.

Unfortunately I got this error:

enter image description here

Any help is welcome.

Score:0
in flag

Query editor doesn't support connecting to the master database. In order to create new users, you have to use sql server management studio and connect to cloud sql server then create login.

Azure sql documentation

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.