Skip to content

Commit 7e477ef

Browse files
authored
Upload changes from PR#1929
1 parent b691a36 commit 7e477ef

1 file changed

Lines changed: 29 additions & 1 deletion

File tree

support/power-platform/dataverse/working-with-solutions/missing-dependency-on-solution-import.md

Lines changed: 29 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: Missing dependencies during solution import in Power Apps
33
description: Works around an issue about missing dependencies that occurs when you import a solution in the target environment in Microsoft Power Apps.
44
ms.reviewer: matp
5-
ms.date: 07/15/2025
5+
ms.date: 08/28/2025
66
author: swatimadhukargit
77
ms.author: swatim
88
ms.custom: sap:Working with Solutions\Dependencies prevent a solution import
@@ -27,6 +27,34 @@ The solution has dependencies on a component that exists in the source environme
2727

2828
This issue might occur when applications are upgraded to the latest version through Microsoft scheduled maintenance in the source environment, but they aren't upgraded in the target environment.
2929

30+
## Best practices to prevent missing dependencies
31+
32+
When creating a new solution in Power Platform, it's often beneficial to reuse existing components rather than building from scratch. This approach promotes consistency and accelerates development. However, there are several important considerations to keep in mind when working with existing objects across environments.
33+
34+
### Ensure component availability in target environments
35+
36+
If you're adding existing components (such as tables, flows, or apps) to a solution, those components must also exist in the target environment when deploying the solution—whether via deployment pipelines or manual import. Failing to do so will result in missing dependency errors during import.
37+
38+
### Select only necessary components
39+
40+
Avoid adding entire tables or components to a solution if you only need a subset of their elements (for example, specific columns, views, or forms). Adding unnecessary elements can lead to:
41+
42+
- Increased solution complexity
43+
- Multiple managed layers being applied to components
44+
- Potential conflicts during updates
45+
46+
Instead, selectively include only the parts of the component that your solution actively uses.
47+
48+
### Avoid modifying components in managed solutions
49+
50+
Do not make changes directly to components that are part of a managed solution. Doing so creates an unmanaged layer on top of the managed component. This unmanaged layer can:
51+
52+
- Override updates from the source managed solution
53+
- Cause inconsistencies across environments
54+
- Prevent changes (such as updates to Power Automate flows or table configurations) from being reflected correctly after deployment
55+
56+
To ensure smooth deployments and maintain solution integrity, always apply changes within an unmanaged solution or extend functionality using solution layering best practices.
57+
3058
## Workaround
3159

3260
To work around this issue, follow these steps:

0 commit comments

Comments
 (0)