Lokasi ngalangkungan proxy:   [ UP ]  
[Ngawartoskeun bug]   [Panyetelan cookie]                
Skip to content

Commit ea0cdb9

Browse files
committed
Clarify sysadmin fixed server role requirement
1 parent c7f096d commit ea0cdb9

2 files changed

Lines changed: 22 additions & 1 deletion

File tree

docs/sql-server/azure-arc/configure-least-privilege.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,25 @@ The configuration with least privilege is not currently supported on Linux.
5050

5151
Other requirements, as listed in [Prerequisites - SQL Server enabled by Azure Arc](prerequisites.md) still apply.
5252

53+
#### SQL Server service account
54+
55+
By default, the SQL Server service account is a member of the `sysadmin` fixed server role.
56+
57+
As listed in prerequisites, the SQL Server service account must be a member of the `sysadmin` fixed server role on each SQL Server instance. The Azure extension for SQL Server has a process called `Deployer.exe` that temporarily runs as `NT AUTHORITY\SYSTEM` when:
58+
59+
- Features are enabled or disabled
60+
- SQL Server instances are added or removed
61+
62+
`Deployer.exe` impersonates the SQL Server service account to connect to SQL Server and add or remove permissions in server and database roles depending on which features are enabled or disabled to ensure that the Azure extension for SQL Server uses the least privileges required. To modify these permissions, the SQL Server service account be a member of the `sysadmin` server role.
63+
64+
If you want to manage this process with more control, such that the SQL Server service account is not a member of the sysadmin server role all the time, follow these steps:
65+
66+
1. Temporarily add the SQL Server service account to the sysadmin server role.
67+
1. Allow `Deployer.exe` to run at least once so that the permissions are set.
68+
1. Remove the SQL Server service account from the sysadmin role.
69+
70+
Repeat this procedure any time features are enabled or disabled or SQL Server instances are added to allow `Deployer.exe` to grant the least privileges required.
71+
5372
### Tools
5473

5574
To complete the steps in this article, you need the following tools:

docs/sql-server/azure-arc/prerequisites.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,9 @@ Run that query on any instance that you enable.
9191

9292
### Service account permissions
9393

94-
The SQL Server service account must be a member of the sysadmin fixed server role on each SQL Server instance.
94+
The SQL Server service account must be a member of the `sysadmin` fixed server role on each SQL Server instance. By default, the SQL Server service account is a member of the `sysadmin` fixed server role.
95+
96+
For more information about this requirement, review [SQL Server service account](configure-least-privilege.md#sql-server-service-account).
9597

9698
### Set proxy exclusions
9799

0 commit comments

Comments
 (0)