Skip to content

Commit 7e661ae

Browse files
Merge pull request #191063 from heniot/patch-4
Update register-scan-on-premises-sql-server.md
2 parents ac03db0 + c4d1489 commit 7e661ae

File tree

2 files changed

+9
-12
lines changed

2 files changed

+9
-12
lines changed

articles/purview/register-scan-on-premises-sql-server.md

Lines changed: 9 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -40,33 +40,30 @@ This section describes how to register an on-premises SQL server instance in Azu
4040

4141
### Authentication for registration
4242

43-
There are two ways to set up authentication for SQL server on-premises:
43+
There is only one way to set up authentication for SQL server on-premises:
4444

4545
- SQL Authentication
46-
- Windows Authentication
4746

48-
#### Set up SQL server authentication
47+
#### SQL Authentication to register
4948

50-
If SQL Authentication is applied, ensure the SQL Server deployment is configured to allow SQL Server and Windows Authentication.
49+
Ensure the SQL Server deployment is configured to allow SQL Server and Windows Authentication.
5150

5251
To enable this, within SQL Server Management Studio (SSMS), navigate to "Server Properties" and change from "Windows Authentication Mode" to "SQL Server and Windows Authentication mode".
5352

5453
:::image type="content" source="media/register-scan-on-premises-sql-server/enable-sql-server-authentication.png" alt-text="The Server Properties window is open with the security page selected. Under Server authentication, S Q L Server and Windows Authentication mode is selected.":::
5554

56-
If Windows Authentication is applied, configure the SQL Server deployment to use Windows Authentication mode.
57-
5855
A change to the Server Authentication will require a restart of the SQL Server Instance and SQL Server Agent, this can be triggered within SSMS by navigating to the SQL Server instance and selecting "Restart" within the right-click options pane.
5956

6057
##### Creating a new login and user
6158

6259
If you would like to create a new login and user to be able to scan your SQL server, follow the steps below:
6360

64-
The account must have access to the **master** database. This is because the `sys.databases` is in the master database. The Azure Purview scanner needs to enumerate `sys.databases` in order to find all the SQL databases on the server.
61+
The SQL account must have access to the **master** database. This is because the `sys.databases` is in the master database. The Azure Purview scanner needs to enumerate `sys.databases` in order to find all the SQL databases on the server.
6562

6663
> [!Note]
6764
> All the steps below can be executed using the code provided [here](https://github.com/Azure/Purview-Samples/blob/master/TSQL-Code-Permissions/grant-access-to-on-prem-sql-databases.sql)
6865
69-
1. Navigate to SQL Server Management Studio (SSMS), connect to the server, navigate to security, select and hold (or right-click) on login and create New login. If Windows Authentication is applied, select "Windows authentication". If SQL Authentication is applied, make sure to select "SQL authentication".
66+
1. Navigate to SQL Server Management Studio (SSMS), connect to the server, navigate to security, select and hold (or right-click) on login and create New login. Make sure to select "SQL authentication".
7067

7168
:::image type="content" source="media/register-scan-on-premises-sql-server/create-new-login-user.png" alt-text="Create new login and user.":::
7269

@@ -78,7 +75,7 @@ The account must have access to the **master** database. This is because the `sy
7875

7976
1. Select OK to save.
8077

81-
1. If SQL Authentication is applied, navigate again to the user you created, by selecting and holding (or right-clicking) and selecting **Properties**. Enter a new password and confirm it. Select the 'Specify old password' and enter the old password. **It is required to change your password as soon as you create a new login.**
78+
1. Navigate again to the user you created, by selecting and holding (or right-clicking) and selecting **Properties**. Enter a new password and confirm it. Select the 'Specify old password' and enter the old password. **It is required to change your password as soon as you create a new login.**
8279

8380
:::image type="content" source="media/register-scan-on-premises-sql-server/change-password.png" alt-text="change password.":::
8481

@@ -88,7 +85,7 @@ The account must have access to the **master** database. This is because the `sy
8885
1. Select **+ Generate/Import** and enter the **Name** and **Value** as the *password* from your SQL server login
8986
1. Select **Create** to complete
9087
1. If your key vault is not connected to Azure Purview yet, you will need to [create a new key vault connection](manage-credentials.md#create-azure-key-vaults-connections-in-your-azure-purview-account)
91-
1. Finally, [create a new credential](manage-credentials.md#create-a-new-credential) using the **username** and **password** to set up your scan. Make sure the right authentication method is selected when creating a new credential. If SQL Authentication is applied, select "SQL authentication" as the authentication method. If Windows Authentication is applied, then select "Windows authentication".
88+
1. Finally, [create a new credential](manage-credentials.md#create-a-new-credential) using the **username** and **password** to set up your scan.
9289

9390
### Steps to register
9491

@@ -122,9 +119,9 @@ To create and run a new scan, do the following:
122119

123120
1. Select **New scan**
124121

125-
1. Select the credential to connect to your data source. The credentials are grouped and listed under different authentication methods.
122+
1. Select the credential to connect to your data source.
126123

127-
:::image type="content" source="media/register-scan-on-premises-sql-server/on-premises-sql-set-up-scan-win-auth.png" alt-text="Set up scan":::
124+
:::image type="content" source="media/register-scan-on-premises-sql-server/on-premises-sql-set-up-scan.png" alt-text="Set up scan":::
128125

129126
1. You can scope your scan to specific tables by choosing the appropriate items in the list.
130127

0 commit comments

Comments
 (0)