Hello D365 Folks,
In this article, I am sharing very important detail related to uploading a License for Microsoft Dynamics 365 Business Central Wave-2, On-Premise.
It is very obvious if you are doing customizations and developing some new extension your environment needs a developer License/customer license to use specific modules, sometimes the old license gets expired then the developer or administrator needs to upload the License to the Business Central database.
Error:

Like most of the developers well aware of new changes of wave 2 release that we can't able to use the Development Environment, so the main question is how to upload a new license with Wave-2 release.
Here 2 solutions available for you both are the same but using different apps:
1. Using PowerShell ISE
2. Using Business Central Administration Shell
----------------------------
1. Using PowerShell ISE
----------------------------
1 2 3 4 5 6 7 8 9 10 | // Script for Upload License using PowerShell ISE
Step 1.1- Open PowerShell ISE as Administrator
Step 1.2- Import-Module for Business Central Wave 2, using the following script:
Import-Module 'C:\Program Files\Microsoft Dynamics 365 Business Central\150\Service\NavAdminTool.ps1'
Step 1.3- Using the following script to import the license:
Import-NAVServerLicense -LicenseFile 'C:\license\LS Central-15 Dev License.flf' -ServerInstance BC150
Step 1.4- Restart-Service using the following script:
Restart-NAVServerInstance -ServerInstance BC150
Step 1.5- Get License Information using the following script: Export-NAVServerLicenseInformation -ServerInstance BC150
|
------------------------------------------------------
2. Using Business Central Administration Shell
------------------------------------------------------
1 2 3 4 5 6 7 8 9 10 | // Upload License using Business Central Development Shell
Step 2.1- Open Business Central Administration Shell as Administrator
Step 2.2- Using the following script to import the license:
Import-NAVServerLicense -LicenseFile 'C:\license\LS Central-15 Dev License.flf' -ServerInstance BC150
Step 2.3- Restart-Service using the following script:
Restart-NAVServerInstance -ServerInstance BC150
Step 2.4- Get License Information using the following script:
Export-NAVServerLicenseInformation -ServerInstance BC150
|
Output:


Done!
I hope this article will help you with what to do when your license gets expired and need to upload a new license to Dynamics 365 Business Central Wave-2 on-premises.
Stay Tuned!
![]()
