Skip to content

Commit f476cb3

Browse files
authored
Merge pull request #15182 from NikaKinska/patch-1
Added changes to Limitations
2 parents 2412cf5 + 9bad92f commit f476cb3

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

docs/t-sql/statements/create-login-transact-sql.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -473,6 +473,12 @@ After creating a login, the login can connect to a SQL Database managed instance
473473
- EXECUTE AS USER
474474
- EXECUTE AS LOGIN
475475
- External (guest) users imported from another Azure AD directory cannot be directly configured as an Azure AD admin for managed instance. Instead, join external user to an Azure AD security-enabled group and configure the group as the instance administrator.
476+
- Login is not replicated to the secondary instance in a failover group. Login is saved in the master database, which is a system database, and as such, is not geo-replicated. To solve this, the user must create login with the same SID on the secondary instance.
477+
478+
```SQL
479+
-- Sample code to create login on the secondary instance
480+
CREATE LOGIN foo WITH PASSWORD = 'password', SID = 0x12345.
481+
```
476482

477483
## Examples
478484

0 commit comments

Comments
 (0)