Skip to content

Commit bcd5717

Browse files
committed
Merge branch 'added-best-practices-section' of https://github.com/MicrosoftDocs/SupportArticles-docs-pr into added-best-practices-section
2 parents 2a2615d + 38c0bc7 commit bcd5717

1 file changed

Lines changed: 40 additions & 36 deletions

File tree

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

Lines changed: 40 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -1,120 +1,124 @@
11
---
2-
title: Missing dependencies during solution import in Power Apps
2+
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:
55
- swatim
66
- matp
77
- v-shaywood
88
ms.date: 08/28/2025
9+
author: swatimadhukargit
10+
ms.author: swatim
911
ms.custom: sap:Working with Solutions\Dependencies prevent a solution import
1012
---
1113
# Missing dependencies error during solution import
1214

13-
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.
15+
This article provides workarounds for a missing dependencies issue that occurs when you [import a solution](/powerapps/maker/data-platform/import-update-export-solutions) in Microsoft Power Apps.
1416

1517
_Applies to:_   Power Platform, Solutions
1618

1719
## Symptoms
1820

19-
When you try to import a solution in Power Apps, you receive an error message like the following one:
21+
When you try to import a solution in Power Apps, you receive an error message that resembles the following message:
2022

2123
> Import failed due to missing dependencies.
2224
23-
You can't proceed with the solution import until the missing dependencies are resolved.
25+
In this situation, you can't continue the solution import until the missing dependencies issue is resolved.
2426

2527
## Cause
2628

27-
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.
29+
The solution is dependent on a component that exists in the source environment where the solution is deployed. However, the component doesn't exist in the target environment that the solution is imported into.
2830

29-
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.
31+
This issue might occur if applications are upgraded to their latest version (through Microsoft scheduled maintenance) in the source environment but not in the target environment.
3032

31-
## Solution 1: Resolve missing dependency errors
33+
## Workaround 1: Resolve missing dependency errors
3234

3335
To work around this issue, follow these steps:
3436

35-
1. Select the **Show dependencies** button to navigate to the **Missing dependencies** page.
37+
1. Navigate to the **Missing dependencies** page by selecting the **Show dependencies** button. This page lists all missing components, and sorts them into the following categories:
3638

37-
This page lists all missing components and categorizes them into **Applications**, **Managed Solutions**, and **Unmanaged Components**.
39+
- **Applications**
40+
- **Managed Solutions**
41+
- **Unmanaged Components**
42+
>
43+
> [!TIP]
44+
> Another method to find dependencies of components is to open the solution file, expand it, and then open the *solution.xml* file. In this file, look for the `<MissingDependencies>` element that lists all missing dependencies.
3845
39-
> [!TIP]
40-
> 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.
41-
42-
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.
46+
2. Expand each section of dependencies, and mitigate the issue based on the type of dependencies that are described in the following sections. After the missing dependencies are restored or updated, retry the import.
4347

4448
### Missing dependencies coming from a Dynamics 365 application
4549

46-
This issue occurs when the solution relies on components from Dynamics 365 applications that are 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 following format:
50+
This issue occurs if the solution relies on components from Dynamics 365 applications that are 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 following format:
4751

4852
_<solution_name> (<solution_version>) from <application_name>_
4953

50-
Next to the application name, you'll find an **Install** or **Update** button that redirects you to the Power Platform admin center.
54+
Next to the application name is an **Install** or **Update** button that redirects you to the Power Platform admin center.
5155

52-
:::image type="content" source="media/missing-dependency-on-solution-import/missing-dependencies-applications-section.png" alt-text="Screenshot that shows the Applications section of the Missing dependencies page." lightbox="media/missing-dependency-on-solution-import/missing-dependencies-applications-section.png":::
56+
:::image type="content" source="media/missing-dependency-on-solution-import/missing-dependencies-applications-section.png" alt-text="The Applications section of the Missing dependencies page lists applications that are missing or outdated." lightbox="media/missing-dependency-on-solution-import/missing-dependencies-applications-section.png":::
5357

54-
To resolve this issue:
58+
To work around this issue, use one of the following methods:
5559

5660
- If the application isn't installed in the target environment:
5761

58-
- System administrators can use the **Install** button, which redirects to the [application installation](/power-platform/admin/manage-apps#install-an-app) page in the Power Platform admin center. Choose and install the application.
59-
- Non-system administrators can use the **Copy Install Link** button to copy the application installation link and request their system administrator to install the application. Alternatively, a system administrator can directly go to the [application installation](/power-platform/admin/manage-apps#install-an-app) page to install the application in the Power Platform admin center.
62+
- System administrators can use the **Install** button to be redirected to the [application installation](/power-platform/admin/manage-apps#install-an-app) page in the Power Platform admin center. Alternatively, a system administrator can directly go to the [application installation](/power-platform/admin/manage-apps#install-an-app) page to install the application in the Power Platform admin center.
63+
- Non-system administrators can use the **Copy Install Link** button to copy the application installation link and ask their system administrator to install the application.
6064

6165
- If the application is installed but outdated in the target environment:
6266

6367
- System administrators can use the **Update** button to open the application update page in the Power Platform admin center.
64-
- Non-system administrators can use the **Copy Update Link** button to copy the application update link and request their system administrator to update the application.
68+
- Non-system administrators can use the **Copy Update Link** button to copy the application update link and ask their system administrator to update the application.
6569

6670
### Missing dependencies coming from a first-party Dynamics 365 application
6771

6872
> [!IMPORTANT]
69-
> This experience described below might not be available to the environments of all the regions yet.
73+
> This experience might not be available yet in the environments of all regions.
7074
71-
When a solution depends only on components from first-party Dynamics 365 applications that are missing or outdated in the target environment, the system might be able to automatically update or install these components. In this case, no manual action is required from the user. The **Missing dependencies** page will display the **Deploy Dependencies** option. If you select the option and select the **Import** button, the system will first install or update the required dependencies and then proceed to import the solution. If the update or installation of a dependent application fails, the solution import will also fail. You can track the status of these updates or installations on the solution history page.
75+
A solution might depend on only components from first-party Dynamics 365 applications that are missing or outdated in the target environment. In this situation, the system might be able to automatically update or install these components, and no manual action is required from the user. The **Missing dependencies** page displays the **Deploy Dependencies** option. If you select this option, and then you select the **Import** button, the system first installs or updates the required dependencies, and then imports the solution. If the update or installation of a dependent application fails, the solution import also fails. You can track the status of these updates or installations on the solution history page.
7276

73-
:::image type="content" source="media/missing-dependency-on-solution-import/missing-dependencies-first-party-application.png" alt-text="Screenshot that shows the Applications section of the Missing dependencies page with a first-party application that can be auto installed or updated from the system." lightbox="media/missing-dependency-on-solution-import/missing-dependencies-first-party-application.png":::
77+
:::image type="content" source="media/missing-dependency-on-solution-import/missing-dependencies-first-party-application.png" alt-text="The Applications section of the Missing dependencies page showing a first-party application that can be auto installed or updated from the system." lightbox="media/missing-dependency-on-solution-import/missing-dependencies-first-party-application.png":::
7478

7579
### Missing dependencies coming from another managed solution
7680

77-
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 the section provides additional details.
81+
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. Expand the section to see additional details.
7882

79-
:::image type="content" source="media/missing-dependency-on-solution-import/missing-dependencies-managed-solutions-section.png" alt-text="Screenshot that shows the Managed Solutions section of the Missing dependencies page." lightbox="media/missing-dependency-on-solution-import/missing-dependencies-managed-solutions-section.png":::
83+
:::image type="content" source="media/missing-dependency-on-solution-import/missing-dependencies-managed-solutions-section.png" alt-text="The Managed Solutions section of the Missing dependencies page shows solution dependencies." lightbox="media/missing-dependency-on-solution-import/missing-dependencies-managed-solutions-section.png":::
8084

81-
To resolve this issue, import the same version of the solution that's installed in the source environment into the target environment.
85+
To work around this issue, import the same version of the solution that's installed in the source environment into the target environment.
8286

8387
### Missing dependencies on the "Active" solutions
8488

8589
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 the section provides additional details.
8690

87-
:::image type="content" source="media/missing-dependency-on-solution-import/missing-dependencies-unmanaged-components.png" alt-text="Screenshot that shows the Unmanaged Components section of the Missing dependencies page." lightbox="media/missing-dependency-on-solution-import/missing-dependencies-unmanaged-components.png":::
91+
:::image type="content" source="media/missing-dependency-on-solution-import/missing-dependencies-unmanaged-components.png" alt-text="The Unmanaged Components section of the Missing dependencies page shows solutions that rely on unmanaged components." lightbox="media/missing-dependency-on-solution-import/missing-dependencies-unmanaged-components.png":::
8892

89-
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.
93+
To work around this issue, return to the source environment, include the missing components, export the solution again, and then import it into the target environment.
9094

91-
## Solution 2: Best practices to prevent missing dependency errors
95+
## Workaround 2: Best practices to prevent missing dependency errors
9296

93-
When you create a new solution in Power Platform, you often reuse existing components for improved consistency and development speed. There are some key considerations to keep in mind when reusing existing objects across environments.
97+
When you create a solution in Power Platform, you often reuse existing components for improved consistency and development speed. There are some key considerations for reusing existing objects across environments.
9498

95-
### Ensure component availability in target environments
99+
### Component availability in target environments
96100

97-
If your solution has dependencies on components in the source environment (such as tables, flows, or apps), those components must also exist in the target environment when deploying the solution. This requirement applies to both pipeline deployments and manual importing. If components are missing in the source environment, a missing dependency error occurs during import.
101+
If your solution has dependencies on components (such as tables, flows, or apps) in the source environment, those components must also exist in the target environment when you deploy the solution. This requirement applies to both pipeline deployments and manual importing. If components are missing in the source environment, a missing dependency error occurs during import.
98102

99103
### Select only necessary components
100104

101-
Avoid taking dependencies entire tables or components if you only need a subset of their elements (for example, specific columns, views, or forms). Adding unnecessary elements can lead to:
105+
To work around dependency issues, don't include entire tables or components if you need only a subset of their elements (for example, specific columns, views, or forms). Adding unnecessary elements can cause:
102106

103107
- Increased solution complexity
104-
- Multiple managed layers being applied to components
108+
- Multiple managed layers that are applied to components
105109
- Potential conflicts during updates
106110

107111
Instead, include only the parts of the component that your solution actively uses.
108112

109113
### Avoid modifying components in managed solutions
110114

111-
Don't 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:
115+
Don't make changes directly to components that are part of a managed solution. Such changes create an unmanaged layer on top of the managed component. This unmanaged layer can:
112116

113117
- Override updates from the source managed solution
114118
- Cause inconsistencies across environments
115119
- Prevent changes (such as updates to Power Automate flows or table configurations) from being reflected correctly after deployment
116120

117-
Always apply changes within an unmanaged solution or extend functionality using solution layering. For more information on solution layering, see [Solution layers](/power-platform/alm/solution-layers-alm)
121+
Always apply changes within an unmanaged solution or extend functionality by using solution layering. For more information about solution layering, see [Solution layers](/power-platform/alm/solution-layers-alm).
118122

119123
### Avoid dependencies on deprecated applications
120124

0 commit comments

Comments
 (0)