Map an application’s dependencies before deciding what can move together and what must remain connected during a migration. The important unit is the working business flow, not the server list. A complete inventory of machines can still miss a scheduled file exchange or an identity dependency that stops the application after cutover.
Build the map from several kinds of evidence: configuration, observed traffic, scheduled jobs, application code and conversations with the people who operate the system. Record uncertainty explicitly. The map should help the team choose migration groups, test cases and rollback boundaries rather than merely produce a diagram for a presentation.
This guide uses a fictional order-management application to illustrate the method. The choices are examples of operational reasoning, not a recommendation for a particular cloud product or architecture.
Define the business flow you are protecting
Choose a representative activity and follow it from beginning to end. For an order-management system, that could be receiving an order, checking inventory, recording payment status and preparing a fulfillment request. Each step may cross a different technical boundary.
Ask what happens after the visible user request finishes. A background job may send a file to a warehouse several hours later. A nightly reconciliation process may correct records that appear complete during the day. Those delayed activities belong in the migration scope if the business depends on them.
Write the expected outcome in language that a business owner can validate. “The application starts” is not an adequate acceptance criterion. “An eligible order reaches the fulfillment queue with the correct inventory reservation” describes a result that can be tested.
Separate components from relationships
Create a component inventory, but give the relationships equal attention. A database, identity provider, message broker and external service may all be known assets. The migration risk often lies in how they communicate: protocol, credentials, network path, timing, data format and failure behavior.
For each connection, record the caller, destination and purpose. Add whether the interaction is synchronous, asynchronous or scheduled. Note the owner on both sides. A dependency that is documented only as an IP address is difficult to evaluate when the address changes or the responsible team is unavailable.
The Microsoft Cloud Adoption Framework planning guidance treats planning as a structured part of adoption. Regardless of destination platform, use the planning phase to establish the workload and organizational context before turning a proposed move into a deployment sequence.
Collect evidence from the running system
Inspect application configuration, deployment manifests, service discovery records and scheduled-task definitions. Compare those sources with observed network or application telemetry where access and privacy rules permit. A configured endpoint may be unused, while a hard-coded connection may be missing from the central inventory.
Look across a representative operating period. A short observation window may miss month-end processing, certificate renewal, a weekly import or an infrequent administrative task. Record the observation period beside the evidence so reviewers can judge its coverage.
Do not assume that every observed connection is required for the customer flow. Monitoring, update services and obsolete integrations can appear alongside essential dependencies. Classify their purpose and consequence of failure before deciding whether they belong in the migration group.
Ask operators about the unofficial edges
Interview the people who support the application, not only its developers. They may know about a manually uploaded file, a shared folder used during reconciliation or a vendor process that runs outside the application’s normal deployment system.
Ask for examples rather than broad assurances. “What did you do the last time the overnight import failed?” can reveal a dependency that a question such as “Is everything documented?” will miss. Trace the answer to an actual procedure, file location or responsible team.
Keep these discoveries factual and nonjudgmental. An undocumented workaround may have developed to solve a real business constraint. The migration needs to account for it even if the longer-term plan is to replace it with a more maintainable process.
Record identity and secret dependencies separately
A reachable network endpoint is not enough if the migrated application cannot authenticate. Identify service accounts, certificate chains, token issuers, secret stores and authorization policies involved in each important interaction.
Record how credentials are obtained and rotated without copying secret values into the map. Note dependencies on machine identity, source network location or a particular directory service. A credential that works only from the old environment can turn an apparently successful network test into a misleading result.
Plan how access will exist during a parallel run and after rollback. Creating a new credential for the target environment may be appropriate, but the team should understand whether both environments can operate safely at the same time and how old access will be removed after the migration is accepted.
Examine data ownership and write paths
Identify which system is authoritative for each important record. A migration becomes more difficult when two environments can write to the same business data without a clear coordination rule. A read-only reporting dependency has different risks from a transaction-processing dependency.
For every write path, ask how conflicts, retries and delayed messages are handled. If the old system processes an order while the new system processes its retry, the team needs a way to avoid duplicate side effects. This is a business correctness problem as much as a network migration problem.
Record the point at which rollback would require data reconciliation. Moving traffic back to an old application may be technically simple while moving newly written data back is not. The dependency map should make that boundary visible before the cutover plan describes rollback as a single switch.
Classify the consequence of a broken dependency
Group dependencies by what happens when they are unavailable or slow. Some failures stop the main customer journey immediately. Others delay a secondary task, reduce observability or affect an administrative function.
Use the classification to prioritize tests and migration sequencing. A critical authentication dependency may need to be proven early. A nonessential reporting export may be moved later if the business accepts a defined temporary delay. These are explicit trade-offs, not reasons to omit the dependency from the record.
Include recovery behavior. Does the application retry automatically? Does work remain in a queue? Is a manual replay possible? A dependency that recovers cleanly after a short outage presents a different migration risk from one that permanently loses work when a connection fails.
Choose migration groups from the relationships
Use the map to identify components that should move together and connections that must cross the old and new environments temporarily. Evaluate latency, bandwidth, authentication and operational ownership for every temporary connection.
Avoid assuming that components hosted together must migrate together. Their actual coupling may be weak. Conversely, components owned by different teams may participate in a tightly coupled transaction that makes separate migration dates risky.
Document the reason for each group. A group might be chosen to preserve a transaction boundary, avoid a temporary network exposure or align with a vendor’s support window. When the reason is explicit, later schedule changes can be evaluated against the original constraint rather than treated as harmless administrative edits.
Turn the map into a test matrix
Create tests that exercise the important relationships, including failure and recovery behavior where practical. A basic connectivity test is useful, but it does not prove that the application can perform the authorized operation with the expected data format.
For the fictional order system, tests could cover a normal order, an unavailable inventory service, a delayed fulfillment message and a retried request. Include scheduled and administrative activities discovered during the inventory. Prepare expected results before the migration so the team is not deciding what “good” means during cutover.
Assign each test an owner and an evidence location. If a dependency cannot be tested realistically before migration, record the limitation and define the observation or contingency needed during the change window.
Maintain the map through cutover and retirement
Update the map when the migration plan changes. A temporary proxy, a new identity boundary or a revised vendor endpoint can invalidate earlier tests. Keep the diagram linked to the underlying inventory so it does not become a visually appealing but outdated artifact.
After cutover, verify that expected traffic and scheduled work use the new paths. Look for residual dependencies on the old environment before retiring it. A quiet server is not proof that it is unused if the observation period excludes an important scheduled activity.
The migration is ready for closure when the business flow works, the evidence supports that conclusion and the remaining dependencies have owners. The map then becomes a useful operating document for future changes rather than a one-time deliverable that disappears when the migration project ends.