GRANT Availability Group Permissions
GRANT permissions on availability group
What changes
- Input
- principal and securable names
- Output or change
- permission metadata
Syntax at a glance
GRANT permission [ ,...n ] ON AVAILABILITY GROUP :: availability_group_name TO < server_principal > [ ,...n ] [ WITH GRANT OPTION ] [ AS SQL_Server_login ]
Work example
An operations login needs one permission on a named availability group.
Check the duty, server role membership, and replica tasks that require the permission.
Check your work The login can perform its assigned group task without gaining unrelated server control.
Open Microsoft Learn for full syntax, permissions, and details for your version.