This topic describes how to run the Sync-NAVTenant cmdlet to synchronize the business data (tenant) database schema with the application database.

To run the Sync-NAVTenant cmdlet

  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:

     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.

  3. Press Enter to run the cmdlet.

See Also