Failover of the availability group '%1!s!' to the local replica failed because the availability group resource did not come ...

Failover of the availability group '%1!s!' to the local replica failed because the availability group resource did not come online due to a previous error. To identify that error, check the SQL Server error log and the Windows Server Failover Cluster logs and system event logs. For information about how to view events and logs for a Windows Server Failover Clustering (WSFC) cluster, see Windows Server documentation.