Skip to main content

Notifications

Power Apps - Microsoft Dataverse
Unanswered

Deploying Model-Driven App Solution: Duplicate AppSetting Component

(0) ShareShare
ReportReport
Posted on by 5

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.

Error Details:

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.
 
Exception Type:
 
System.ServiceModel.FaultException`1[Microsoft.Xrm.Sdk.OrganizationServiceFault]

Summarized Error Trace:

  • The import fails because multiple AppSetting components share the same settingdefinitionid.
  • The parentappmoduleid is set to 00000000-0000-0000-0000-000000000000, indicating a default or unassigned parent module.
  • Error Code: -2147155677
Context:
 
Environment: Development sandbox
Solution Type: Unmanaged 
Deployment method: pipeline
 
I exported the solution and examined the customizations.xml file for duplicate app settings. I discovered that the msdyn_IsTeamsDynamicsIntegrationEnabled setting appears twice, which I believe is causing the issue. However, I'm unsure how to proceed from here. Should I edit the XML file directly, or is there an easier or alternative method to resolve this duplication?
 
Any assistance or guidance on resolving this deployment issue would be greatly appreciated. Thank you in advance!
 
Categories:

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.

Helpful resources

Quick Links

Kickstarter Events…

Register for Microsoft Kickstarter Events…

Tuesday Tip #12 Start your Super User…

Welcome to a brand new series, Tuesday Tips…

Tuesday Tip #13 Writing Effective Answers…

Welcome to a brand new series, Tuesday Tips…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 144,858

#2
RandyHayes Profile Picture

RandyHayes 76,287

#3
Pstork1 Profile Picture

Pstork1 64,505

Leaderboard

Featured topics