web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Deploying Model-Driven...
Power Apps
Unanswered

Deploying Model-Driven App Solution: Duplicate AppSetting Component

(1) 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!
 
I have the same question (0)
  • AA-24011952-0 Profile Picture
    7 on at
    Hello, I experienced this issue as well, and from what I could tell the source of the issue is that our source Environment contained the Solutions "Customer Service Hub" and "Customer Service Workspace" which each have an AppSetting by this exact schema name.
     
    The issue arises when one of the Settings gets customized, creating a cascade with its twin, and the App Modules themselves are not included in the unmanaged Solution, so the customizations.xml file dumps them under a catch-all "AppSettings" node that doesn't reference their respective unique source App Modules/base Solutions and a duplicate error arises.
     
    The two options we faced were:
    1) Add all of the originating App Modules to the unmanaged Solution so that they can be distinguished via the customizations.xml vs just the duplicated names.
    2) Remove all customizations from Customer Service Hub (we went with this since we didn't actually need it), and the standalone appsetting nodes in cusotmizations.xml just disappear.
     
    This does seem like a frustrating workaround for a Microsoft bug, however, and I'm curious to see their reply.
     
    Hope this helps,
    -Adam
     

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
Kalathiya Profile Picture

Kalathiya 403

#2
WarrenBelz Profile Picture

WarrenBelz 338 Most Valuable Professional

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 320 Super User 2025 Season 2

Last 30 days Overall leaderboard