https://wordsontech.com/always-on-group-failover-not-happening-in-sql-server-2017/
Always ON Group Failover not happening in SQL Server 2017