Skip to main content

Notifications

Announcements

No record found.

Small and medium business | Business Central, N...
Suggested answer

Unable To Deploy A Upgraded Extension in Business Central (On-Prem)

Posted on by 1,112
Hi,
 
The current Custom Extension version is 20.8.0.9 in a Dev Environment, Now, I want to deploy an upgraded version of the same app, version is 20.8.0.10. But, when I am trying to deploy the same using Business Central Administration Shell it's throwing error message.
 
//
 
How do I fix this issue ? 
Categories:
  • Suggested answer
    YUN ZHU Profile Picture
    YUN ZHU 73,698 Super User 2024 Season 2 on at
    Unable To Deploy A Upgraded Extension in Business Central (On-Prem)
    Hi, glad to hear you've resolved the issue. Just to add some information, this is a bit like the problem mentioned below with multi-tenant deployment of the same PTE, but this has been solved in SaaS for a long time.
    Dynamics 365 Business Central SaaS (Cloud) Test: Deploy the same PTE to different Tenants/Customers
     
    Hope this helps as well.
    Thanks.
    ZHU
  • subrata.bauri Profile Picture
    subrata.bauri 1,112 on at
    Unable To Deploy A Upgraded Extension in Business Central (On-Prem)
    Thanks for your reply ZHU.
     
    We don't have any VS Code access to this environment. Generally, we use Powershell commands to deploy extensions. In the past we deployed extension 10 and 11 in the old Database(app version 9) but now we're trying into a new database (copy of production) and in this database, only one app exists that's version 9.

    In the Extension management, it show version 9 and no other version.  The BC instance is the same one where old database was configure.
     
    In the end, we could not deploy the version 10 but we deployed the version 11 without any issue.
     
     
     
     
  • Suggested answer
    YUN ZHU Profile Picture
    YUN ZHU 73,698 Super User 2024 Season 2 on at
    Unable To Deploy A Upgraded Extension in Business Central (On-Prem)
    Hi, it seems that the extension may have been published directly from VS Code in this environment, and the version is 20.8.0.11. As Ariba mentioned, it is recommended that you increase the version number to 20.8.0.12 and try again.
    If it really doesn't work, you can consider unpublish and then re-publish. As long as Sync-NAVApp -Mode Clean is not run, the data will not be lost.
     
    Hope this helps as well.
    Thanks.
    ZHU
  • subrata.bauri Profile Picture
    subrata.bauri 1,112 on at
    Unable To Deploy A Upgraded Extension in Business Central (On-Prem)
    Hi Ariba,
     
    Thanks for your quick reply.
     
    The currently running extension version is 20.8.0.9 and I was trying to install 20.8.0.10.
     
     
  • Suggested answer
    Ariba Mehdi Profile Picture
    Ariba Mehdi 160 on at
    Unable To Deploy A Upgraded Extension in Business Central (On-Prem)
    Hi there,

    The error shows that the current version is 20.8.0.11. So you can try changing the version to 20.8.0.12, and deploy.

    Search Installation Status or Deployment Status in business central to find extension version information.
    Path:
    Extension Management > Manage > Installation Status or Deployment Status

    Hope this helps!

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,235 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans