How to Add a Microsoft Dynamics NAV Company
This topic describes how to add a new company to a Dynamics NAV database on a computer or virtual machine. To add a Dynamics NAV company, you use the New-NAVCompany cmdlet of the Microsoft Dynamics NAV 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 Dynamics NAV company
On the computer that is running the Microsoft Dynamics NAV Server, run Dynamics NAV Administration Shell as an Administrator.
Choose Start, in the Search box, type Dynamics NAV Administration Shell.
Right-click the related link, and then choose Run as Administrator.
At the command prompt, type the following command:
New-NAVCompany -ServerInstance <NAVServerInstance> -CompanyName <MyCompanyName>
Or if you have a multitenant 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 DynamicsNAV110. <MyCompanyName> Specifies the name of the company that you want to create. If a company with that name already exists in the 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 Dynamics NAV section of the Technical Reference.
Press Enter to run the cmdlet.
A new Dynamics NAV company that has the specified name is created.
See Also
Scaling the Microsoft Dynamics NAV Network Topology
Deploying and Managing Microsoft Dynamics NAV on Microsoft Azure
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