Genesys Cloud - Developer Community!

 View Only

Sign Up

Expand all | Collapse all

[Teams Integration] Intermittent MS Teams Presence Syncing Issues in Genesys Cloud and Salesforce

  • 1.  [Teams Integration] Intermittent MS Teams Presence Syncing Issues in Genesys Cloud and Salesforce

    Posted 07-24-2026 02:47

    Hi Everyone,

    We are experiencing an issue where Microsoft Teams presence status updates are occasionally failing to sync into Genesys Cloud ( and Salesforce ).

    We have implemented the following two blueprints:

    • https://developer.genesys.cloud/blueprints/gc-presence-update-from-ms-teams/
    • https://developer.genesys.cloud/blueprints/update-ms-teams-presence-from-inbound-interaction-trigger-blueprint/

    In a lot of instances we were able to see that Agents both in Salesforce and Genesys Cloud ( for native Genesys users ) this status sync from Teams --> Genesys failed frequently ( Please, note that SF users were logged into Genesys Cloud as well and that all agents are logged into MS Teams via Apps etc. ). We ruled out that this is a configuration issue as It's working for some time and then we can see that it fails for some users, not in specific time intervals, but intermittently as mentioned before.

    We've opened a ticket with Product Support so that we can get some insight into the backend logs to see what's happening during the time where it fails. For example, we have an Agent who is in Away, but when trying to change statuses in teams so that It get's reflected within Genesys, but nothing happens ( status stays the same and we cannot see any new events within the Workflow Execution History ) and the user received the following error in the backend ( AWS logs, see below ):

    I will change the following message so that the Org and user cannot be recognized:

    t:"2026-07-03T08:19:56.085Z",

    message:"Error checking routing logic conditions for org XXX: Invalid previousPresence: 5e5c5c66-ea97-4e7f-ac41-6424784829f2. Expected one of: [6a3af858-942f-489d-9700-5f9bcdcdae9b, e08eaf1b-ee47-4fa9-a231-1200e284798f, 7ffa01cd-7866-4ad7-8faa-31e11b42f51f, f4edbae2-9542-4971-961a-373fc54342c3, ccf3c10a-aa2c-4845-8e8d-f59fa48c58e5]",

    level:"ERROR",

    correlationId:"c40f9fa3-8cc1-4222-9102-e12b85adcb0a",

    httpMethod:"PATCH",


    Also, there are times, when they are in a meeting within Teams, but in Genesys they still remain On-Queue even though we removed the part from the blueprint, where if the Agent is on On-Queue status, the workflow ends, so the Agent should be set to busy ( which we know is working, but fails frequently ). Please, keep in mind that since April the Teams --> Genesys direction is now also event based, due to the new feature release and after activation It was working just fine, no changes made since then.

    Questions:

    • Has anyone else observed similar drop-offs with presence syncs?
    • As the error message suggests, there was an issue on Genesys's processing side, what I would like to know if It's due to an issue on MS side or It's due to the internal logic failing on Genesys side?

    Thank you for taking a look into this and giving us feedback regarding a possible solution to these frequent problems.

    Best Regards,
    Mark


    #Integrations

    ------------------------------
    Mark-Tamas Csepregi
    ------------------------------


  • 2.  RE: [Teams Integration] Intermittent MS Teams Presence Syncing Issues in Genesys Cloud and Salesforce

    Posted 10-12-2026 05:55

    Hi Everyone,

    Just following up to see if anyone has run into a similar issue or has suggestions on how to troubleshoot this further as this issue is still present.

    Thanks!

    Mark



    ------------------------------
    Mark-Tamas
    ------------------------------



  • 3.  RE: [Teams Integration] Intermittent MS Teams Presence Syncing Issues in Genesys Cloud and Salesforce

    Posted 10-12-2026 07:27

    Hello Mark, could you confirm which Genesys Cloud UI are the users are using?  It sounds like at least some them are using a Genesys Cloud UI in Salesforce.

    Thank you for your insight,

    Jason Wolfgang



    ------------------------------
    Jason
    Senior Manager, Product Management
    ------------------------------



  • 4.  RE: [Teams Integration] Intermittent MS Teams Presence Syncing Issues in Genesys Cloud and Salesforce

    Posted 10-12-2026 07:32

    Hello Jason,

    You are correct, some agents are either using native Genesys UI or Genesys Cloud UI in Salesforce. We can see this issue happening in both instances.

    Best Regards,

    Mark



    ------------------------------
    Mark-Tamas
    ------------------------------



  • 5.  RE: [Teams Integration] Intermittent MS Teams Presence Syncing Issues in Genesys Cloud and Salesforce

    Posted 10-12-2026 07:45

    For the Genesys Cloud in Salesforce UI, are you using the embedded framework of Genesys Cloud CX for Salesforce?

    JW



    ------------------------------
    Jason
    Senior Manager, Product Management
    ------------------------------



  • 6.  RE: [Teams Integration] Intermittent MS Teams Presence Syncing Issues in Genesys Cloud and Salesforce

    Posted 10-12-2026 09:11

    Yes, we are using the embedded framework of Genesys Cloud CX for Salesforce.

    Best Regards,

    Mark



    ------------------------------
    Mark-Tamas
    ------------------------------



  • 7.  RE: [Teams Integration] Intermittent MS Teams Presence Syncing Issues in Genesys Cloud and Salesforce

    Posted 10-12-2026 09:19

    To be clear, those are two different pieces of technology.  Are you using the new Genesys Cloud CX for Salesforce and NOT using the legacy CTI client (also known as the embedded framework within Salesforce)?  If you could confirm, it would be helpful.

    Jason Wolfgang



    ------------------------------
    Jason
    Senior Manager, Product Management
    ------------------------------



  • 8.  RE: [Teams Integration] Intermittent MS Teams Presence Syncing Issues in Genesys Cloud and Salesforce

    Posted 10-14-2026 03:16

    Apologies for the initial confusion, in our case we are using OpenCTI client.

    Best Regards,
    Mark



    ------------------------------
    Mark-Tamas
    ------------------------------



  • 9.  RE: [Teams Integration] Intermittent MS Teams Presence Syncing Issues in Genesys Cloud and Salesforce

    Posted 10-14-2026 08:59

    @Mark-Tamas Csepregi, 

    Thanks for confirming.  It sounds like from your original message that all the GC users leveraging these blueprints are hybrid users that are logged into both Genesys and Teams and have their Teams account authenticated within GC.  Please correct me if I'm misunderstanding.

    I looked at the error message you presented and the "previousPresence" language is similar to what we've put into the outlook calendar blueprint as well here: Is there a chance this blueprint is also active in your org?  Blueprint link here: https://developer.genesys.cloud/blueprints/update-gc-user-presence-calendar-trigger/

    One more bit of information, do you know what PATCH endpoint was being called to generate the message above?  I'm assuming it is a data action in one your workflows, but that may not be the case.  If you're unable to to confirm, I understand.  If you let me know that as well, it'd be helpful.

    Jason Wolfgang



    ------------------------------
    Jason
    Senior Manager, Product Management
    ------------------------------



  • 10.  RE: [Teams Integration] Intermittent MS Teams Presence Syncing Issues in Genesys Cloud and Salesforce

    Posted 10-14-2026 09:13

    Hello @Jason Wolfgang,

    I have posted similar post where the presence doesn't work unless the agents Sign in to Genesys Cloud then navigate to APPs and click Sign in to Microsoft.

    Could you please advise if this step is mandatory for the presence sync?

    https://community.genesys.com/discussion/teams-integration-presence-and-sync-issues#bm6ddb05d9-ab52-445a-b944-46d7a973e73f



  • 11.  RE: [Teams Integration] Intermittent MS Teams Presence Syncing Issues in Genesys Cloud and Salesforce

    Posted 10-14-2026 09:22

    Hi Jason,

    No, the outlook blueprint is not implemented within this Org. As for the message above It came up during Product Support's investigation within the ticket ( they saw this error when the Agent changed their status to "Away" in teams and nothing happened within Genesys ), according to the backend logs, so I only received this snippet as well. I suppose the traces are too old for you to maybe take a look at the correlationID within the backend?

    Thank you!
    Best Regards,
    Mark



    ------------------------------
    Mark-Tamas
    ------------------------------



  • 12.  RE: [Teams Integration] Intermittent MS Teams Presence Syncing Issues in Genesys Cloud and Salesforce

    Posted 10-14-2026 12:55

    Hey Mark,

    I can check.  Which region is the org with the correlationId hosted in?

    JW



    ------------------------------
    Jason
    Senior Manager, Product Management
    ------------------------------



  • 13.  RE: [Teams Integration] Intermittent MS Teams Presence Syncing Issues in Genesys Cloud and Salesforce

    Posted 10-15-2026 03:15

    Hi Jason,

    The org is in EUC1.

    Best Regards,

    Mark



    ------------------------------
    Mark-Tamas
    ------------------------------



  • 14.  RE: [Teams Integration] Intermittent MS Teams Presence Syncing Issues in Genesys Cloud and Salesforce

    Posted 10-15-2026 11:22

    Thank you, Mark.  I was able to find the logs for the correlationId you provided above.  The date range helped.  It turns out the Genesys Cloud presence for the user was updated in this situation.  The error message was unrelated to the actual success or failure of the Genesys Cloud user's presence updating.

    They key thing that we need to determine is if this is a Microsoft issue (the Microsoft platform did not send the presence update event) or if it is a Genesys Cloud issue (the Microsoft platform did send the presence event to Genesys Cloud, but Genesys Cloud did not update the GC user's presence as expected).

    One thing you could do to see if this is the case, do a test where you update the Teams presence of your hybrid Genesys Cloud users.  When the Genesys Cloud does NOT update as expected, go to API explorer here: https://developer.genesys.cloud/devapps/api-explorer#get-api-v2-users--userId-
    Call the Get users/userId endpoint with the presence and integration presence expanded.  You should see both the MicrosoftTeams presence value (as Genesys Cloud understands it from the last update) and the GenesysCloud/Purecloud presence value.

    If the MicrosoftTeams presence value reflects accurately, then we know the Teams presence change made it to Genesys Cloud, but the workflow did not update the PureCloud presence as desired.  If the Microsoft Teams presence value does NOT reflect accurately, then Genesys Cloud did not receive or did not handle the Microsoft Teams presence update as it should have.  If you could get us a correlationId of an instance where this happened and tell us which presence value did not update as it should have, that would be helpful.

    I have attached a screenshot of the API Explorer settings needed to do this.

    Jason Wolfgang

    image


    ------------------------------
    Jason
    Senior Manager, Product Management
    ------------------------------