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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Small and medium business | Business Central, N...
Suggested Answer

An item with the same key has already been added. The Extension cannot be unpublished because it is in use by the following tenants

(0) ShareShare
ReportReport
Posted on by 5

Hi,

I am trying to Upgrade BC15 to BC 20. https://docs.microsoft.com/en-us/dynamics365/business-central/dev-itpro/upgrade/upgrade-unmodified-application-to-v20

When executing Get-NAVAppInfo I am getting more than 30 Extensions. In Business Central Extension Management I can see only 3 Installed. I tried to uninstall and unpublish all those extensions with no luck. (Before, I had more that I manage to delete them). 

When I am trying to uninstall (Uninstall-NAVApp) each of the 3 installed extensions I am getting error: An item with the same key has already been added.

When i am trying to unpublish (Unpublish-NAVApp) an extension I am getting error: The Extension cannot be unpublished because it is in use by the following tenants

Please help me identify the issue as I am not able to proceed with the upgrade

I have the same question (0)
  • Suggested answer
    Inge M. Bruvik Profile Picture
    1,161 Moderator on at

    Do you have multiple tenants in your installation - if so you need to add the tenant parameter when you uninstall the app and uninstall it from all tenants before you unpublish it.

  • Andreas Panayides Profile Picture
    5 on at

    Thanks for your answer, no I do not have multiple tenants

  • Suggested answer
    tanya07 Profile Picture
    1,638 on at

    Hi,

    Please try this below suggestion -

    forum.mibuso.com/.../an-item-with-the-same-key-has-already-been-added

    community.dynamics.com/.../sync-navtenant-error-when-upgrading-to-bc-16-2

    Hope it helps!

    Thanks,

    TK

  • Andreas Panayides Profile Picture
    5 on at

    Thanks for your answer!

    I do not have duplicate values in dbo.$ndo$navappschemasnapshot.

    Also, there are no $AppData tables because I didn't upgrade BC15, I thing this solution is for those who already upgrade their BC. I stuck in the early stage of  removing the extensions.

    Thank you

  • Suggested answer
    Marco Mels Profile Picture
    Microsoft Employee on at

    Hello,

    Please raise a support ticket to Microsoft support.

    Thank you.

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 Stars!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 2,161 Super User 2026 Season 1

#2
YUN ZHU Profile Picture

YUN ZHU 1,046 Super User 2026 Season 1

#3
Dhiren Nagar Profile Picture

Dhiren Nagar 932 Super User 2026 Season 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans