1. Step-by-step troubleshooting

    1. Verify upstream delivery (SonWin → WCF Service)

    Follow the guide: Troubleshooting Client -> PartnerPortal

    Confirm:


    If messages ARE logged but do not appear in Partner Portal → continue to Step 2.


    2. Check IntegrationApiService → ApiService communication (Application Insights)

    1. Open Azure Portal

    2. Navigate to Application InsightsPartnerPortalInsights_XXX

    3. Open Logs

    4. Query Traces

    Use either:


    3. Identify failure type

    Look for errors originating from:

    Symptom in logsLikely cause
    401 / 403Authentication / Managed Identity / API permissions
    404Wrong endpoint or route mismatch
    400Contract mismatch / invalid payload
    5xxApiService failure or unhandled exception
    Timeout / TaskCanceledExceptionNetwork / firewall / service unavailable
    Serialization errorsDTO mismatch between services
    No trace at allIntegrationApiService never called ApiService

    4. Decide where to fix

    Configuration issue (Azure)

    Code issue


    Result

    After identifying the error in Application Insights:


    Tip

    Always compare:

    If no trace exists within a few seconds of the WCF entry, the message never left the IntegrationApiService.