Domain Migration Administrator 7.x
Error: 'S32022: Failed to change domain affiliation, hr=80072558 DNS name contains an invalid character.'
An invalid character in the DNS name is preventing to change the domain affiliation.
This error should be taken at face value. Verify that the DNS name doesn't have a special character that is not supported in the network. You may have to contact Microsoft to troubleshoot the network issue any further.