Breaking news from around the world
Get the Bing + MSN extension
Now Available in Community - MBAS 2019 Presentation Videos
Catch the most popular sessions on demand and learn how Dynamics 365, Power BI, PowerApps, Microsoft Flow, and Excel are powering major transformations around the globe. | View Gallery
2019 release wave 2 Discover the latest updates to Dynamics 365Release overview guides and videos Release Plan | Early Access Availability
Ace your Dynamics 365 deployment with packaged services delivered by expert consultants. | Explore service offerings
Connect with the ISV success team on the latest roadmap, developer tool for AppSource certification, and ISV community engagements | ISV self-service portal
The FastTrack program is designed to help you accelerate your Dynamics 365 deployment with confidence.
FastTrack Program | Finance TechTalks | Customer Engagement TechTalks | Talent TechTalks | Upcoming TechTalks
The new Windows Powershell tools for Microsoft Dynamics AX are very useful. I recently encountered a problem that thankfully is easy to avoid and in this case was easy to solve.
Commands to view models by name
When removing or uninstalling a model from AX using PowerShell, the standard method is to specify the model name as a parameter. For example:
Uninstall-AXModel -Model CustomAxModelFileName.model
I recently came across an environment that had two models with the same name. While trying to uninstall the models I received an error:
“…multiple models exist with the same name.”
At first I tried to identify the model by other object properties and renaming a model. This may be possible however I was unsuccessful and being in a time constraint I did not have time to polish my PowerShell skills. The layer system of AX nevertheless saved the day! I was able to change the command to remove all models in a specific layer and remove the intended models.
Uninstall-AXModel -Layer isp
This might be a way to keep momentum in the setup process when there are only a few models installed. Another great tool is the AxBuild.exe tool available in CU7.
Complete information can be found on Technet here:
Model on DAX friends!
Microsoft Certified Technology Specialist More ...
Microsoft Dynamics AX is a robust ERP and Lean manufacturing enabler. The latest release, Dynamics AX 2012, combines the powerful planning and execution features required of comprehensive ERP integrated with the features of Lean to assist the "blended" manufacturer. Contact Agility Business Solutions, Inc. to learn more.
Business Applications communities