I am trying to publish a layer to portal for ArcGIS 10.5 by using ArcGIS pro 2.0.0. portal for ArcGIS 10.5 and ArcGIS server 10.5 are federated, then I found the error (The layer, Layer Name, cannot be added to the map.) Please see the screenshot below.
What might the issue be her?
The same error appears
Try to configure the Web Adaptor again for the ArcGIS Server.