web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Suggested Answer

AX2012 R3 to D365 FO Self-Service Upgrade – Step 10 Fail: Missing View DimAttributeOMRetailChannel

(4) ShareShare
ReportReport
Posted on by 16
Hi everyone,
 
We’re currently performing a self-service AX 2012 to D365 Finance data upgrade using the Data Migration Tool (DMT). The upgrade has reached Step 10 – "Execute Script - PostSync - Wait for batch", but it’s failing with the following error:
 
Dimension synchronization failed. The backing view DimAttributeOMRetailChannel for the financial dimension 'RetailChannel' does not exist.
Batch task failed: Dimension synchronization failed.

We noticed that the RetailChannel dimension still exists in the DimensionAttribute table, but its corresponding backing view (DimAttributeOMRetailChannel) is missing in SQL.
 
Has anyone faced this during a Step 10 failure in a self-service data upgrade scenario? What approach worked to resolve it?
 
We’ve already raised a ticket with Microsoft support, but unfortunately, we haven’t received a helpful resolution yet. Would really appreciate insights from anyone who has encountered and resolved this in past upgrade projects.
 
Thanks in advance for your support!
I have the same question (0)
  • Suggested answer
    Saif Ali Sabri Profile Picture
    2,351 Super User 2025 Season 2 on at
    You're encountering a Step 10 failure during the self-service upgrade from AX 2012 R3 to D365 Finance due to a missing backing view for the 'RetailChannel' dimension – specifically, DimAttributeOMRetailChannel. This is a known issue in some AX 2012 environments, especially where Retail was previously implemented and then partially removed or where Retail-related dimensions were not fully cleaned up.

    Root Cause
    The error:
    rust
    CopyEdit
    Dimension synchronization failed. The backing view DimAttributeOMRetailChannel for the financial dimension 'RetailChannel' does not exist.
    means that the RetailChannel dimension exists in the DimensionAttribute table but the corresponding view (DimAttributeOMRetailChannel) is missing in SQL, which is required for dimension synchronization to succeed during the upgrade.
    This often occurs in environments where the Retail module was either removed or partially uninstalled from AX 2012, but the dimension metadata was left behind.

    Solution
    You must remove the orphaned financial dimension metadata before the script in Step 10 can succeed.
    ⚠️ Warning: Make sure to back up the upgraded D365 FO database (UAT or sandbox copy) before running these queries. Never run this directly on production.

    🔧 Step-by-Step Fix
    1. Connect to the target upgraded SQL database (the D365 FO database you're upgrading to).
    2. Check if the RetailChannel dimension still exists:
    sql
    CopyEdit
    SELECT * FROM DimensionAttribute
    WHERE Name = 'RetailChannel';
    1. If it exists, delete the orphaned RetailChannel dimension manually:
    sql
    CopyEdit
    DELETE FROM DimensionAttribute
    WHERE Name = 'RetailChannel';
    1. Also remove any references in related tables (optional, but ensures clean removal):
    sql
    CopyEdit
    DELETE FROM DimensionAttributeValue
    WHERE DimensionAttribute IN (
        SELECT RecId FROM DimensionAttribute WHERE Name = 'RetailChannel'
    );
    1. Restart Step 10 in LCS:
      • Go to LCS → Project → Data Upgrade → Step 10: Execute Post-Sync Script.
      • Click Resume or Retry the step.

    🔄 Alternative (if you're using a custom RetailChannel)
    If you're using a custom dimension tied to OMRetailChannel, make sure:
    • The backing view DimAttributeOMRetailChannel exists in the upgraded D365 FO schema.
    • If it's missing, you may need to re-add the table/view as part of your customization and regenerate the financial dimensions using DimensionProcessor logic in X++.
    But based on your description, it seems the module was removed, and the dimension is no longer relevant.

    Final Notes
    • This kind of issue is not uncommon in upgrades from AX 2012 R3 environments where Retail was installed at some point.
    • Microsoft typically recommends removing unused or legacy financial dimensions from AX 2012 before exporting the data or before running the DMT.
    • You're doing the right thing raising a ticket, but this manual cleanup is often the only quick way forward.

    Let me know if you need a script to verify orphaned dimensions more broadly, or if RetailChannel was actually used and needs to be restored.
     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Martin Dráb Profile Picture

Martin Dráb 646 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 529 Super User 2025 Season 2

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 285 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans