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

Community site session details

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

Delete Model at Test Environment (all-in-one deployable package)

(0) ShareShare
ReportReport
Posted on by 135

hi all,

Since the all-in-one deployable package applied to dynamics 365 finance and operations environment.

i have scenario on this.

DEV : TEST : PROD:
Model1 Model1 Model1
Model2 Model2 Model2
Model3 Model3

on that scenario, Model3 not deploy to Production environment .

if we want to create all-in-one package, we must include Model1, Model2, Model3, right?

but we just need to deploy that model which deployed at Production, Model1 and model2

can we delete the Model3 from Test environment? just because Model3 is no need to deploy to Production.

I have the same question (0)
  • Suggested answer
    nmaenpaa Profile Picture
    101,160 Moderator on at
    RE: Delete Model at Test Environment (all-in-one deployable package)

    Yes you can.

    However there have been some bugs reported, blocking the removal of a model (docs.microsoft.com/.../uninstall-deployable-package). Not sure if it's already been fixed so you need to test it. Please make sure you fulfill all the prerequisites mentioned in the documentation.

  • Verified answer
    WillWU Profile Picture
    22,361 on at
    RE: Delete Model at Test Environment (all-in-one deployable package)

    Hi JoshuaRamaditya,

    Following the steps to remove model:

    docs.microsoft.com/.../models

    Assume the local model store folder is C:\AOSService\PackagesLocalDirectory and your model is named MyModel1.

    1. Stop the following services: AOS web service and Batch Management service.
    2. Delete the model folder C:\AOSService\PackagesLocalDirectory<PackageName>\MyModel1. In this example. PackageName=ApplicationSuite.
    3. Restart the services that were stopped in step 1.
    4. In Visual Studio, refresh your models (Visual Studio > Dynamics 365 > Model management > Refresh models).
    5. In Visual Studio, build the package that the deleted models belonged to (Visual Studio > Dynamics 365 > Build models).
    6. In Visual Studio, perform a full database synchronization (Visual Studio > Dynamics 365 > Synchronize database).
  • Suggested answer
    Sukrut Parab Profile Picture
    71,699 Moderator on at
    RE: Delete Model at Test Environment (all-in-one deployable package)

    yes , you have to first delete model 3 from Test so that structure matches with what you have in PROD and then you should be good. We have done similar things where we deleted bunch of models created due to ax 2012 upgrade  after moving all in to one model using the process  described in the standard documentation.

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Pallavi Phade – Community Spotlight

We are honored to recognize Pallavi Phade as our Community Spotlight honoree for…

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

#1
CA Neeraj Kumar Profile Picture

CA Neeraj Kumar 753

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 752 Super User 2025 Season 2

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 534 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans