# Uninstallation

Uninstalling the **Map My Relationships** solution from your CRM environment is quite simple. Just follow the process below to uninstall **Map My Relationships** from your Dynamics 365 CRM.

{% hint style="info" %}
**Note: In order to uninstall the Map My Relationship view, you first need to remove the dependency of the Map My Relationships/Map My Connections control from the Entity Forms. If you have added the control to any entity forms, then remove that control from the form. In the steps below, we have taken the example of the Account entity.**
{% endhint %}

### **From Power Apps:**

Navigate to **make.powerapps.com -> Tables ->Account ->Forms ->**&#x53;elect the respective **‘Form’** for which controls are set.

<figure><img src="https://272130504-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M0QoyqUVI8_HaZ9FOSL%2Fuploads%2FALkcafEO7S1ICAsbRGQo%2Fimage.png?alt=media&#x26;token=99e85689-ab78-4749-9849-aac92106e1b8" alt=""><figcaption></figcaption></figure>

1\)      Double click on **Form** ->Click the field on which the control is set.

<figure><img src="https://272130504-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M0QoyqUVI8_HaZ9FOSL%2Fuploads%2FcfGUnnl0L0WSAVG4NB8s%2Fimage.png?alt=media&#x26;token=0df894c0-a590-40d7-989e-12eeeed07341" alt=""><figcaption></figcaption></figure>

2\) Now go to **Components** -> Delete **Map My Relationships Component** -> **Click on Save and Publish**.

<figure><img src="https://272130504-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M0QoyqUVI8_HaZ9FOSL%2Fuploads%2F5DdTCgKjApzvfeTYgQs9%2Fimage.png?alt=media&#x26;token=93e255be-84cf-435e-b2a7-230f7f26bb2e" alt=""><figcaption></figcaption></figure>

3\)      Similarly, to remove Map My Connections control, go to Tables -> Select Opportunity -> Forms -> Main Form.

<figure><img src="https://272130504-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M0QoyqUVI8_HaZ9FOSL%2Fuploads%2FohexkxNaVv900UkcphhO%2Fimage.png?alt=media&#x26;token=9ad064d2-c39e-4726-a9a0-3a93738d6638" alt=""><figcaption></figcaption></figure>

4\) Double click on **Form** -> Click the Subgrid on which the control is set.

<figure><img src="https://272130504-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M0QoyqUVI8_HaZ9FOSL%2Fuploads%2F8aKXKUF5PpufiNXisOdl%2Fimage.png?alt=media&#x26;token=40e61f3d-d5eb-4ea7-bdbc-adb2e2f50292" alt=""><figcaption></figcaption></figure>

5\) Now go to **Components** -> Delete **Map My Connections Component** -> Click on **Save and Publish.**

<figure><img src="https://272130504-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M0QoyqUVI8_HaZ9FOSL%2Fuploads%2FOtsbnK5ZbLhjOFtOSHWX%2Fimage.png?alt=media&#x26;token=4ea2c412-aae1-48d3-81f6-37f46e4b7a65" alt=""><figcaption></figcaption></figure>

6\) Next, navigate to **Solution** --> Select **Map My Relationships solution**.

<figure><img src="https://272130504-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M0QoyqUVI8_HaZ9FOSL%2Fuploads%2FugGsEI3YY74E9zqjZJ9X%2Fimage.png?alt=media&#x26;token=32c6cfc5-485c-4f74-b298-a191708b4ea5" alt=""><figcaption></figcaption></figure>

Click on the **Delete** button. A pop-up will appear asking for your confirmation. Click on **Delete,** and the solution will be uninstalled from your environment.

<figure><img src="https://272130504-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M0QoyqUVI8_HaZ9FOSL%2Fuploads%2FNNKCG0TQP2liDTWgBQeH%2Fimage.png?alt=media&#x26;token=65afdf08-63a5-4437-a3ac-379f0e449bf3" alt=""><figcaption></figcaption></figure>

<figure><img src="https://272130504-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M0QoyqUVI8_HaZ9FOSL%2Fuploads%2FwnQMsPq4CHmCSo6rILWU%2Fimage.png?alt=media&#x26;token=f11e50e0-1e7a-4636-91a9-258fdeda12ae" alt=""><figcaption></figcaption></figure>

### **From Classic UI:**

1\) Navigate to **Settings** ->**Customizations** ->**Customize the System.**

![](https://272130504-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M0QoyqUVI8_HaZ9FOSL%2F-M7qzPFtiasR0PMZmSrG%2F-M7rAban2KG3MKD55Sbu%2F21.png?alt=media\&token=1e47a78c-356f-4c78-a678-f37a53d05716)

2\) From there go to **Entities** ->**Account** ->**Forms** ->Select the respective ‘Form’ for which controls are set.

![](https://272130504-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M0QoyqUVI8_HaZ9FOSL%2F-M7qzPFtiasR0PMZmSrG%2F-M7rAtD05VfXDaOPK-qM%2F22.png?alt=media\&token=8a50ad29-ea65-4760-866c-f14a651a64c2)

3\) Double click on **Form** ->Click the field on which control is set.

![](https://272130504-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M0QoyqUVI8_HaZ9FOSL%2F-M7qzPFtiasR0PMZmSrG%2F-M7rDLHRM3Hw_FX_Tcw0%2F23.png?alt=media\&token=969243ec-74c7-49a7-8b93-c6d463c2ab68)

4\) Now go to **Controls** -> Delete **Map My Relationships** Control -> Click **OK** -> Click on **Save and Publish**.

![](https://272130504-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M0QoyqUVI8_HaZ9FOSL%2F-M7qzPFtiasR0PMZmSrG%2F-M7rCUJpHkeoxHF5oG4Z%2F24.png?alt=media\&token=e10dd368-6745-4de1-ba37-fe26004663e3)

5\) Similarly, to remove Map My Connections control, go to **Default Solution** -> Select **Opportunity** -> **Forms** -> **Main Form**.&#x20;

![](https://272130504-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M0QoyqUVI8_HaZ9FOSL%2F-MPJTlgvknlzBe0d33N4%2F-MPJUwQDUzq7g--iLZVU%2FUninstall_1.png?alt=media\&token=f19497a2-2910-498b-bb81-9ba0548a6492)

6\) Double click on **Form** -> Click the field on which control is set.

![](https://272130504-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M0QoyqUVI8_HaZ9FOSL%2F-MPJTlgvknlzBe0d33N4%2F-MPJV82-IVI996X3sMiP%2FUninstall_2.png?alt=media\&token=c2e90546-9018-405f-93a5-314464a11d35)

7\) Now go to **Controls** -> Delete **Map My Connections** Control -> Click **OK** -> Click on **Save and Publish**.

![](https://272130504-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M0QoyqUVI8_HaZ9FOSL%2F-MPJTlgvknlzBe0d33N4%2F-MPJVt_PpyRur9afE5EE%2FUninstall_3.png?alt=media\&token=f17496c5-fa84-4340-b556-29cdd82894b6)

8\) Next, navigate to **Settings** --> **Solution** --> Select **Map My Relationships** solution.

![](https://272130504-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M0QoyqUVI8_HaZ9FOSL%2F-M7pE_65RDzzox1Lew6q%2F-M7pXKzBSADI69PzQJyV%2F2.png?alt=media\&token=c62e6f99-dfc8-43b4-ad80-a9e460afef8e)

9\) Click on **delete** button. A pop-up will appear asking for your confirmation. Click on **OK** and the solution will be uninstalled from your environment.

![](https://272130504-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M0QoyqUVI8_HaZ9FOSL%2F-M7pE_65RDzzox1Lew6q%2F-M7pXSN2uNoFFFpaIDLo%2F3.png?alt=media\&token=40df72ca-e132-49a4-a4e5-049bc8fbdca2)

![](https://272130504-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M0QoyqUVI8_HaZ9FOSL%2F-M7pE_65RDzzox1Lew6q%2F-M7pX_XbOKVg869fc5p9%2Funinstall_5%20-%20Copy.png?alt=media\&token=56b2cf70-5a13-47d9-aa7c-70aa4b719dec)
