Skip to content

Commit 0784a5f

Browse files
Update README.md
1 parent 99cd783 commit 0784a5f

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

  • samples/features/security/azure-active-directory-auth/integrated
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
## Run this sample
2-
Note: Run this project on a machine joined to a domain that is federated with Azure Active Directory. A contained database user representing your Azure AD principal, or one of the groups, you belong to, must exist in the database and must have the CONNECT permission.
2+
Note: Run this project on a machine joined to a domain that is federated with Microsoft Entra. A contained database user representing your Microsoft Entra ID principal, or one of the groups, you belong to, must exist in the database and must have the CONNECT permission.
33

44
1. Before building and running the Integrated project:
55

66
+ In Program.cs, locate the following lines of code and replace the server/database name with your server/database name.
77
```
8-
builder["Data Source"] = "aad-managed-demo.database.windows.net "; // replace 'aad-managed-demo' with your server name
8+
builder["Data Source"] = "<server name>.database.windows.net "; // replace '<server name>' with your server name
99
builder["Initial Catalog"] = "demo"; // replace with your database name
1010
```
1111

12-
2. The builder["Authentication"] method must be set to SqlAuthenticationMethod.ActiveDirectoryIntegrated;
12+
2. The `builder["Authentication"]` method must be set to `SqlAuthenticationMethod.ActiveDirectoryIntegrated`;
1313

1414
![screenshot of visual studio showing builder fields to change](../img/vs-authentication-method-integrated.png)
1515

16-
3. Running this project on a machine joined to a domain that is federated with Azure Active Directory will automatically use your Windows credentials and no password is required. The execution window will indicate a successful connection to the database followed by “Please press any key to stop”:
16+
3. Running this project on a machine joined to a domain that is federated with Microsoft Entra will automatically use your Windows credentials and no password is required. The execution window will indicate a successful connection to the database followed by “Please press any key to stop”:
1717
![screenshot of application after successful authentication- "press any key to stop"](../img/integrated-press-any-key-to-stop.png)

0 commit comments

Comments
 (0)