Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics NAV (Archived)

Microsoft Dynamics NAV 2017 - create Extensions | Windows PowerShell ISE

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hello,
I am working in Windows PowerShell ISE. I created file Navx (extension) and I need to install.

This is my code in PS:

Install-NAVApp -ServerInstance 'DynamicsNAV100' -Name ”Extension Test” 

ERROR message:
Install-NAVApp : The extension Extension Test is not installed for tenant default.

I know there is problem with tenant. How can I get name of my tenant?
THANK YOU!

*This post is locked for comments

  • Suggested answer
    Tina Menezes Profile Picture
    Tina Menezes 2,580 on at
    RE: Microsoft Dynamics NAV 2017 - create Extensions | Windows PowerShell ISE

    Hi,

    You can use the below link to get tenant id

    docs.microsoft.com/.../get-navtenant

    Get-NAVTenant -ServerInstance 'ServerInstanceName'

  • Suggested answer
    Mouli Kaku Profile Picture
    Mouli Kaku 515 on at
    RE: Microsoft Dynamics NAV 2017 - create Extensions | Windows PowerShell ISE

    to get the Tenant details you need to run below powershell command

    PS C:\> Get-NAVTenant –ServerInstance 'DynamicsNAV90'

    Result

    State                  : Mounted

    ServerInstance         : MicrosoftDynamicsNavServer$DynamicsNAV90

    Id                     : Tenant1

    DatabaseName           : Demo Database NAV (8-0)

    DatabaseServer         : localhost

    AlternateIds           : {}

    AllowAppDatabaseWrites : True

    NasServicesEnabled     : False

    DefaultCompany         :

    DefaultTimeZone        : UTC

    and to install extension

    PS C:\>Install-NAVApp -ServerInstance DynamicsNAV90 -Name 'Proseware SmartStuff' -Version 2.3.4.500 -Tenant 'Tenant1'

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Microsoft Dynamics NAV 2017 - create Extensions | Windows PowerShell ISE

    Could you tell me where exactly can i find this information ?

  • Mohana Yadav Profile Picture
    Mohana Yadav 60,153 Super User 2025 Season 1 on at
    RE: Microsoft Dynamics NAV 2017 - create Extensions | Windows PowerShell ISE

    you can find tenant name in your server address which you are using to connect from RTC

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Microsoft Dynamics NAV 2017 - create Extensions | Windows PowerShell ISE

    It is for Azure

  • Amol Salvi Profile Picture
    Amol Salvi 18,694 on at
    RE: Microsoft Dynamics NAV 2017 - create Extensions | Windows PowerShell ISE

    For Tenant id check this blog

    blogs.technet.microsoft.com/.../get-windows-azure-active-directory-tenant-id-in-windows-powershell

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

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Tip: Become a User Group leader!

Join the ranks of valued community UG leaders

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,489 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,305 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans