Skip to content

Commit a9849e7

Browse files
authored
Update tutorial-windows-vm-access-sql.md
Error handling
1 parent 11efd12 commit a9849e7

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

articles/active-directory/managed-identities-azure-resources/tutorial-windows-vm-access-sql.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,9 @@ SQL DB requires unique Azure AD display names. With this, the Azure AD accounts
9191
> [!NOTE]
9292
> `VMName` in the following command is the name of the VM that you enabled system assigned identity on in the prerequisites section.
9393
94+
> [!NOTE]
95+
> If you encounter the following error "Principal `VMName` has a duplicate display name", append the CREATE USER statement with WITH OBJECT_ID='xxx'.
96+
9497
```sql
9598
ALTER ROLE db_datareader ADD MEMBER [VMName]
9699
```

0 commit comments

Comments
 (0)