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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

Difference between Model store deployment and XPO deployment

(0) ShareShare
ReportReport
Posted on by

Hi All,

Please explain the difference between Model store deployment and XPO deployment technically,

Regards,

Akbar

*This post is locked for comments

I have the same question (0)
  • Verified answer
    Martin Dráb Profile Picture
    239,303 Most Valuable Professional on at

    When you transfer a modelstore from a test environment to producution, you're taking a complete application, therefore you're sure that you're delivering what you've tested.

    Importing .xpo files is an equivalent of writing code by hand, therefore it's not intended for deploying applications. You pick just some objects, therefore what you'll create in production may be something else than what you tested (e.g. because you delivered just some objects or because you didn't merge code in production correctly) and you start testing this new application only in production. It's risky and difficult to track.

    .xpo files don't even allow transferring some kind of changes. For example, if I delete a class, how can I deploy this change via XPO? I would have to delete the class manually from production. It matters, because if you keep such objects in production, nobody maintains them and they can cause compilation failures in production.

    Speaking of compilation, you don't have to waste time with compilation in production if you deploy a modelstore; it already contains compiled code. If you do development in production (manually or through .xpo), you must compile the whole application there and generate CIL.

    To import an .xpo to the right layer, you also need permissions to access the layer and none object may have changes in any higher layer. You don't have to care about these things with modelstore deployment; you simply installed the application.

    Make sure you read Deploying Customizations Across Microsoft Dynamics AX 2012 Environments; it'll give you some extra details.

  • Akbarpasha Profile Picture
    on at

    Thank you very much Martin for the great information.

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
CP04-islander Profile Picture

CP04-islander 26

#2
imran ul haq Profile Picture

imran ul haq 8

#3
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 4 Super User 2026 Season 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans