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
- Understand
Source and Target Systems
- AX
2012 Version: CU/Hotfix applied.
- D365FO
environment: Target modules and legal entities.
- 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.
- Define
Migration Scope
- Decide
whether to migrate:
- Only
open balances (common in financial migration).
- Historical
data (if required for reporting or legal compliance).
- Identify
Data Volume and Complexity
- Check
number of records, customizations, and integrations.
- Identify
any custom tables or fields in AX 2012.
- Create
Data Migration Plan & Timeline
- Include
dependencies, sequencing, and downtime considerations.
Step 2: Data Cleansing & Preparation
- Clean
Source Data
- Remove
duplicates, incorrect or incomplete records.
- Standardize
formats (like phone numbers, addresses, units of measure).
- Map
Data Entities
- Map
AX 2012 tables to D365FO Data Entities.
- Example:
AX CustTable → D365 CustomersV3Entity.
- Define
Field Mapping
- Map AX
fields to D365FO fields.
- Handle
renamed fields, new fields, or fields no longer used.
- Identify
Transformation Rules
- Currency
conversions, date format changes, dimensions, unit conversions.
Step 3: Set Up D365FO Environment
- Create
Legal Entities, Ledger, and Parameters
- Configure
chart of accounts, posting profiles, dimensions.
- Set
Up Data Management Framework (DMF)
- Go
to Data Management workspace → Data Entities → ready for
import.
- Create
Import/Export projects.
- Install
LCS Tools if needed
- Use Lifecycle
Services (LCS) for environment setup and package deployment.
Step 4: Extract Data from AX 2012
- Use
AX 2012 tools
- SQL
Server Export for large volume data.
- Data
import/export framework (DIXF) for standard entities.
- Export
Master Data first
- Customers,
vendors, items, dimensions, chart of accounts.
- Export
Open Transactions
- Open
AR, AP, Inventory, Fixed Assets, Bank balances.
- Format
Data
- Convert
data into CSV, Excel, or XML suitable for D365FO Data Entities.
Step 5: Transform Data for D365FO
- Clean
& Validate Extracted Data
- Remove
invalid references.
- Ensure
dimension combinations are valid in D365.
- Apply
Transformation Rules
- Example:
Map AX Inventory status → D365 Inventory dimensions.
- Convert
currencies, UOMs, date formats as per D365FO standards.
- Prepare
Data Packages
- Split
into multiple DMF packages if necessary (e.g., Customers, Vendors,
Items, Balances).
Step 6: Import Data into D365FO
- Use
Data Management Workspace
- Go
to Data Management → Import → Create Project
- Add
Entities: e.g., Customers, Vendors, Items.
- Attach
your data files.
- Validate
Data Before Import
- D365FO
provides validate button to check errors before import.
- Import
Master Data First
- Sequence
is crucial:
- Legal
entities, charts of accounts
- Dimensions
- Customers
& Vendors
- Items,
Inventory dimensions
- Import
Open Transactions
- AR/AR
balances, Inventory opening balances, Fixed assets, Bank balances.
- Check
for Errors
- Use Execution
summary in DMF to fix errors.
- Repeat
import if required.
Step 7: Data Validation & Reconciliation
- Validate
Master Data
- Check
key entities in D365FO vs AX 2012 (Customer IDs, Item IDs).
- Validate
Balances
- AR/AP
balances, GL balances, Inventory quantities.
- Perform
trial reconciliations.
- Check
Custom Fields & Entities
- Ensure
custom fields (if migrated) are populated correctly.
- Audit
Logs
- Maintain
logs for regulatory and troubleshooting purposes.
Step 8: Cutover & Go-Live Preparation
- Freeze
AX 2012
- Stop
posting transactions in AX 2012 before cutover.
- Final
Migration Run
- Repeat
data extraction, transformation, and import for open balances.
- User
Acceptance Testing (UAT)
- End-users
verify master data and transactions in D365FO.
- Go-Live
- Switch
production to D365FO.
Step 9: Post-Go-Live Activities
- Monitor
Transactions
- Ensure
postings work correctly.
- Support
Users
- Handle
any data discrepancies, missing references, or errors.
- Archive
AX 2012 Data
- Keep
historical AX 2012 data in a read-only archive for compliance.
Step 10: Tools & Tips
- 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
- 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.