web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Unable to import Solut...
Power Apps
Unanswered

Unable to import Solution; Connection Reference issues

(0) ShareShare
ReportReport
Posted on by 44

Hello,

 

I am working on a canvas app project which calls a few Flows as part of it's logic.  I thought I'd give Solutions a try to package all of the different components and learn more about ALM.  My current solution consists of 1 Canvas App, 3 Flows, 4 Connection References, and 3 Env Variables.

 

Today I tried to export my unmanaged solution and import into a test environment.  I encountered this error:

 

1) Error Message: Import failed due to missing dependencies for _Menu Change Requests1) Error Message: Import failed due to missing dependencies for _Menu Change Requests2) Dependency shows to an old connector I had previously removed from the solution2) Dependency shows to an old connector I had previously removed from the solution

 

 

 

 

 

 

 

 

 

 

 

 

The Connection Reference in question is an old SQL one I had created at some point and removed from the solution.  I'm not sure how a reference was created in my canvas app.  Here's the error log for reference:

 

 

 

[
 {
 "SolutionValidationResultType": "Error",
 "Message": "The following solution cannot be imported: _MenuChangeRequests. Some dependencies are missing. The missing dependencies are : 
 <MissingDependencies>
 <MissingDependency>
 <Required type=\"connectionreference\" displayName=\"cnp_PowerPlatformTestConnector\" solution=\"Active\" id.connectionreferencelogicalname=\"cnp_PowerPlatformTestConnector\" />
 <Dependent type=\"300\" schemaName=\"cnp_menuchangerequests_4b759\" displayName=\"Menu Change Requests\" />
 </MissingDependency>
 </MissingDependencies> , ProductUpdatesOnly : False",
 "ErrorCode": -2147188707,
 "AdditionalInfo": null
 }
]

 

 

 

 

After researching for a bit, I found this post. The accepted answer leads to this article which mentions the following:

"Canvas apps and Flows handle connections differently. Flows now use connection references for ALL types of connections, whereas canvas apps only use them for implicitly shared connections such as SQL Server"

 

From the above I understand there isn't a way to explicitly tell my canvas app to use the SQL Connection Reference that I have defined within my solution, instead I relied on a SQL Connection I created in my dev environment. The below is a screenshot of my SQL calls within the app, for which I am using the environment Connection called Dev PowerPlatform (previously mentioned). 

3) Canvas App showing 5 different SQL connections using the same environment SQL Connection3) Canvas App showing 5 different SQL connections using the same environment SQL Connection

 

Going back to the import error... I believe I should be able to re-add the old SQL Connection Reference that's causing the error to my unmanaged solution and then try the export>import process again (have not tried this yet), but I don't need that old Connection Reference as it isn't being used by any other components, and I would rather remove any reference in my unmanaged app before exporting.

 

Any insights on how I can resolve this issue and remove the reference to the unused SQL Connection Reference are greatly appreciated! 🙂

Thanks for reading.

 

 

 

Categories:

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 220 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 189 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 139

Last 30 days Overall leaderboard