web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Answered

How to remove model from Dev box

(0) ShareShare
ReportReport
Posted on by 4,131

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,

I have the same question (0)
  • Verified answer
    WillWU Profile Picture
    22,363 on at

    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?

  • Suggested answer
    Adria Ariste Profile Picture
    User Group Leader on at

    Hi Yuji,

    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!

  • Verified answer
    Sukrut Parab Profile Picture
    71,735 Moderator on at

    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.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Giorgio Bonacorsi Profile Picture

Giorgio Bonacorsi 617

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 461 Super User 2026 Season 1

#3
Syed Haris Shah Profile Picture

Syed Haris Shah 298 Super User 2026 Season 1

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans