Compartir a través de


How to: Add a Microsoft Dynamics NAV Company

This topic describes how to add a new company to a Microsoft Dynamics NAV database on a computer or virtual machine. To add a Microsoft Dynamics NAV company, you use the New-NAVCompany cmdlet of the Microsoft Dynamics NAV 2013 R2 Administration Shell.

Tip

You can also create a company from the Microsoft Dynamics NAV Windows client or Microsoft Dynamics NAV Web client. For more information, see How to: Create Companies.

To add a Microsoft Dynamics NAV company

  1. On the computer that is running the Microsoft Dynamics NAV Server, run Microsoft Dynamics NAV Administration Shell as an Administrator.

    1. Choose Start, in the Search box, type Microsoft Dynamics NAV Administration Shell.

    2. Right-click the related link, and then choose Run as Administrator.

  2. At the command prompt, type the following command:

    New-NAVCompany -ServerInstance <NAVServerInstance> -CompanyName <MyCompanyName>
    

    Or if you have a multitenant Microsoft Dynamics NAV deployment, then type the following command:

    New-NAVCompany -ServerInstance <NAVServerInstance> -CompanyName <MyCompanyName> -Tenant <TenantId>
    

    Change the following parameter values.

    Parameter Description

    <NAVServerInstance>

    Specifies the Microsoft Dynamics NAV Server instance that the company uses, such as DynamicsNAV71.

    <MyCompanyName>

    Specifies the name of the company that you want to create. If a company with that name already exists in the Microsoft Dynamics NAV database, the cmdlet fails.

    <TenantId>

    Specifies the ID of the tenant that the company must be created in, such as Tenant1. This parameter is required unless the specified service instance is not configured to run multiple tenants.

    Note

    The command that is shown includes only a subset of all the parameters of the New-NavCompany cmdlet. For more information about the syntax and parameters, see New-NAVCompany topic in the Administration Cmdlets for Microsoft Dynamics NAV section of the Technical Reference.

  3. Press Enter to run the cmdlet.

    A new Microsoft Dynamics NAV company that has the specified name is created.

See Also

Tasks

How to: Add a Microsoft Dynamics NAV Web Server Instance
How to: Add a Microsoft Dynamics NAV Database
How to: Add a Microsoft Dynamics NAV Server Instance
Changing the Size of a Windows Azure Virtual Machine

Concepts

Scaling the Microsoft Dynamics NAV Network Topology
Deploying and Managing Microsoft Dynamics NAV 2013 R2 on Windows Azure