REVOKE Availability Group Permissions
REVOKE permissions on availability group
What changes
- Input
- principal and securable names
- Output or change
- permission metadata
Syntax at a glance
REVOKE [ GRANT OPTION FOR ] permission [ ,...n ] ON AVAILABILITY GROUP :: availability_group_name { FROM | TO } < server_principal > [ ,...n ] [ CASCADE ] [ AS SQL_Server_login ]
Work example
An operations login no longer needs a direct availability group permission.
Check current failover duties and role-based access before removing the grant.
Check your work The login loses only the direct group permission and required operators retain access.
Open Microsoft Learn for full syntax, permissions, and details for your version.