English

Problem: Unable to publish a map document containing map services as a web map to Portal for ArcGIS using the MXD to Web Map tool

Description

In some instances, when attempting to publish an ArcMap document containing map services to Portal for ArcGIS using the MXD to Web map tool, the tool fails to publish it as a web map.

Cause

This is a known limitation. The MXD to Web map tool does not support MXD files containing map services.

Solution or Workaround

To resolve this issue, instead of using the MXD to Web map tool, publish the map service using ArcGIS Pro.

  1. In ArcGIS Pro, sign in to access content from a portal.
  2. In the Insert tab, click the Import Map icon in the Project group to import the map services from the portal.
  3. In the Import dialog box, select the map document, and click OK.
  4. Set the map projection to Web Auxiliary Sphere using the Define Projection tool.
    Note:
    Setting the projection is required for publishing where the map projection must match the basemap projection.
  5. Share the web map to Portal for ArcGIS.

Related Information