You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/sql-server/azure-arc/configure-windows-accounts-agent.md
+97-53Lines changed: 97 additions & 53 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -61,7 +61,7 @@ Base key: `HKEY_LOCAL_MACHINE`
61
61
62
62
## Group permissions
63
63
64
-
`NT Service\SQLServerExtension` is added to Hybrid agent extension applications. Supports Azure Instance Metadata Service (IMDS) Handshake.
64
+
`NT Service\SQLServerExtension` is added to Hybrid agent extension applications. This enables the Azure Instance Metadata Service (IMDS) handshake to retrieve the Machine resource managed identity token required to communicate to Azure data plane services such as the Data Processing Service (DPS) and the telemetry endpoint for billing usage, extension logs, and monitoring dashboard data collection.
65
65
66
66
## SQL permissions
67
67
@@ -72,61 +72,105 @@ Base key: `HKEY_LOCAL_MACHINE`
72
72
73
73
The extension also grants permissions to instance and database objects as features are enabled. The table below provides details.
74
74
75
-
| Feature | Permission | Level | Requirement |
76
-
| --- | --- | --- | --- |
77
-
|**Default**|`VIEW DATABASE STATE`| Server level | Essential |
78
-
||`VIEW SERVER STATE`| Server level | Essential |
79
-
||`CONNECT SQL`| Server level | Essential |
80
-
|**Database as a resource**| Default public role | Server level (This is granted by default to newly added logins) | Essential |
81
-
|**Best practices assessment**|`VIEW ANY DEFINITION`| Server level | Feature dependent |
82
-
||`VIEW ANY DATABASE`| Server level | Feature dependent |
83
-
||`SELECT`|`master`| Feature dependent |
84
-
||`SELECT`|`msdb`| Feature dependent |
85
-
||`EXECUTE ON sys.xp_enumerrorlogs`|`master`| Feature dependent |
86
-
||`EXECUTE ON sys.xp_readerrorlog`|`master`| Feature dependent |
87
-
|**Backup**|`CREATE ANY DATABASE`| Server level | Feature dependent |
88
-
||**db_backupoperator** role | All databases | Feature dependent |
89
-
||**dbcreator**| Server role | Feature dependent |
90
-
|**Azure Control Plane**|`CREATE TABLE`|`msdb`| Essential |
91
-
||`ALTER ANY SCHEMA`|`msdb`| Essential |
92
-
||`CREATE TYPE`|`msdb`| Essential |
93
-
||`EXECUTE`|`msdb`| Essential |
94
-
||**db_datawriter** role |`msdb`| Feature dependent |
95
-
||**db_datareader** role |`msdb`| Feature dependent |
96
-
|**Availability group discovery**|`VIEW ANY DEFINITION`| Server level | Essential |
97
-
|**Purview**|`SELECT`| All databases | Feature dependent |
98
-
||`EXECUTE`| All databases | Feature dependent |
99
-
||`CONNECT ANY DATABASE`| Server level | Feature dependent |
100
-
||`VIEW ANY DATABASE`| Server level | Feature dependent |
||`SELECT sys.sql_expression_dependencies`| All databases | Essential |
126
-
127
75
> [!NOTE]
128
76
> Minimum permissions depend on enabled features. Permissions are updated when they are no longer necessary. Necessary permissions are granted when features are enabled.
129
77
78
+
## SQL Privileges by Feature
79
+
80
+
### Minimum System Requirements
81
+
82
+
These permissions are required for the basic level of functionality provided by the Azure Extension for SQL Server and must be applied.
83
+
84
+
| Object Type | Database or Object Name | Privilege |
The best practices assessment is disabled by default. If it is enabled, these permissions will be automatically granted if they are not already granted.
114
+
115
+
| Object Type | Database or Object Name | Privilege |
Automated backups are disabled by default. Backup permissions will be granted to any database that backups are enabled for. Enabling the backup feature also enables the point-in-time restore feature, so the permission to create a database is also granted.
129
+
130
+
| Object Type | Database or Object Name | Privilege |
Availability Group discovery and management features such as failing over are enabled by default, but they can be disabled through the `AvailabilityGroupDiscovery` feature flag.
139
+
140
+
| Object Type | Database or Object Name | Privilege |
Migration Assessments are enabled by default. If the feature is disabled, the permissions below will be removed unless other enabled features require them.
159
+
160
+
| Object Type | Database or Object Name | Privilege |
0 commit comments