Hi folks,
In this article, will see how to upload a License in Business Central with two different ways.
Generally, sometimes our old License gets expired then developer need to upload license to BC database environment or Customer License for specific Roles and Permissions.
Error : Your Program License has expired.
Here two solutions are available for you both are 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:
I hope this article will help you when your license gets expired and need to upload a new license to Dynamics 365 Business Central on-Premises.
Stay connected for more articles😉 !!!!
As I am new to this, from where we can get the new flf license file after license got expired.
ReplyDeleteHi Dear,
DeleteSorry for late Responding.
You have to Contact with your consulting company for Developer Licence.