Generally, the safest approach is to start with discovery and dependency mapping before making any infrastructure or identity changes. The primary goal is to understand how applications authenticate, what they depend on, and how systems communicate so you can accurately assess blast radius and reduce production risk.
For authentication discovery, review Active Directory integrations, LDAP binds, Kerberos usage, NTLM dependencies, service accounts, SPNs, certificate-based authentication, SAML/OIDC federation, and hardcoded credentials. Common methods include analyzing Windows Security logs, IIS logs, ADFS logs, domain controller authentication events, LDAP query activity, application configuration files, web.config files, connection strings, and service account usage. Network captures and SIEM platforms can also help identify legacy protocols such as NTLMv1 or unsigned LDAP traffic that may break during remediation.
For dependency discovery, map all upstream and downstream relationships including databases, DNS, load balancers, APIs, certificates, middleware, storage, SMB/NFS shares, message queues, firewalls, and external integrations. This can be done through a combination of CMDB validation, infrastructure monitoring, flow analysis, application performance monitoring (APM), configuration management data, and network telemetry. Dependency mapping is critical because many legacy applications rely on undocumented services or static references that are only discovered during runtime.
To understand communication flows, make sure to capture east-west and north-south traffic patterns between servers and applications. This can be done by using NetFlow, packet capture tools, firewall logs, and endpoint telemetry - allowing you to identify source/destination relationships, ports, protocols, and frequency of communication.
The tools I'm familiar with include Microsoft Defender for Cloud, Azure Migrate, Service Map capabilities, SolarWinds, Dynatrace, AppDynamics, Splunk, Wireshark, NetBrain, Riverbed, and CMDB-integrated discovery platforms such as ServiceNow Discovery. You also can use Azure Monitor VM Insights included VM Insights Map and the Dependency Agent for process and dependency visualization, but keep in mind that both the VM Insights Map feature and the Dependency Agent have been deprecated and will be retired on 30 June 2028 (more at https://learn.microsoft.com/en-us/azure/azure-monitor/vm/vminsights-dependency-agent ).
Before remediation, a typical low-risk process includes establishing a baseline inventory, identifying authentication methods and dependencies, validating application owners and business criticality, documenting communication flows, creating rollback procedures, testing changes in lower environments, validating with pilot groups, and implementing phased or ring-based deployments. Take into account change windows, monitoring, backup validation, and stakeholder communication. The most effective remediation projects prioritize visibility and dependency validation first, because undocumented legacy integrations are usually the primary source of outages during modernization efforts.
If the above response helps answer your question, remember to "Accept Answer" so that others in the community facing similar issues can easily find the solution. Your contribution is highly appreciated.
hth
Marcin