Upgrade apps
Notes
Business Integration Solutions for on-premises comes with libraries. Although these rarely change, when updating to a new major Microsoft Dynamics 365 Business Central version, replace them with new ones. This affects the upgrade process. See Update libraries.
Part of an upgrade is uninstalling the app versions already installed. Run the upgrade using the general PowerShell scripts provided.
Notes
Older versions of Business Integration Solutions (BC version 18 or older) also have dependency apps not visible on the Extension Management page (so-called Exclude apps) in Microsoft Dynamics 365 Business Central. STAEDEAN recommends uninstalling the apps using a script.
Notes
Scripts are not supported.
To display all apps, use this command to check the apps and version numbers.
For a clear overview of STAEDEAN apps:
Get-NAVAppInfo -ServerInstance D365 BC -Publisher "STAEDEAN"
Steps - Upgrade app
Uninstall the app(s):
Uninstall-NAVApp -ServerInstanceD365 BC -Name "[AppName]" -Version "[Previous version]"Publish the new app (file)*:
Publish-NavApp -ServerInstanceD365 BC -Path "[AppPath]"Synchronize the app:
Sync-NAVApp -ServerInstanceD365 BC -Name "[AppName]" -Version "[New version]"Run the data upgrade:
Start-NAVAppDataUpgrade -ServerInstanceD365 BC -Name "[AppName]" -Version "[New version]"Unpublish the old app:
Unpublish-NAVApp -ServerInstanceD365 BC -Name "[AppName]" -Version "[Previous version]"
Update libraries
Steps - Update libraries
Before publishing apps with libraries, complete the following steps:
Uninstall the old libraries.
Install the new libraries.
Restart the Microsoft Dynamics 365 Business Central Service.
When several instances of the Microsoft Dynamics 365 Business Central service are running, ensure all of them are down at one point, or the old libraries remain loaded in memory.
When the new version installs before the libraries/add-ins deploy, unpublish the app.