While creating DAG, we creates a Cluster Name Object (CNO) in active directory. Check, if the CNO object is disabled and correct permissions are added to the object. Refresh the DAG, using the following cmdlet (do a refresh using without any parameters). And try adding again.
Set-databaseavailabilitygroup
Note: I assume that, you are using same OS version, type etc. in two servers