12 Dec’16

Dynamics 365, EnterpriseModel Import/Export in Dynamics 365 Operations

In this blog article, we will see how we can export model in a model file, then import model file in development environment and delete existing model in development environment.


  1. D3fO Environments.


  1. Export Model in a Model File.
  2. Import Model File.
  3. Resolve Conflicts.
  4. Build and Synchronize Model.

Export Model
To export a model in a model file, use the ModelUtil.exe tool which is located in j:\AOSService\PackagesLocalDirectory\Bin and the -export directive.

ModelUtil.exe -export -metadatastorepath= [path of the metadata store] -modelname=[name of the model to export] -outputpath=[path of folder where model file should be saved]


Import Model
To install a model file in development Environment, use the ModelUtil.exe tool and the -import directive.

ModelUtil.exe -import -metadatastorepath=[path of the metadata store where model should be imported] -file=[full path of the file to import]


If the model already exists in Development Environment, then first delete the model using ModelUtil.exe tool and -delete directive.

ModelUtil.exe -delete -metadatastorepath=[path of the metadata store] -modelname=[name of the model to delete]


Resolve Conflicts
If the model you installed has customizations in higher layer, you need to resolve code or metadata conflicts.

Under Dynamics 365 -> Addins -> select Create Project from Conflicts.

  1. In dialog box, select the model you installed, to check for conflicts.
  2. Click Create Project.
  3. New Project is created with elements having conflicts. Resolve the conflicts.

Build and Synchronize
Build the Model and Synchronize the Database.

Written by

Team Member


Leave a Reply

Your email address will not be published. Required fields are marked *

Time limit is exhausted. Please reload the CAPTCHA.

Want to streamline your business processes?

  • This field is for validation purposes and should be left unchanged.

Recent Articles

  • Dynamics 365 Client Diagnostics

    15 March’ 2018

    Main cause of Performance Issues: Bandwidth and latency are the primary characteristics which affects the performance o...

    Read more
  • Closing Blind Shift in MPOS and CPOS in Dynamics 365 for Retail

    15 March’ 2018

    Manual For closing Blind shift in POS: Blind shifts terminate the currently ongoing shift and when logged in a new shif...

    Read more
  • Persistent Filters in the Power BI Service

    13 March’ 2018

    Introduction: The feature is finally release, and it is power BI has announced general availability of persistent filt...

    Read more
  • Cause and Solution for Scribe MSMQ not receiving Message from AX

    10 March’ 2018

    Issue: Microsoft Message Queuing (MSMQ) service running on Server might be unable to receive messages. Therefore, messa...

    Read more
  • User Privileges on SharePoint – D365 Document Integration

    10 March’ 2018

    Overview: Often, we wonder what could be wrong where we see a generic error on Documents in Dynamics 365. Something lik...

    Read more