Skip to main content

Notifications

Community site session details

Community site session details

Session Id : 6kOgmt/p7EMep5O7ibteUB
Power Apps - Microsoft Dataverse
Answered

Removing connection references from managed solutions

Like (1) ShareShare
ReportReport
Posted on 10 Sep 2024 17:06:54 by 67
Hello everyone,
 
I'm new to Dataverse so please bear with me. I created an unmanaged solution in my Dev environment that contained 1 app, 15 tables, 3 choices, 2 flows, and 2 connection references for those flows. I exported this solution from the Dev environment and imported it as a managed solution into my Test environment. Everything worked fine. However, we decided we wanted to remove the flows and connection references, so I removed them from my app, deleted them from my Dev environment, and also deleted them from the unmanaged solution. When I go to import the updated unmanaged solution into my Test environment, I keep getting error 8004F01F:

The connectionreference(...) component cannot be deleted because it is referenced by 2 other components. For a list of referenced components, use the RetrieveDependenciesForDeleteRequest.
 
I'm unable to install Visual Studio and the Dynamics 365 SDK in order to run the RetrieveDependenciesForDeleteRequest command on my PC. Also, the tables contain a lot of data in the Test environment and I would like to avoid deleting the managed solution if possible, as that would remove all of the tables and their associated data.
 
How can I go about removing these connection references and flows from the managed solution?
  • Verified answer
    Michael E. Gernaey Profile Picture
    41,385 Super User 2025 Season 1 on 10 Sep 2024 at 17:30:16
    Removing connection references from managed solutions
    HI,
     
    Did you delete the Managed Solution from your Test environment?
     
    Do this
     
    Delete it, and it will tell you what if any weird dependencies exist.
     
    But you can simply go to the Connections Tab in your power apps home page
    click to get the details for the Connection and it will show you any depenencies.
     
    But make sure you delete the managed Solution from Test. The only way this wont work, is if you, at any time, installed it as Unmanaged in test and left junk. If so, then go into the Default Solution and delete the junk..
     
    You can look in Default just in case no matter what.
     
     
     
     

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

Understanding Microsoft Agents - Introductory Session

Confused about how agents work across the Microsoft ecosystem? Register today!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,702 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 66,015 Most Valuable Professional

Leaderboard

Featured topics

Loading started
Loading complete