Working with Models in Dynamics 365 for Operations (AX7)

by | Dec 14, 2016 | Dynamics 365 for Finance and Operations

In Dynamics 365 for Operations (AX7) there is a new tool to use to export, import, replace or delete models called modelutil.exe. It is the replacement for Dynamics AX 2012’s axutil.exe. Modelutil.exe is located in the bin directory of your packages folder. For example, on the VM provided by Microsoft the location of the bin directory is “c:\AOSService\PackagesLocalDirectory\bin”. If you open modelutil via a command prompt you can see the different commands it contains by running this command “modelutil.exe /?”.

Here are a couple examples of how to use it:

To delete a model in modelutil use the following command:

To export a model use this command:

Want to know more?

Learn more about the essentials of development in Microsoft Dynamics 365 for Operations with our training courses.

2 Comments

  1. Leonardo Monteiro

    Hi very nice post. But I’m facing an error trying to run ModelUtil.exe through command prompt (running as adm): “This app can’t run on your PC”. I have already tried to disable SmartScreen, give permission to the folder, but nothing works. Can you please help me? Regards, Leo

  2. Brandon Carmichael

    Hello Leo,

    Can you a look at the event viewer, hopefully you will see some additional information to go off of.

    Thanks,
    Brandon

Submit a Comment

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

Upcoming Events

february

26feb12:00 pm1:00 pmShorten your Quote-to-Cash Cycle with CPQ

27feb11:00 am12:00 pmConfab With Stoneridge - Livestream - Cool Features in Dynamics 365 Business Central

march

04mar12:00 pm12:30 pmPower BI & Reporting with Dynamics 365 Customer Engagement

04mar2:00 pm3:00 pmHow to Incorporate the Power Platform with Dynamics 365 Finance and Supply Chain Management

12mar11:00 am12:00 pmConfab With Stoneridge - Livestream - Power Apps AI Builder

18mar12:00 pm1:00 pmMoving from CRM On Prem to the Cloud – Is it worth It?

18mar2:00 pm3:00 pmThe Past, Present, and Future of Dynamics 365 with Machine Learning and Artificial Intelligence

25mar2:00 pm3:00 pmAchieve Total Data Access & Future-Proof Your Reporting

26mar11:00 am12:00 pmConfab With Stoneridge - Livestream - Portals

About Stoneridge
Stoneridge Software is a unique Microsoft Gold Partner, with emphasis on partner. With specialties in Microsoft Dynamics 365, Microsoft Dynamics AX, Microsoft Dynamics NAV, Microsoft Dynamics GP and Microsoft Dynamics CRM, we focus on attracting the most knowledgeable experts in the field to our team, and prioritize delivering stellar solutions with maximum impact for your business. At Stoneridge, we are deeply committed to your results. Each engagement is met with a dedicated team, ready to provide thorough, tailored, and expert service. Based in Minnesota, we intentionally “step into your shoes,” wherever you are. We focus on what you care about, and develop trusting, long-term relationships with our clients.

Subscribe To Our Blog

Sign up to get periodic updates on the latest posts.

Thank you for subscribing!

X