SQL Server Error Code – 41140 availability group ‘%.*ls’ cannot proces

In this blog post, you’ll learn more about the SQL Server Error Code 41140 and the error message description that is shown

SQL Server Error Code

41140

SQL Server Error Description for the Code :41140

Availability group ‘%.*ls’ cannot process the ALTER AVAILABILITY GROUP command, because the local availability replica is not the primary replica.  Connect to the server instance that is currently hosting the primary replica of this availability group, and rerun the command.

Leave Your Comment