Hey there,
some months ago, I have created a model driven app with very simple functionality. Now this app has been removed by another and I am trying to remove this old app from an managed solution.
But when I remove the app from the solution in my developer environment and deploy the solution to test environment, I got this error:
ImportAsHolding failed with exception :Import failed: The DELETE statement conflicted with the REFERENCE constraint "appmodule_appaction_appmoduleid". The conflict occurred in database "db_crmcoreemea_20220824_09164032_75de", table "dbo.appactionBase", column 'AppModuleId'. The statement has been terminated.
This would mean that there are some records in table appaction, associated with the app I want to delete
But this is not the case. None of records in the table appmodule is related with the app I want to remove (checked in XrmToolBox for Dataverse).
Any idea how to resolve the error and remove the app?