⭐ FEATURED ARTICLE
Get up and running with DvSchemaSync in under 10 minutes. This guide walks you through installation, connecting to your Dataverse environment, connecting to Azure SQL, and running your first synchronization.
Prerequisites
Before you begin, ensure you have the following information ready:
Dataverse Environment URL: Your organization's Dataverse URL (e.g., https://yourorg.crm.dynamics.com)
Dataverse Authentication: A Microsoft Entra App Registration with Client ID, Client Secret, and Tenant ID. This is required for connecting to Dataverse.
Azure SQL Connection Details: Server name, database name, and either a Microsoft Entra App Registration or SQL Server authentication credentials (username and password).
Need help with authentication setup? If you haven't yet configured your Microsoft Entra App Registration, Dataverse permissions, or Azure SQL Database, see Section 2: Configuration & Prerequisites for detailed step-by-step guidance on setting up these requirements.
Step 1: Install DvSchemaSync
- Download the latest version of DvSchemaSync from the Mission Impact Partners download portal.
- Run the installer (DvSchemaSyncSetup.exe) and follow the on-screen prompts.
- If prompted to install the .NET 8.0 Runtime, click Yes to download and install it.
- Once installation completes, launch DvSchemaSync from the Start menu or desktop shortcut.
Step 2: Add Your Dataverse Connection
- From the main screen, click Manage → to open Connection Management.
- Click the + New button in the Saved Connections panel.
- Select Dataverse from the Connection Type dropdown.
- Enter a Connection Name (e.g., "Production CRM").
- Enter your Dataverse URL (e.g., https://yourorg.crm.dynamics.com).
- Enter your Microsoft Entra App Registration details:
- Tenant ID (Directory ID)
- Client ID (Application ID)
- Client Secret
- Click Test to verify your settings.
- Click Save to store the connection securely in Windows Credential Manager.
Step 3: Add Your Azure SQL Connection
- In Connection Management, click + New again.
- Select SQL Server from the Connection Type dropdown.
- Enter a Connection Name (e.g., "Reporting Database").
- Enter your SQL Server name (e.g., yourserver.database.windows.net).
- Enter the SQL Database name.
- Select your Authentication Mode:
- Windows Authentication: Uses Microsoft Entra App Registration. Enter Tenant ID, Client ID, and Client Secret.
- SQL Server Authentication: Uses SQL username and password.
- Click Test to verify your settings.
- Click Save to store the connection.
- Click ← Back to return to the main screen.
Step 4: Run Your First Sync
- From the main screen, click Start Sync → to launch the sync wizard.
- Step 1: Dataverse Connection — Select your saved Dataverse connection from the dropdown, then click Next →. Select ‘Refresh’ if not connections immediately appear.
- Step 2: SQL Server Connection — Select your Azure SQL connection from the dropdown, then click Next →.
- Step 3: Sync Options — Select the tables you want to synchronize. Start with a small table for your first sync.
- Review the Synchronization Options (create tables, update schemas, truncate data).
- Click Next → to begin synchronization.
- Monitor the Sync Progress screen. You'll see real-time updates showing Total, Done, Active, Errors, and Records counts.
- Once complete, verify your data in Azure SQL using your preferred query tool.
✓ Congratulations! You've successfully completed your first Dataverse to Azure SQL synchronization.
Next Steps
• Explore the Performance Settings page to optimize sync speed for your environment
• Learn about selecting specific columns in the Selecting Tables & Columns article
• Try generating test data with the Dummy Data Generation feature