You are sharing a map image layer with a dependent feature layer or a scene layer with an associated feature layer that references registered data to ArcGIS Enterprise, but the workspace of your layer is not registered with the federated server.
ArcGIS Pro does not support copying data into a managed database when you share map image layers.
You may encounter this error when you overwrite map image layers with dependent feature layers that were published from ArcMap, where data could be copied into the managed database.
Register the layer's workspace with the federated server.
Hover over the analyzer message. Click the Options button that appears and click Register Data Source With Server. On the Add data store dialog box, complete the required information and click Create. For more information, see Manage registered data stores.
If you do not have the privilege to register data stores in your ArcGIS organization, a message to contact your organization administrator appears. Your administrator can assign you the privilege to register data stores or can register the data store for you.
View the data stores registered with the federated server.
Hover over the analyzer message. Click the Options button that appears and click Open Manage Data Stores Pane.
If you're sharing a map image layer, choose not to share the dependent feature layer.
In the Share As Web Layer pane, click the General tab. Under Data and Layer Type, uncheck the Feature check box. Data is copied to the server and is not editable.
If you're sharing a scene layer, share it by copying data to the server instead of referencing it.
In the Share As Web Layer pane, click the General tab. Under Data and Layer Type, click Scene under Copy all data.
When sharing a map image layer with a dependent feature layer, all layers in the map must have the same registered enterprise geodatabase or database data source. When sharing to ArcGIS Enterprise 10.6.1 or later, scene layers with associated feature layers can reference data in either a registered file geodatabase or enterprise geodatabase. You can register data sources before publishing through the Manage registered data stores pane or by resolving this error. For more information, see Manage registered data stores.
You may encounter this message even though the source enterprise geodatabase or enterprise database has already been registered with the federated server. The reason for this is that the connection properties (user name, password, version, and so on) used by a layer or stand-alone table referencing the source enterprise geodatabase do not match the connection properties of the enterprise geodatabase registered with the server. Registration is required for each separate connection.
For example, suppose you have an enterprise geodatabase named DB1 that has two versions: default and version 1. You only register the connection to DB1 using the default version. If you attempt to share a map containing layers or stand-alone tables pointing to version 1, and you have not registered this connection to DB1, you will encounter this message. This would also occur if you have different connections to the geodatabase using different user names.
For more information, see Analyze your GIS resource.