Start with the current system, not the assumed design
Dependency mapping for a legacy application means identifying everything that system relies on to function, and everything that relies on it in return. It is a structured inventory of connections, not a risk score or a database health check. Those are separate concerns covered elsewhere in this guide.
A dependency map typically covers several layers. Infrastructure dependencies include the server operating system, runtime environments, specific library versions and hosting arrangements. Integration dependencies cover other systems the application sends data to or receives data from: payment gateways, accounting packages, third-party APIs, email services and internal tools. Data dependencies describe where the application reads from and writes to, including shared databases, file stores and cached layers. Process dependencies capture the human workflows that surround the system: who logs in, what manual steps happen before or after, and which teams depend on its output.
The distinction matters because each layer carries different constraints. An infrastructure dependency might be resolved by upgrading a server, but an integration dependency might require negotiating access with a third party or rebuilding a data feed. A process dependency might not have a technical fix at all, only a change in how a team works.
Dependency mapping becomes necessary at specific moments: when you are planning to modernise or rebuild a legacy system, when you are taking over an application from another supplier, when you are preparing for a vendor exit, or when you need to understand the blast radius of a change or failure. Without a map, any of these activities becomes guesswork.
Vendor Takeover
When a business inherits a legacy application from a departing supplier, dependency mapping is one of the first practical steps. The outgoing supplier may hand over source code and database credentials, but those assets only have value if you can reconstruct the environment they run in. A dependency map tells you which server versions are required, which third-party API keys need to be transferred or reissued, which DNS records point to the application and which background jobs or scheduled tasks keep it running.
The practical approach is to request the map as part of the handover, then verify it against the live system. Discrepancies between documented and actual dependencies are common, particularly in systems that have been maintained by multiple people over several years.
Modernisation Planning
Before rebuilding or modernising a legacy application, the dependency map defines the boundary of the project. If the application integrates with four external services, the modernisation effort must account for each connection: whether the integration will be preserved, replaced or removed. If the application shares a database with another system, that constraint shapes the architecture of the new solution.
Without this map, modernisation projects frequently uncover hidden dependencies late in delivery, causing delays and scope changes. The map does not need to be exhaustive on day one, but it does need to cover the critical path: the connections without which the system cannot operate.
Change and Release Management
Even without a full modernisation, dependency maps support safer changes. If you need to upgrade a component, patch a security vulnerability or move the application to new infrastructure, the map tells you what else might be affected. This is particularly relevant for legacy systems where the original developers are no longer available and the relationship between components is not obvious from the code alone.
What a Useful Map Looks Like
A practical dependency map for a legacy application is not a diagram for its own sake. It is a structured record that answers specific questions: what does this system connect to, what connects to it, what versions and credentials are involved, who controls each dependency and what happens if a dependency becomes unavailable. The format matters less than the completeness and verifiability of the information. A spreadsheet or structured document that can be checked against the live environment is more useful than an attractive diagram that cannot be tested.
Stopping at the First Layer
The most frequent mistake is mapping only the obvious dependencies: the database the application connects to, the server it runs on. Legacy systems often have second and third-order dependencies that are easy to miss. The application might depend on a middleware layer, which in turn depends on a specific version of a messaging service, which relies on a particular network configuration. Mapping only the first layer gives a false sense of completeness.
Trusting Documentation Without Verification
Legacy systems often have documentation that was accurate when it was written but has not been updated as changes were made. The only reliable way to confirm dependencies is to check them against the running system: inspect active connections, review configuration files, examine scheduled tasks and test what breaks when a suspected dependency is removed in a controlled environment. This is why dependency mapping is often done alongside technical access to the live system or a faithful staging copy.
Ignoring Process and People Dependencies
Technical teams tend to focus on software and infrastructure dependencies, but process dependencies can be just as constraining. If a finance team runs a monthly report by exporting data from the legacy system and manipulating it in a separate spreadsheet, that workflow is a dependency. Modernising the system without accounting for it will create a gap that the business notices immediately. Mapping should include interviews with the people who use the system day to day, not just inspection of the code.
Overlooking Ownership and Access
A dependency map should record not just what the system connects to, but who controls each connection. An integration might use an API key held by an employee who is leaving. A shared database might be administered by a different department. A third-party service might have a contract in someone else's name. During a vendor takeover or modernisation project, missing access to a dependency can block progress entirely. Each dependency should have a named contact or team responsible for it.
Assuming the Map Stays Current
Dependency maps for legacy systems have a limited shelf life. If the system is still being actively modified, its dependencies will change. The map should be treated as a point-in-time record with a clear date, not a permanent reference. For systems that are being maintained while modernisation is planned, it is worth establishing a lightweight process to update the map as changes are made.
Key Checks Before Relying on a Map
- Can every dependency listed be confirmed against the live system or a recent staging environment?
- Are credentials, API keys and access details recorded for each external dependency?
- Is there a named owner for each dependency, including those controlled by third parties?
- Does the map cover background processes, scheduled tasks and batch operations, not just user-facing functionality?
- Have the people who operate the system daily been asked to review the map for gaps?
- Is the map dated, and is there a process to update it if the system changes before modernisation begins?
Leave the next team with verifiable evidence
Dependency mapping does not eliminate risk, but it makes risk visible and negotiable. For UK businesses planning to modernise, take over or exit from a legacy application, it is the groundwork that determines whether subsequent decisions are informed or speculative.