How to co-relate dynamics contact center calls with Azure Communication Service logs?

Christin Joseph 20 Reputation points
2025-10-23T07:40:16.7166667+00:00

How can we co-relate the Dynamics 365 Contact Center (Omnichannel) Voice call with Azure Communication Service (ACS) logs?

We have the Conversation table in Contact Center where most of the information is stored. There we have the ConversationId (msdyn_ocliveworkitemid) which is the unique identifier of the conversations table.

How Can we connect this to the ACS logs?

In ACS I see CallID, CorelationId etc, but none of them martching with ConversationId in Dyanamics.
I need to backtrack some issues from Dyanmics to the ACS and from ACS to Session Border Controller (SBC). For that I need to match the Dynamics and ACS records.

Is there any other table in Dynamics which keep the information of ACS IDs of calls? (Incoming)
We have lots of call in the same time, so matching with time is not a solution.

If any of you could share your insight, it would be great.

Azure Communication Services

Answer accepted by question author
Praneeth Maddali 12,585 Reputation points Microsoft External Staff Moderator
2025-11-05T17:17:37.81+00:00

Hi @Christin Joseph

Apologies for delay response ,To resolve this issue permanently, create and connect an Application Insights resource to your Dynamics environment. This is the only supported method to correlate ConversationId, CallId, and SBC.

Once set up, you can use the two KQL queries mentioned above to get complete tracing in less than 2 minutes.

There are no alternatives available in ACS Logs or CDC.

Reference :

https://learn.microsoft.com/en-us/dynamics365/customer-service/administer/configure-conversation-diagnostics

https://learn.microsoft.com/en-us/azure/communication-services/concepts/analytics/logs/call-automation-logs

https://learn.microsoft.com/en-us/azure/communication-services/concepts/analytics/query-call-logs

Kindly let us know if the above helps or you need further assistance on this issue.

 

Please "upvote" if the information helped you. This will help us and others in the community as well.

Was this answer helpful?

1 person found this answer helpful.
0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Quyen Mai (Millie Mai) 0 Reputation points
    2026-08-26T17:09:04.1533333+00:00

    Hi @Christin Joseph

    A little insight from me to reduce the mapping effort.

    Refer to this document: https://learn.microsoft.com/en-us/dynamics365/customer-service/develop/reference/entities/msdyn_ocphonecallengagementctx

    There is an accessible Dataverse table named “Phone Call Engagement Context” (msdyn_ocphonecallengagementctx). It has 2 relevant columns:

    • msdyn_callsid (this is essentially ACS correlation id)
    • msdyn_liveworkitemid (this is apparently liveworkitem id)

    Liveworkitem id to call id is many-to-one.

    Hope it helps! 🙂

    Best,

    Millie Mai

    Was this answer helpful?

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.