Error: There was an error communicating with the server. Please check your URL and your credentials and try again
Attempting to federate ArcGIS for Server with Portal for ArcGIS results in the following error:
"There was an error communicating with the server. Please check your URL and your credentials and try again."
This is a known issue when Portal for ArcGIS is accessed via a Domain Naming System (DNS) alias. A mismatch in the Service URL and Administration URL in the certification causes the federation to fail.
Solution or Workaround
Note: This issue can be resolved by re-registering the Portal Web Adaptor with the DNS alias. If registering the Web Adaptor with the DNS alias fails to resolve the problem, proceed with the steps listed below.
Connect to the Internet Information Services (IIS) Web Server.