Question 360
A Dynamics 365 Business Central development project faces this issue: A deployment failure occurs after a dependent extension is removed without first checking references. Which action best addresses the requirement?
Explanation
Correct Answer
This resolves the scenario's main defect: Deleting a shared prerequisite can break dependents and their objects. A practical validation is: The removal plan rejects an unsafe dependency order and validates the retained extensions.
Incorrect Answers
That change would address a different situation: A compiler succeeds but the extension fails only while users post sales invoices in a sandbox. Here the key constraint is that deleting a shared prerequisite can break dependents and their objects. The intended verification is The removal plan rejects an unsafe dependency order and validates the retained extensions.
The proposed step is suitable when an app update introduces a new setup record but the install codeunit does not handle existing tenants. It misses this case: A deployment failure occurs after a dependent extension is removed without first checking references. The relevant action is Review dependency relationships and uninstall sequencing before changing the app stack.
This alternative addresses the separate case “A product owner receives a compiled app file with no clear installation instructions for local administrators”. Successful deployment needs an operating procedure as well as an .app artifact. The deciding requirement here is “Review dependency relationships and uninstall sequencing before changing the app stack”.