Skip to content

Commit 450fb83

Browse files
authored
MASTER -> master
There is no "MASTER" DB on a CS/AS server, really. The correct name of the DB is "master" (all lowercase).
1 parent 7338a2b commit 450fb83

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

docs/relational-databases/replication/configure-replication-with-azure-ad-authentication.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,15 +50,15 @@ When configuring replication with Azure AD authentication, you first need to [cr
5050
To create the SQL login from Azure AD, and give it sysadmin permissions, use the following Transact-SQL (T-SQL) command:
5151

5252
```sql
53-
USE MASTER
53+
USE master
5454
CREATE LOGIN [login_name] FROM EXTERNAL PROVIDER
5555
EXEC sp_addsrvrolemember @loginame='login_name', @rolename='sysadmin'
5656
```
5757

5858
For example, to add the login name for `newuser@tenant.com`, use this command:
5959

6060
```sql
61-
USE MASTER
61+
USE master
6262
CREATE LOGIN [newuser@tenant.com] FROM EXTERNAL PROVIDER
6363
EXEC sp_addsrvrolemember @loginame='newuser@tenant.com', @rolename='sysadmin'
6464
```

0 commit comments

Comments
 (0)