×
Menu
Index

NavSherpa Uninstall in D365 BC Docker Container

 
NavSherpa can be uninstalled by following these steps:
 
1. Open the Windows PowerShell as an administrator.
 
2. Enter the following command to install the NavContainerHelper module.
 
Install-Module NavContainerHelper -Force
 
3. If you want to uninstall the NavSherpa demo project, firstly, go through steps 4 and 6 and change the application name to “NavSherpa - Demo”.
 
4. Enter the following command to uninstall the extension from Business Central.
Note: You will need to replace values surrounded by <> with an appropriate value. If a tenant is not specified, the action will be applied to all tenants.
Note 2: If you want to permanently delete all data of the extension, you can add optional parameter “-DoNotSaveData”. This will delete all data in tables, but empty tables will still exist in SQL.
 
Uninstall-NAVContainerApp -containerName <ContainerName> -appName "NavSherpa" [-Tenant <TenantName> -DoNotSaveData]
 
5. Enter the following command to unpublish the extension from Business Central.
Note: You will need to replace values surrounded by <> with an appropriate value.
 
Unpublish-NAVContainerApp -containerName <ContainerName> -appName "NavSherpa"
 
6. (Optional) Enter the following command to delete all extension tables from Business Central.
 
Sync-NAVContainerApp -containerName <ContainerName> -appName "NavSherpa" -Mode Clean