Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics NAV (Archived)

How to upload the license file in Multitenant Deployment

Posted on by 18

Hi,

This MSDN article talks about "How to upload the license file in Dynamics NAV 2015" (msdn.microsoft.com/.../dd338774%28v=nav.80%29.aspx) in two way:
- Upload license file under Tools menu
- Save license in database under alter database menu

Above option will work in single tenant, what about multi-tenant deployment. The CSide environment opens NAVApplication DB. Consider the scenario where we have one ApplicationDB and multiple Tenant with legal business database and each business database have its own license.

Thanks,

Manish Sinha

*This post is locked for comments

  • Suggested answer
    Roberto Stefanetti Profile Picture
    Roberto Stefanetti 12,998 on at
    RE: How to upload the license file in Multitenant Deployment

    hi,

    use Powershell cmdlet "Import-NAVServerLicense"

    Import-NAVServerLicense [-ServerInstance] <String> [-Database <LicenseDatabase> ] [-Force] [-Tenant <TenantId> ] [-Confirm] [-WhatIf] [ <CommonParameters>]

    example

    "This example imports a license file that is named "fin.flf" from the current directory into the database that is used by the specified tenant, Tenant1"

    C:\PS>

    Import-NAVServerLicense 'MicrosoftDynamicsNavServer$MyInstance' -LicenseData ([Byte[]]$(Get-Content -Path "fin.flf" -Encoding Byte)) -Database Tenant –Tenant Tenant1

    Source MSDN  msdn.microsoft.com/.../jj672905(v=nav.80).aspx

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,269 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,198 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans