To correlate two sections of your distributed application and have a single Azure Application Insights monitoring the complete end-to-end transactions:
- Obtain the instrumentation key of both Application Insights resources.
- Update your code to use the instrumentation key of the target Application Insights resource.
- Implement a correlation ID to track transactions across services.
- Add the correlation ID to telemetry data.
- Enable correlation tracking in Application Insights configuration.
- Monitor end-to-end transactions with correlated telemetry in the Application Insights portal.
accept this answer if it helps, let me know if you have any other issues.