Symptoms
You run the sys.dm_hadr_availability_group_states dynamic management view (DMV) against a secondary replica of a Microsoft SQL Server Always On availability group. In this scenario, the DMV always displays "NOT_HEALTHY" in the synchronization_health_desc column even when the replica is healthy.
Resolution
This issue is fixed in the following cumulative updates for SQL Server:
Cumulative Update 6 for SQL Server 2016 RTM
Cumulative Update 3 for SQL Server 2016 SP1
Cumulative Update 5 for SQL Server 2014 SP2
Each new cumulative update for SQL Server contains all the hotfixes and security fixes that were included in the previous cumulative update. Check out the latest cumulative updates for SQL Server:
Latest cumulative update for SQL Server 2016
Status
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.
References
Learn about the terminology that Microsoft uses to describe software updates.