SQL Server Error Msg 10786 – The ALTER AVAILABILITY GROUP command failed because it contained multiple MODIFY REPLICA options: %ls.  Enter a separate ALTER AVAILABILITY GROUP … MODIFY REPLICA command for each replica option that you want to modify.

In this blog post, let’s learn about the error message “10786 – The ALTER AVAILABILITY GROUP command failed because it contained multiple MODIFY REPLICA options: %ls.  Enter a separate ALTER AVAILABILITY GROUP … MODIFY REPLICA command for each replica option that you want to modify.” in Microsoft SQL Server, the reason why it appears and the solution to fix it.

SQL Server Error Message

10786 – The ALTER AVAILABILITY GROUP command failed because it contained multiple MODIFY REPLICA options: %ls.  Enter a separate ALTER AVAILABILITY GROUP … MODIFY REPLICA command for each replica option that you want to modify.

Reason for the Error

To be update soon…

Solution

To be update soon…