Scenarios where the failover not happening in Always on.
1. Port number is not allowed 1433,5022 in firewall settings.
2. Event viewer no erros found.
3. Cluadmin- Check preffered nodes in node properties.
4. check if connect permission is not enabled for service account.
5. check alteravailability group and serverstate permission for NTAuthority/system account on both the nodes. (why Ntauthority/system- coz healthcheck is authorised to this account)
Failover disconnected .
1. Check Endpoint algorithm on both the nodes which must be compatible i.e AES from 2016 version or rc4 from 2014 version.
2. Check nodes are up in cluadmin.