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

Notifications

Announcements

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 2 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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 739 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 343 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard