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

Notifications

Announcements

Community site session details

Community site session details

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

Deleted model objects still showing while check find all references

(0) ShareShare
ReportReport
Posted on by 107

Hi All,

I completely removed one model and did the synchronize and everything is fine. All the deleted model objects are disappeared from Application Explorer. 

But later while I do find all references for PurchReqTable form I found the deleted model objects in the result. If I click on those object it's not navigating. I am afraid those deleted model changes still available.

Your support is much appreciated.

Regards,

Mohamed Riswan.

I have the same question (0)
  • Suggested answer
    Martin Dráb Profile Picture
    238,524 Most Valuable Professional on at

    If you completely delete a model, its files don't exist and aren't available anymore.

    The feature showing references doesn't look at objects available in your applications. It reads information written in DYNAMICSXREFDB database.

  • Suggested answer
    huijij Profile Picture
    19,811 on at

    Hi Riswan,

    In addition to the above suggestions. Are you trying the steps mentioned below to delete the model?

    www.cloudfronts.com/.../

  • Shwetha Sanjeev Profile Picture
    120 on at

    HI Riswan,

    Did you followed the same steps below mentioned,

    1. Close all instances of Visual Studio.

    2. Stop the following services: AOS web service and Batch Management service.

    3. Delete the package folder C:\AOSService\PackagesLocalDirectory\MyModel1. On cloud-hosted environments this folder may be located on another drive letter such as K:.

    4.Restart the services that you stopped in step 1.

    5.Refresh models from Visual Studio

    6.In Visual Studio, perform a full database synchronization (Visual Studio > Dynamics 365 > Synchronize database).

    Restarting of AOS web service and Batch Management service is important.

    Let me know if you are still facing this problem.

    Thanks,

    Shwetha

  • Riswan Profile Picture
    107 on at

    Hi Martin,

    Yes those deleted objects are available in the DYNAMICSXREFDB. Do I need to delete them explicitly from that DB too to avoid any confusions ?

    If I keep them as such will it make any issues while moving my packages to the sandbox or production ?

    Regards,

    Mohamed Riswan

  • Verified answer
    Martin Dráb Profile Picture
    238,524 Most Valuable Professional on at

    It's used only for developers to see references in Visual Studio; it has no impact on deployment to other environments.

    But you still may want to clean up the database to avoid confusing when using references in Visual Studio in this particular development environment.

  • Riswan Profile Picture
    107 on at

    Thanks Martin.

    Thanks Judy and Shwetha, I already did the mentioned recommendations to remove the 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

Responsible AI policies

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

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
André Arnaud de Calavon Profile Picture

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

#2
Abhilash Warrier Profile Picture

Abhilash Warrier 438 Super User 2025 Season 2

#3
Martin Dráb Profile Picture

Martin Dráb 358 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans