Data Migration from AX 2012 to Dynamics 365 Finance and Operations (D365FO)

 

Data Migration from AX 2012 to Dynamics 365 Finance and Operations (D365FO) is a critical process that requires careful planning, preparation, and execution. I’ll give you a step-by-step, detailed guide covering the full lifecycle.


Step 1: Planning & Analysis

  1. Understand Source and Target Systems
    • AX 2012 Version: CU/Hotfix applied.
    • D365FO environment: Target modules and legal entities.
  2. Identify Data to Migrate
    • Master Data: Customers, Vendors, Items, Chart of Accounts, Units, etc.
    • Transaction Data: Open balances, posted transactions, historical data.
    • Configuration Data: Dimension setups, parameters, financial periods.
  3. Define Migration Scope
    • Decide whether to migrate:
      • Only open balances (common in financial migration).
      • Historical data (if required for reporting or legal compliance).
  4. Identify Data Volume and Complexity
    • Check number of records, customizations, and integrations.
    • Identify any custom tables or fields in AX 2012.
  5. Create Data Migration Plan & Timeline
    • Include dependencies, sequencing, and downtime considerations.

Step 2: Data Cleansing & Preparation

  1. Clean Source Data
    • Remove duplicates, incorrect or incomplete records.
    • Standardize formats (like phone numbers, addresses, units of measure).
  2. Map Data Entities
    • Map AX 2012 tables to D365FO Data Entities.
    • Example: AX CustTable → D365 CustomersV3Entity.
  3. Define Field Mapping
    • Map AX fields to D365FO fields.
    • Handle renamed fields, new fields, or fields no longer used.
  4. Identify Transformation Rules
    • Currency conversions, date format changes, dimensions, unit conversions.

Step 3: Set Up D365FO Environment

  1. Create Legal Entities, Ledger, and Parameters
    • Configure chart of accounts, posting profiles, dimensions.
  2. Set Up Data Management Framework (DMF)
    • Go to Data Management workspace → Data Entities → ready for import.
    • Create Import/Export projects.
  3. Install LCS Tools if needed
    • Use Lifecycle Services (LCS) for environment setup and package deployment.

Step 4: Extract Data from AX 2012

  1. Use AX 2012 tools
    • SQL Server Export for large volume data.
    • Data import/export framework (DIXF) for standard entities.
  2. Export Master Data first
    • Customers, vendors, items, dimensions, chart of accounts.
  3. Export Open Transactions
    • Open AR, AP, Inventory, Fixed Assets, Bank balances.
  4. Format Data
    • Convert data into CSV, Excel, or XML suitable for D365FO Data Entities.

Step 5: Transform Data for D365FO

  1. Clean & Validate Extracted Data
    • Remove invalid references.
    • Ensure dimension combinations are valid in D365.
  2. Apply Transformation Rules
    • Example: Map AX Inventory status → D365 Inventory dimensions.
    • Convert currencies, UOMs, date formats as per D365FO standards.
  3. Prepare Data Packages
    • Split into multiple DMF packages if necessary (e.g., Customers, Vendors, Items, Balances).

Step 6: Import Data into D365FO

  1. Use Data Management Workspace
    • Go to Data Management → Import → Create Project
    • Add Entities: e.g., Customers, Vendors, Items.
    • Attach your data files.
  2. Validate Data Before Import
    • D365FO provides validate button to check errors before import.
  3. Import Master Data First
    • Sequence is crucial:
      1. Legal entities, charts of accounts
      2. Dimensions
      3. Customers & Vendors
      4. Items, Inventory dimensions
  4. Import Open Transactions
    • AR/AR balances, Inventory opening balances, Fixed assets, Bank balances.
  5. Check for Errors
    • Use Execution summary in DMF to fix errors.
    • Repeat import if required.

Step 7: Data Validation & Reconciliation

  1. Validate Master Data
    • Check key entities in D365FO vs AX 2012 (Customer IDs, Item IDs).
  2. Validate Balances
    • AR/AP balances, GL balances, Inventory quantities.
    • Perform trial reconciliations.
  3. Check Custom Fields & Entities
    • Ensure custom fields (if migrated) are populated correctly.
  4. Audit Logs
    • Maintain logs for regulatory and troubleshooting purposes.

Step 8: Cutover & Go-Live Preparation

  1. Freeze AX 2012
    • Stop posting transactions in AX 2012 before cutover.
  2. Final Migration Run
    • Repeat data extraction, transformation, and import for open balances.
  3. User Acceptance Testing (UAT)
    • End-users verify master data and transactions in D365FO.
  4. Go-Live
    • Switch production to D365FO.

Step 9: Post-Go-Live Activities

  1. Monitor Transactions
    • Ensure postings work correctly.
  2. Support Users
    • Handle any data discrepancies, missing references, or errors.
  3. Archive AX 2012 Data
    • Keep historical AX 2012 data in a read-only archive for compliance.

Step 10: Tools & Tips

  1. Tools to Use
    • Data Management Framework (DMF) – Main D365FO tool
    • SQL Server Management Studio (SSMS) – Extract large data sets
    • Lifecycle Services (LCS) – Manage project and environment
    • PowerShell scripts – Automate repetitive data import tasks
  2. Best Practices
    • Always start with a sandbox migration before production.
    • Migrate in logical order: Master → Opening Balances → Transactions.
    • Maintain detailed mapping documentation.
    • Automate repetitive validations using Excel or Power BI.

Table Browser in Dynamics 365FO

Copy D365FO Table Browser URL /?cmp=usmf&mi=SysTableBrowser&tablename= URL :  https://usnconeboxax1aos.cloud.onebox.dynamics.com...