Skip to content

Commit 958aa90

Browse files
authored
insert the images into sections
1 parent edd38a2 commit 958aa90

7 files changed

Lines changed: 21 additions & 19 deletions

File tree

Loading
Loading
Loading

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

Lines changed: 21 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -9,16 +9,18 @@ ms.custom: sap:Working with Solutions\Dependencies prevent a solution import
99
---
1010
# Missing dependencies error during solution import
1111

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.
1313

1414
_Applies to:_   Power Platform, Solutions
1515

1616
## Symptoms
1717

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:
1919

2020
> Import failed due to missing dependencies.
2121
22+
You can't proceed with the solution import until the missing dependencies are resolved.
23+
2224
## Cause
2325

2426
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:
3133

3234
1. Select the **Show dependencies** button to navigate to the **Missing dependencies** page.
3335

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.
3540
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.
3742

3843
### Missing dependencies coming from a Dynamics 365 application
3944

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:
4150

4251
- If the application isn't installed in the target environment:
4352

@@ -51,23 +60,16 @@ You can find these dependencies in the **Applications** section of the **Missing
5160

5261
### Missing dependencies coming from another managed solution
5362

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.
5564

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":::
5766

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.
5968

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
6770

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.
6972

70-
The solution has also taken dependencies on the components of three managed solutions and two unmanaged components. 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":::
7174

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

Comments
 (0)