Delete a particular model/package in D365 Finance and Operations

How to delete a particular model/package in Dynamics 365 for Finance and Operations

Developers face a setback when they could not delete model/packages in Dynamics 365 Finance and Operations. Using Visual Studio, one can create or update the model/package but cannot delete it.

Given below are the steps to delete a model/package in Dynamics 365 Finance & Operations

  1. Initially, log into Microsoft Visual Basic using Administrator credentials.
  2. It is recommended to store a backup of your code before deleting the model, to revert it for future usage.
  3. In Visual Studio, Under Dynamics 365 tab, navigate to Model management and select Update model parameters.
  4. In the Update model parameters window, select your model name from the drop-down menu listed alphabetically.
  5. Stop the following services
    • AOS web service
    • Batch Management Service
  6. Now, select your model directory using the path/folder given below to delete it (Ex: C:\AOSService\PackagesLocalDirectory\Ajit_Numseq). The model/package has been deleted.
  7. Restart the services which you had stopped before deleting the model.
    • AOS web service
    • Batch Management Service
  8. Refresh the model. In Microsoft Visual Studio, Under Dynamics 365 tab, select Model management and choose Refresh models.
  9. Finally, execute a full database synchronization. Select Dynamics 365 tab in Visual Studio and choose Synchronize database

To know more about how we can help you in Dynamics 365, click here.

Tags: Dynamics 365
previous post: How To Add A Workspace In Dynamics 365 Finance And Operations next post: Change the dashboard banner or logo in D365 Finance and Operations