Notifications
Announcements
No record found.
Hi,
I developed a custom model on the dev Box, and I would like to remove the model/package. I tried to delete the package folder under PackagesLocalDirectory, the system did not allow me to do so.
Thanks,
Hi Yuji,
Following this blog:
https://community.dynamics.com/365/financeandoperations/b/howtodynamics365/posts/how-to-delete-model-in-dynamics-365
Have you stopped the AOS web service and the Batch Management Service?
are you logged in as the admin user? It should allow you to delete the model folder, try closing VS first and stopping IIS/killing IIS Express before deleting, sometimes there's some files in use that cannot be deleted. Is it a MS subscription VM without admin access? In that case I still think you should be able to do the same.
You can try with the ModelUtil (in your PackagesLocalDirectory bin folder): ModelUtil.exe -delete -metadatastorepath=[path of the metadata store] -modelname=[name of the model to delete]
Adrià Ariste - Senior technical consultant @ Axazure - Read my blog!
Make sure to stop all services like MR , batch , Data import /export. Stop IIS close VS delete folder then come back and refresh model.
.
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.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Martin Dráb 503 Most Valuable Professional
André Arnaud de Cal... 434 Super User 2025 Season 2
BillurSamdancioglu 278 Most Valuable Professional