Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Microsoft Dynamics 365 | Integration, Dataverse...
Answered

Error message when deleting solution

(0) ShareShare
ReportReport
Posted on by 209

Hello people,

I get the following error message when deleting a managed solution, 

This solution cannot be uninstalled because the 'Attribute' with id '46a33099-80ae-e711-a827-000d3ab4dbf2(activityid)' is required by the 'System' solution. Uninstall the System solution and try again. See Solution Layers. If you contact support, please provide the technical details.

Any idea how i get this resolved?

  • Fkr1987 Profile Picture
    209 on at
    RE: Error message when deleting solution

    Thank you so much for your replies, have a great day.

  • Verified answer
    Abigail Profile Picture
    550 on at
    RE: Error message when deleting solution

    This would help in deleting a managed solution in Microsoft D365.

    docs.microsoft.com/.../uninstall-delete-solution

    I hope this helps!

    Regards.

  • Verified answer
    Johnny Yun Profile Picture
    455 on at
    RE: Error message when deleting solution

    Hello Fuka1,

    I noticed the issue is one known issue. As we still need the system solution. You can follow the steps below to remove the dependencies to the solution you are trying to delete.and deploy it as an upgrade. The steps below are the steps you would follow in the example scenario described in the Cause section.

    1. In the source environment where System Solution was created, update System Solution to remove the reference to the custom security role:

    a. Access the source environment as a user with the System Administrator or System Customizer security role.

    b. Navigate to Settings and then click Solutions.

    c. Open the other solution mentioned in the error message (system solution).

    d. In the Version field, increase the version number.

    e. On the left side of the page, locate the component and then remove it. In the example provided, you would click Security Roles, select the custom security role, and then click Remove.

    f. Click Save and then click Publish All Customizations.

    2. Click Export Solution and choose to export the solution as Managed.

    3. In the target environment (the organization where you encountered the error), import the updated solution (System Solution):

    a. Access the target environment as a user with the System Administrator or System Customizer security role.

    b. Navigate to Settings and then click Solutions.

    c. Click Import and browse to the updated solution file you exported.

    d. Click Next. You will see a notice that "This solution package contains an update for a solution that is already installed".

    e. Click Next and select the Stage for upgrade checkbox. 

    f. Click Import.

    g. After the import completes, click Apply Solution Upgrade. NOTE: If you closed the import dialog without clicking Apply Solution Upgrade, you can select the solution in the Solutions list and then click Apply Solution Upgrade.

    4. Now that the dependency has been removed from System Solution, try to delete mentioned solution again.

    Reference Doc: https://support.microsoft.com/en-us/help/4346631/cannot-uninstall-solution-error-occurs-in-dynamics-365

    Best Regards

    Johnny

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Adis Hodzic – Community Spotlight

We are honored to recognize Adis Hodzic as our May 2025 Community…

Leaderboard > Microsoft Dynamics 365 | Integration, Dataverse, and general topics

#1
Siv Sagar Profile Picture

Siv Sagar 149 Super User 2025 Season 1

#2
Muhammad Shahzad Shafique Profile Picture

Muhammad Shahzad Sh... 67 Most Valuable Professional

#3
Daivat Vartak (v-9davar) Profile Picture

Daivat Vartak (v-9d... 53 Super User 2025 Season 1

Overall leaderboard

Product updates

Dynamics 365 release plans