
Announcements
Import failed: No Data Source definition was found for parent id <id num>
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.