The operation failed. It may be due to the fact that no DatabaseAvailabilityGroupIpAddresses are configured for the Dag and ...

The operation failed. It may be due to the fact that no DatabaseAvailabilityGroupIpAddresses are configured for the Dag and that the Dag member being added does not have a version of Windows which is Windows 2012 R2 or greater. Try to configure the Dag with the IP Address 0.0.0.0 to assign addresses with DHCP.