# Configuration contains ingress/asset with URL which already has asset attached to it in your tenant

Issue&#x20;

When you try to connect an agent to management and get the next error:

"Configuration contains ingress/asset with url which already has an asset attached to it in your tenant. ReferenceID: \<ReferenceID>"&#x20;

### Fix

Please follow these steps:

1. Navigate to the assets tab in the management portal and remove existing assets with the same URL&#x20;
2. &#x20;Enforce the change
3. Try to connect again

If the existing asset is locked (usually this is the case when connected to a declarative management profile):

{% hint style="warning" %}
These steps should be followed only if the profile is not connected to any other active agents or assets.
{% endhint %}

1. Identify the profile the asses is connected to
2. Navigate to the "Profile Tab" and change the management type to "This Management"&#x20;

<figure><img src="https://1225393248-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNcZmX14M2KdTBrq9EOnI%2Fuploads%2FvKl5AHUB1P0KuAw2UIjw%2Fimage.png?alt=media&#x26;token=aba9d9df-85db-4961-82cd-a3a54dd3d95b" alt=""><figcaption></figcaption></figure>

1. Enforce the change
2. Navigate to the assets tab in the management portal and remove existing assets with the same URL&#x20;
3. &#x20;Enforce the change
4. Try to connect again
