Please try this on Powershell.
Knowing Details of License:
Import-Module 'C:\Program Files\Microsoft Dynamics 365 Business Central\150\Service\NavAdminTool.ps1'
Export-NAVServerLicenseInformation -ServerInstance bc150
Importing License:
Import-Module 'C:\Program Files\Microsoft Dynamics 365 Business Central\150\Service\NavAdminTool.ps1'
Import-NAVServerLicense -LicenseFile 'C:\Users\Admin\Desktop\BC.flf' -ServerInstance bc150
Restart-NAVServerInstance -ServerInstance bc150