Announcements
Hello Community,
I'm currently facing an issue while trying to deploy a model-driven app solution in my [Power Apps/Dynamics 365] environment. During the import process, I receive an error indicating that there are duplicate components within the solution. Below are the detailed error messages and the steps I've taken so far to troubleshoot the problem.
Failure Message:
Import of app module(s) failed: Invalid solution identified. There are more than one component with the same id added to the solution. Component Name: AppSetting, Key: settingdefinitionid:b83c718b-dfdd-48b8-9091-b09fd31544e8 parentappmoduleid:00000000-0000-0000-0000-000000000000.
Summarized Error Trace:
AppSetting
settingdefinitionid
parentappmoduleid
00000000-0000-0000-0000-000000000000
-2147155677
customizations.xml
msdyn_IsTeamsDynamicsIntegrationEnabled
$path = "$(UnpackedSolutionFolder)$(SolutionName)/src/Other/Customizations.xml" [xml]$doc = Get-Content $path do { $doc.ImportExportXml.appsettings.RemoveChild($doc.SelectNodes('//ImportExportXml/appsettings/appsetting[@settingdefinitionid.uniquename="appcopilotenabled"]').Item(0)) } while($doc.SelectNodes('//ImportExportXml/appsettings/appsetting[@settingdefinitionid.uniquename="appcopilotenabled"]').Count -ne 0) $doc.Save($path)
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
Congratulations to our 2026 Super Users!
Congratulations to our 2025 community superstars!
These are the community rock stars!
Stay up to date on forum activity by subscribing.
11manish 505
WarrenBelz 502 Most Valuable Professional
Haque 324