You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: support/power-platform/dataverse/working-with-solutions/missing-dependency-on-solution-import.md
+21-19Lines changed: 21 additions & 19 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,16 +9,18 @@ ms.custom: sap:Working with Solutions\Dependencies prevent a solution import
9
9
---
10
10
# Missing dependencies error during solution import
11
11
12
-
This article provides a workaround for an issue about missing dependencies that occurs when you [import a solution](/powerapps/maker/data-platform/import-update-export-solutions) in Microsoft Power Apps. You can't proceed with the solution import until the missing dependencies are resolved.
12
+
This article provides a workaround for an issue about missing dependencies that occurs when you [import a solution](/powerapps/maker/data-platform/import-update-export-solutions) in Microsoft Power Apps.
13
13
14
14
_Applies to:_ Power Platform, Solutions
15
15
16
16
## Symptoms
17
17
18
-
When you try to import a solution in [Power Apps](https://make.powerapps.com/?utm_source=padocs&utm_medium=linkinadoc&utm_campaign=referralsfromdoc), you receive an error message like the following one:
18
+
When you try to import a solution in Power Apps, you receive an error message like the following one:
19
19
20
20
> Import failed due to missing dependencies.
21
21
22
+
You can't proceed with the solution import until the missing dependencies are resolved.
23
+
22
24
## Cause
23
25
24
26
The solution has dependencies on a component that exists in the source environment where the solution is deployed. However, the component doesn't exist in the target environment where the solution is imported.
@@ -31,13 +33,20 @@ To work around this issue, follow these steps:
31
33
32
34
1. Select the **Show dependencies** button to navigate to the **Missing dependencies** page.
33
35
34
-
The **Missing dependencies** page lists all the components that are missing from the target environment. It also shows three categories of dependencies from which the component dependencies are obtained. The component missing issue might occur due to missing an application, a managed solution or an unmanaged component.
36
+
The **Missing dependencies** page lists all the components that are missing from the target environment. It also categorizes dependencies into three sections: **Applications**, **Managed Solutions**, and **Unmanaged Components**. Missing dependencies might occur due to the absence of an application, a managed solution, or an unmanaged component.
37
+
38
+
> [!TIP]
39
+
> Another method to find dependencies of components is to open the solution file, unzip it, and then open the *solution.xml* file. In the file, look for the `<MissingDependencies>` element that lists all missing dependencies.
35
40
36
-
2. Expand each section of dependencies that is encountered and resolve this issue based on the different types of dependencies described in the following sections, once the missing dependencies are fixed, retry the import:
41
+
2. Expand each section of dependencies and resolve the issue based on the type of dependencies described in the following sections. Once the missing dependencies are fixed, retry the import.
37
42
38
43
### Missing dependencies coming from a Dynamics 365 application
39
44
40
-
You can find these dependencies in the **Applications** section of the **Missing dependencies** page. To resolve this issue:
45
+
This issue occurs when the solution relies on components from Dynamics 365 applications that are either missing or outdated in the target environment. You can find these dependencies in the **Applications** section of the **Missing dependencies** page. Each entry provides details about the missing application in the _<solution_name> (<solution_version>) from <application_name>_ format. Next to the application name, you'll find an **Install** or **Update** button that redirects you to the Power Platform admin center.
46
+
47
+
:::image type="content" source="media/missing-dependency-on-solution-import/missing-dependencies-applications-section.png" alt-text="Example of the application upgrade link for a component with missing dependencies." lightbox="media/missing-dependency-on-solution-import/missing-dependencies-applications-section.png":::
48
+
49
+
To resolve this issue:
41
50
42
51
- If the application isn't installed in the target environment:
43
52
@@ -51,23 +60,16 @@ You can find these dependencies in the **Applications** section of the **Missing
51
60
52
61
### Missing dependencies coming from another managed solution
53
62
54
-
You can find these dependencies in the **Managed Solution** section of the **Missing dependencies** page. To resolve this issue, import the same version of the solution that's installed in the source environment into the target environment.
63
+
This issue occurs when the solution relies on components from another managed solution that's missing in the target environment. You can find these dependencies in the **Managed Solutions** section of the **Missing dependencies** page. Expanding this section provides additional details.
55
64
56
-
### Missing dependencies on the "Active" solutions
65
+
:::image type="content" source="media/missing-dependency-on-solution-import/missing-dependencies-managed-solutions-section.png" alt-text="Example of the application upgrade link for a component with missing dependencies." lightbox="media/missing-dependency-on-solution-import/missing-dependencies-managed-solutions-section.png":::
57
66
58
-
You can find these dependencies in the **Unmanaged components** section of the **Missing dependencies** page. This indicates that the dependency is from unmanaged customization in the source environment. To resolve this issue, return to the source environment, include the missing components, export the solution again, and then import it into the target environment.
67
+
To resolve this issue, import the same version of the solution that's installed in the source environment into the target environment.
59
68
60
-
### Example
61
-
62
-
The following example illustrates a scenario when a system administrator performs a solution import and encounters a missing dependencies which has applications, managed solutions and unmanaged components missing.
63
-
64
-
:::image type="content" source="media/missing-dependency-on-solution-import/missing-dependencies-updated-experience.png" alt-text="Example of the application upgrade link for a component with missing dependencies." lightbox="media/missing-dependency-on-solution-import/missing-dependencies-updated-experience.png":::
65
-
66
-
Here the solution has taken dependencies on the components of two applications which are missing in the target environment. One application is not installed, and the other application is installed but outdated in target environment.
69
+
### Missing dependencies on the "Active" solutions
67
70
68
-
The information for each application missing is provided in the format <solution_name> (<solution_version>) from <application_name>. When expanded further, component information is provided. Next to application name is Install or Update button to redirect the user to Power platform admin center for Install or Update.
71
+
This issue occurs when the solution relies on unmanaged customizations from the source environment that are missing in the target environment. You can find these dependencies in the **Unmanaged Components** section of the **Missing dependencies** page. Expanding this section provides additional details.
69
72
70
-
The solution has also taken dependencies on the components of three managed solutions and two unmanagedcomponents. Expanding each section will help to determine more details. These can be resolved based on the instruction provided above.
73
+
:::image type="content" source="media/missing-dependency-on-solution-import/missing-dependencies-unmanaged-components.png" alt-text="Example of the application upgrade link for a component with missing dependencies." lightbox="media/missing-dependency-on-solution-import/missing-dependencies-unmanaged-components.png":::
71
74
72
-
> [!TIP]
73
-
> Another method to find dependencies of components is to open the solution file, unzip it, and then open the *solution.xml* file. In the *solution.xml* file, look for a `<MissingDependencies>` element. All the dependencies are listed within this node.
75
+
To resolve this issue, return to the source environment, include the missing components, export the solution again, and then import it into the target environment.
0 commit comments