Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

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

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

(0) ShareShare
ReportReport
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 ? 
  • Suggested answer
    YUN ZHU Profile Picture
    62,477 Moderator 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
    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
    62,477 Moderator 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
    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
    148 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

Dynamics 365 Community Update – Sep 16th

Welcome to the next edition of the Community Platform Update. This is a weekly…

Announcing Our 2024 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Dynamics 365 Community Newsletter - September 2024

Check out the latest community news

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 283,860 Test role Public

#2
Ludwig Reinhard Profile Picture

Ludwig Reinhard Microsoft Employee

#3
Martin Dráb Profile Picture

Martin Dráb 225,155 Moderator

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans