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

ISV Model update

(0) ShareShare
ReportReport
Posted on by 30

Hi,

I have received a new version of an ISV model (axmodel file). I deleted the old model and imported the new model in a development environment. I need to update the model on source control (VSTS/Devops). My question is: Do I delete the existing model folder in Source control before adding the new model?

I have the same question (0)
  • Verified answer
    Mariano Gracia Profile Picture
    on at
    RE: ISV Model update
    1. Delete the model and check-in the delete in the source control.
    2. Install the new model and check-in in the source control.
    3. Once in the development branch everything is updated as expected, merge the two check-in your next branch.
  • Macara T Profile Picture
    30 on at
    RE: ISV Model update

    Thanks Mariano!

    For step 1, I deleted the model using ModelUtil.exe and then deleted the model folder in PackagesLocalDirectory and refreshed models in VS. But I don't see any "pending changes" to check in.

  • André Arnaud de Calavon Profile Picture
    300,721 Super User 2025 Season 2 on at
    RE: ISV Model update

    Hi Macara,

    Distributing ISV solutions with help of model files is not recommended. The distribution of code with deployable package is the better method. 

    Create deployable packages of models - Finance & Operations | Dynamics 365 | Microsoft Docs

    Apply updates to cloud environments - Finance & Operations | Dynamics 365 | Microsoft Docs

    I do hope the ISV is using a source control system themselves.

  • Macara T Profile Picture
    30 on at
    RE: ISV Model update

    Thanks André Arnaud de Calavon.

    We are on the new deployment model for D365 v10 and the deployment package should include all current models. I need to delete the old model from source control and add the updated model so our build agent can pull the right models to do the deployment package build. I will need to check in a changeset to delete the old model from source control before adding the updated model. However, when I delete the model in the development environment I am seeing the changes to check in.

  • Macara T Profile Picture
    30 on at
    RE: ISV Model update

    Correction to my previous reply:

    However, when I delete the model in the development environment I am NOT seeing the changes to check in.

  • André Arnaud de Calavon Profile Picture
    300,721 Super User 2025 Season 2 on at
    RE: ISV Model update

    Hi Macara,

    I understand that the current way of installing your ISV updates is different compared to the recommended approach. Have you verified with the ISV vendor if there are any changes in the new model compared to your previous model?

  • Macara T Profile Picture
    30 on at
    RE: ISV Model update

    Yes, there are changes as it's a new version. I will check with the vendor about the proper way to update source control.

  • cdgriffin Profile Picture
    2 on at
    ISV Model update
    For others that wind up here trying to find the answer, I think the original asker of the question was physically deleting the file and expecting the deletions to show up in Pending Changes. This is not how it works. To delete from the repo, you must right click the objects in Source Control Explorer and select "Delete" from there.  Then you will see a Pending Change of the deletions that can be checked in.  After you check it in, you can come back and verify that the folders are gone/empty.  Afterwards, you can work on installing the new model and adding it to source control.

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…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

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

#1
Martin Dráb Profile Picture

Martin Dráb 683 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

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

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 398 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans