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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / CanvasApp import: FAIL...
Power Apps
Unanswered

CanvasApp import: FAILURE: There should not be more than one record matching the name, found 2 records for CanvasApp with [default component library name]

(0) ShareShare
ReportReport
Posted on by 29

When importing a solution (upgrade from 1.1 to 1.2) from DEV to TEST, I get the following error message:

CanvasApp import: FAILURE: There should not be more than one record matching the name, found 2 records for CanvasApp with nameolcm_customerservicehubdefaultcommandlibrary_c0cab


I get this error with all solutions in which I have a command library (component library for form commands)...

In the past, I could import solutions with component libraries (although I think this is the first time I upgrade the solution with the component library inside it)

 

full disclosure: the solution is a clone of multiple patches.

 

Anyone having ideas on how to solve this?

I have the same question (0)
  • joe_hannes_col Profile Picture
    1,843 Super User 2024 Season 1 on at

    Hello @TrD,

     

    Have you added the component library to the solution, e.g. by clicking on "add required objects"?

    If so, you could try putting the component library into a separate solution, and import this solution before you're importing the updated solution (which doesn't contain the component library anymore).

  • TrD Profile Picture
    29 on at

    Thanks for the suggestions, @joe_hannes_col .

     

    However, importing the component library through a new, separate solution leads to the same error:

    TrD_0-1686922706955.png

     

  • joe_hannes_col Profile Picture
    1,843 Super User 2024 Season 1 on at

    Hello @TrD,

     

    Would removing the solution from the target environment, and then importing the two separate solutions, be an option, or are you already using the app productively?

  • TrD Profile Picture
    29 on at

    Already in production 😞

  • joe_hannes_col Profile Picture
    1,843 Super User 2024 Season 1 on at

    Have you tried staging an upgrade, and then applying the upgrade?

    Is the component library also used by another solution in the target environment?

  • TrD Profile Picture
    29 on at

    Hi @joe_hannes_col 

     

    Thanks for thinking along in this issue.

     


    @joe_hannes_col wrote:

    Have you tried staging an upgrade, and then applying the upgrade?


    Yes. Doesn't work:

    Solution "OLN Legal Case MGNT" failed to import: CanvasApp import: FAILURE: There should not be more than one record matching the name, found 2 records for CanvasApp with nameolcm_customerservicehubdefaultcommandlibrary_c0cab


    @joe_hannes_col wrote:

    Is the component library also used by another solution in the target environment?


    No. 

     

    I did however see that there is a further customization of the component library in the TEST (and thus PROD) environment - yes, I know, not best practice - but these do not have the same name.

    However - also the solution concerning the third component library (OLNIPManagement_DefaultCommand Library) gives the same error, and there is no customization for that one.

    Also: if I try to delete the unmanaged component library, deletion is refused and I get the same error messages as when I try to import

     

    TrD_1-1687179519095.png

     

     

  • Sven Vervynckt Profile Picture
    12 on at

    I was experiencing this exact same issue. I did an import of my solution using the Classic layout and checked the option "Overwrite Customziations" and that seemed to have resolved the issue. 

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 545 Most Valuable Professional

#2
Haque Profile Picture

Haque 314

#3
Kalathiya Profile Picture

Kalathiya 234 Super User 2026 Season 1

Last 30 days Overall leaderboard