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 / Receiving error on try...
Power Apps
Suggested Answer

Receiving error on trying to import a solution to a new environment

(0) ShareShare
ReportReport
Posted on by 2
I have a solution which consists of 1 app, 2 flows and a dozen or so Environmental Variables.  The App itself used to be a standalone Canvas App, we imported it into a solution a while ago while tidying things up and it lives on a Dev Environment quite happily ticking away, no great issues with access or connectors that I'm aware of.
 
We're looking to retire the enviornment it lives on, have exported the solution and are now trying to import it to another environment.  The importing is failing though, and giving the below error message : 
Import failed: No Data Source definition was found for parent id <id num>
Trying to navigate to "https://make.powerapps.com/environments/<envID>/entities/<id num>" gives me a "Page not found" error, so I'm not sure what the issue is.
 
I've gone into the app and ripped out the original Data Sources and made sure all the data is linked through the Env Variables, but no change.  And idea where to start figuring out whats going on here?
Categories:
I have the same question (0)
  • Suggested answer
    SaiRT14 Profile Picture
    1,990 Super User 2025 Season 1 on at
    Pls try the following:
     
    Check Environment Variable Values: Navigate to Solution Explorer in the target environment. Ensure all the environment variables in your solution have valid values set in the target environment. Environment variables like connection strings, database names, or SharePoint URLs must point to valid resources in the target environment.

    Check the App's Data Sources: Open the Canvas App in the original (Dev) environment. Go to Data > Data Sources and note all the connections being used. Ensure these connections or equivalent ones are available in the target environment. Verify the Data Source in the Solution Export: Unzip the exported .zip solution file. Open the Customizations.xml file and look for <DataSource> entries to find the exact data source referenced by the parent ID in the error. Compare these entries with the connections in the target environment.

    Create the Connection in the Target Environment: Go to Settings > Connections in the target environment. Create a new connection matching the missing data source (e.g., SharePoint, SQL, Dataverse).

    Re-link Connections in the App: After importing the app, edit it in the target environment. Navigate to Data > Data Sources. Replace broken or missing connections with the appropriate connections in the target environment.

    In the Dev environment, replace all hard-coded connections in the Canvas App with environment variables. Use EnvironmentVariableValue in your formulas to reference environment variables dynamically. Re-export the solution after updating the Canvas App to use only environment variables.

    if you need more details, pls let me know. 

     

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 536

#2
WarrenBelz Profile Picture

WarrenBelz 426 Most Valuable Professional

#3
Haque Profile Picture

Haque 305

Last 30 days Overall leaderboard