Applies to Product – Dynamics 365 Intelligent Order Management
What’s happening?
The Intelligent Order Management (IOM) update fails with an error indicating that a component cannot be deleted because it is referenced by other components.
Reason:
The failure is typically caused by dependencies between components within the IOM solution. Specifically, the error message states that the component cannot be deleted because it is referenced by one or more other components.
Resolution:
- Use the RetrieveDependenciesForDeleteRequest to identify the components that are referencing the one you are trying to delete. This will provide a list of dependencies that need to be addressed before proceeding with the deletion.
- Ensure that you are using the 'Upgrade' mode when importing the IOMApplication cab file. If the 'Upgrade' mode was not used previously, import the file again with 'Upgrade' mode.
- After successfully importing the IOMApplication cab file in 'Upgrade' mode, proceed to import the attached IOMOrderCore_managed.cab file, also using 'Upgrade' mode.
- Retry updating the IOM app from the Power Platform Admin Center (PPAC).
- If Inventory Visibility (IV) is installed alongside IOM in the same Dataverse environment, ensure that the IV add-in is installed before IOM. Avoid using the IOM to call the IV plugin; instead, use the IV API for all IV calls to prevent conflicts.
