This topic describes how to run the Sync-NAVTenant cmdlet to synchronize the business data (tenant) database schema with the application database. You can use this cmdlet in a multitenant and non-multitenant deployment environment.
To run the Sync-NAVTenant cmdlet
On the computer that is running the Microsoft Dynamics NAV Server, run Microsoft Dynamics NAV Administration Shell as an Administrator.
Choose Start, in the Search box, type Microsoft Dynamics NAV Administration Shell.
Right-click the related link, and then choose Run as Administrator.
At the command prompt, type one of the following commands:
-
If the Microsoft Dynamics NAV Server instance is not configured to be a multitenant instance:
Copy Code Sync-NAVTenant -ServerInstance <ServerInstanceName>
-
If the Microsoft Dynamics NAV Server instance is configured to be a multitenant instance:
Copy Code Sync-NAVTenant -ServerInstance <ServerInstanceName> -Tenant <TenantId>
Change the following parameter values.
Parameter Description <NAVServerInstance>
Specifies the Microsoft Dynamics NAV Server instance.
<TenantId>
Specifies the name of the tenant database.
-
If the Microsoft Dynamics NAV Server instance is not configured to be a multitenant instance:
Press Enter to run the cmdlet.
See Also
Tasks
How to: Add a Microsoft Dynamics NAV Web Server InstanceHow to: Add a Microsoft Dynamics NAV Database
How to: Add a Microsoft Dynamics NAV Server Instance
Concepts
Scaling the Microsoft Dynamics NAV Network TopologyMultitenant Deployment Architecture
Migrating to Multitenancy
Deploying and Managing Microsoft Dynamics NAV on Microsoft Azure