How to Upload a License to Dynamics 365 Business Central On-Premise

Here you can learn how to upload the license file to Microsoft D365 BC or Dynamics NAV using Administration Shell or PowerShell. Follow the below simple steps.

Upload the license using Business Central Administration Shell

  1. Run Business Central Administration Shell as an Administrator.
  2. Execute the following command to import the license file:
    Import-NAVServerLicense -ServerInstance <server instance> -LicenseFile "<path to the license>"
    Follow the below example:
    Import-NAVServerLicense -ServerInstance BC190 -LicenseFile "c:\licenses\license.flf"
  3. Restart the server instance using following command or Business Central Administration tool:
    Restart-NAVServerInstance -ServerInstance <server instance>

Upload the license using Windows PowerShell

  1. Run the Windows PowerShell as an Administrator.
  2. Import the module NavAdminTool.PS1.
    This can be found in the service folder of the related version. You can execute the following command with an example to import the module:
    Import-Module "C:\Program Files\Microsoft Dynamics 365 Business Central\190\Service\NavAdminTool.ps1"
  3. Execute the following command to import the license as done in the previous method:
    Import-NAVServerLicense -ServerInstance <server instance> -LicenseFile "<path to the license>"
  4. Restart the server instance using following command or Business Central Administration tool:
    Restart-NAVServerInstance -ServerInstance <server instance>

To check the uploaded license file, visit the previous guide about how to view license information in Dynamics D365 Business Central.

Senior Solutions Architect - Microsoft Dynamics Navision / Microsoft Dynamics 365 Business Central and freelance developer. (The admin of NAVUSER)

Leave a Comment