FIX: Can't grant permissions to another user to log in to an availability group after the owner is removed in SQL Server 2012 or 2014

Applies to: SQL Server 2014 DeveloperSQL Server 2014 DeveloperSQL Server 2014 Enterprise More

Symptoms


Assume that you use Microsoft SQL Server 2014 or Microsoft SQL Server 2012 Always On Availability Groups and have the permissions to grant permissions to other users on an availability group. After the owner of an availability group is removed, you can't grant permissions to another user to log in to that availability group. For example, when you try to grant permissions to a user by executing the GRANT VIEW DEFINITION ON AVAILABILITY GROUP statement, the execution fails, and a dump file is generated.

Resolution


The fix for this issue is included in the following cumulative updates for SQL Server:
 

    Cumulative Update 16 for SQL Server 2012 Service Pack 2 (SP2)

Note After you install this update, you can't remove an owner of an availability group. Therefore, you can still grant permissions to other users of the availability group. 

Status


Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

References


Learn about the terminology Microsoft uses to describe software updates.