The local availability replica of availability group '%1!s!' did not become primary. A concurrent operation may have changed ...

The local availability replica of availability group '%1!s!' did not become primary.  A concurrent operation may have changed the state of the availability group in Windows Server Failover Cluster.  Verify that the availability group state in Windows Server Failover Cluster is correct, then retry the operation.