Working with Models in Dynamics 365 for Operations (AX7)

by | Updated November 5, 2020 | 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.

Related Posts

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

november

05nov11:00 am12:00 pmConfab with Stoneridge - Livestream - Project Oakdale: The NEW Integration of Power Platform into Teams

18nov10:00 am10:30 amThe Modern Manufacturer - Tears and Trauma of MRP

19nov11:00 am12:00 pmConfab with Stoneridge - Livestream - Project Oaktree: NEW Functionality for Dynamics 365 Manufacturing

december

02dec9:00 am12:00 pmOnline Workshop - Dynamics GP Year End Close (Morning Session)

03dec11:00 am12:00 pmConfab with Stoneridge - Livestream: Live Agents, Power Virtual Agents, Omnichannel – Oh My!

03dec1:00 pm4:00 pmOnline Workshop - Dynamics GP Year End Close (Afternoon Session)

09dec10:00 am10:30 amThe Modern Manufacturer - Manufacturing Policy Management

17dec11:00 am12:00 pmConfab with Stoneridge - Livestream - Technology in 2020: A Year in Review

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