While trying to delete a custom public view (Test View) in Dataverse, we encountered the following error:
“The SavedQuery(<GUID>) component cannot be deleted because it is referenced by 1 other component. For a list of referenced components, use the RetrieveDependenciesForDeleteRequest.”
This usually means that the view we’re trying to delete is still being referenced somewhere else in our environment — and Dataverse is safeguarding against breaking things.

Depedencies was pointing to the Lead form.

The lead form had the campaign lookup and the test view was one of the selected views in “Allow users to change view”.
This means even if the view wasn’t the default for that lookup, the form still allowed users to switch to it, and that counts as a dependency.


Removing it from the list and publishing the changes allowed us to delete the view.


Note – Also check if it is being used as a Subgrid, if so temporarily remove the subgrid from the form to delete the view and than add the subgrid back.
Hope it helps..
Discover more from Nishant Rana's Weblog
Subscribe to get the latest posts sent to your email.

One thought on “Failed to delete View (View Name). Object dependencies exist, please review before deleting error in Dataverse”