Hello reader. I would like to share something that took me some minutes to learn.Obviously if you are new to BC moving from older versions of NAV. You are used to importing the development license via development environment. In Business Central V17, things changed a bit, now uploading the license is done via Administration Shell using a few commands.
To make things easy, first move your development license to C:\ directory.
Run Business Central Administration Shell as administrator
Check the existing license information by executing command Export- NavServerLicenseInformation
The system will prompt you for the serverInstance e.g BC170
Executing the command will display the license information.
Upload the new development license
With you Administration shell open.
- Run Import-NAVServerLicense command
- Provide licenseFile path in my case its in C: & the BC17.flf is the file name
- Provide ServerInstance in my case BC170
- Restart-NavServerInstance as in preceeding screen shot
You may check whether the new license is uploaded by running the command as in screen below
Good luck!!!
Credit GoDigit