Skip to main content

MSDYN35BC 2019 Wave 2 - How Do I Check and Change License?

Hi Readers,

In previous articles, we have setup a demo environment for Microsoft Dynamics 365 Business Central 2019 Wave 2 Release.


In this article, we will discuss how to check and change the license in the 2019 Wave 2 database.


This article is based on the request from  @Rihan Sharma.


With Business Central 2019 Wave 2, as there is no development environment we cannot change the license and there is no windows client so we cannot check what license we are setup in the database.

Here comes Powershell our old friend that will help us with all this. Let's see step by step process.

1. Search & start Powershell ISE as administrator (Not Powershell ISE x86) as everything is 64 bit.



2. Import-Module for Business Central Wave 2 and refresh command panel on the right.

Import-Module 'C:\Program Files\Microsoft Dynamics 365 Business Central\150\Service\NavAdminTool.ps1'



3. Search and use cmdlet Export-NAVServerLicenseInformation to check the license in the database with Service Instance Name.

Export-NAVServerLicenseInformation -ServerInstance <ServiceName>

** Change <ServiceName> with actual service instance name.



4. Next to Change License we can use the cmdlet Import-NAVServerLicense with parameters of service name and the license file path.

Import-NAVServerLicense -LicenseFile <FilePath> -ServerInstance <ServiceName>

** Change <ServiceName> with actual service instance name.
** Change <FilePath> with actual path of the license file.



5. As we all know after changing license we need to restart the nav service. Use cmdlet Restart-NAVServerInstance to restart nav service to update license in the database.

Restart-NAVServerInstance -ServerInstance <ServiceName>

** Change <ServiceName> with actual service instance name.



Hope you find the information useful.

Let me know your views as a comment on this article.

Stay tuned for more.

Regards,
Saurav Dhyani
www.sauravdhyani.com

Comments

  1. Hi Saurav,
    Facing below error while running command Import-Module 'C:\Program Files\Microsoft Dynamics 365 Business Central\150\Service\NavAdminTool.ps1'

    Import-Module : File C:\Program Files\Microsoft Dynamics 365 Business Central\150\Service\NavAdminTool.ps1 cannot be
    loaded because running scripts is disabled on this system. For more information, see about_Execution_Policies at
    https:/go.microsoft.com/fwlink/?LinkID=135170.
    At line:1 char:1
    + Import-Module 'C:\Program Files\Microsoft Dynamics 365 Business Centr ...
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo : SecurityError: (:) [Import-Module], PSSecurityException
    + FullyQualifiedErrorId : UnauthorizedAccess,Microsoft.PowerShell.Commands.ImportModuleCommand

    ReplyDelete
    Replies
    1. You Need to set Execution Policy before running commands from Powershell.
      use command - Set-ExecutionPolicy RemoteSigned -Force

      Delete
    2. Thanks Its working.

      Delete

Post a Comment

Popular posts from this blog

Microsoft Dynamics NAV 2016 - How to Configure Phone Client.

Hi All, In this article we will discuss how we can connect Microsoft Dynamics NAV 2016 with New Client Launched i.e. Phone Client. This Article Contain Steps for a Android Phone as I have Only Android Phone. I am doing it having all tiers on my windows 8 machine, steps remain same for multiple servers but issues might be different. What we Need (Other what we discuss in this article) -  The Service Tier should be on Public IP . Some of the Data-card does not Provide you Public IP. check it for sure.

How to Set Up NavUserPassword Authentication in Business Central.

Hi Readers, In this article we will discuss steps to Setup NAVUserPassword in Business Central on-prem. NavUserPassword is an authentication method that's handled by Business Central Server, but isn't based on Windows users or Active Directory. Each user is set up with a username and password that's configured inside Business Central only. The user is prompted for username/password credentials when they start the client. #msdyn365bc, #credentialtype

MSDYN365BC - Data Upgrade To Microsoft Dynamics 365 Business Central on premises.

Hi Readers, We have already talked about the number of steps for upgrading to Business Central on Premises from different NAV versions. After that article, I received multiple requests for an article which list down steps for Data Migration. In this article, we will discuss steps of data migration to MSDYN365BC (on-Prem) from NAV 2017. For this article, I am considering a Cronus Demo Database without any customization. For an actual upgrade project, we will have to complete object merge using compare and Merge process. After the Merge Process, the next step is data migration. Let's discuss those steps. Direct Upgrade to Microsoft Dynamics 365 Business Central (on-Prem) is from following versions - 1. NAV 2015. 2. NAV 2016. 3. NAV 2017. 4. NAV 2018.