Genesys Cloud - Developer Community!

 View Only

Sign Up

  • 1.  Updating Team's user Presence from Status in Genesys

    Posted 06-24-2025 17:19

    Greetings! I have been following the blueprint Update the presence of a Microsoft Teams user based upon an inbound interaction. I have a question regarding the Data Action "Find Teams User ID" When you attempt to test, it asks for USER_ID. I'm not sure which user ID, Azure or Genesys? When I use either, the data action fails during "perform authentication." "Issue with validating credentials." 

    REST call for action execute failed. Message: Request to backend service failed. Response from web service "error......invalid_client, description, client not found...."

    What am I missing here? Or where did I mess up? 

    The other data actions created appear to test successful. The "Update Teams User Presence" data action tests successfully. I can enter in the user ID (Azure) the availability and activity for the work flows that I created and I can see the user's Teams presence change.  

    I'm at a loss and vendor support basically told me to kick rocks and call professional services. *not happy* 

    Im a Windows Sys Admin/Engineer so developing on Genesys isn't my forte. Help please!! :-) 

    Thanks!

    Jason


    #DataActions
    #Integrations
    #Triggers

    ------------------------------
    Jason Canavas
    Sr Systems Engineer
    ------------------------------


  • 2.  RE: Updating Team's user Presence from Status in Genesys

    Posted 06-26-2025 15:29

    Hello Jason,

      I'm sorry you're having trouble with this data action.  The USER_ID parameter would be the Genesys Cloud userId and the data action will return the AzureUserId.  The purpose of this data action is to use the information from the trigger (the Genesys Cloud userId) to get the MS Teams User ID to use with the Microsoft Graph API to update the corresponding Teams user's presence in MS Teams.

    The error you are getting appears to be a Genesys Cloud OAuth error due to the wrong permissions.  For this specific data action, you want to associate it with the client ID and client secret of the SCIM OAuth client that you used with the Active Directory Microsoft Teams SCIM integration

    Let me know if this sparks any clarifications or further questions you have!  I'd like to help you get this to work.

    Thanks for being our customer,

    Jason Wolfgang



    ------------------------------
    Jason Wolfgang
    Product Management Senior Manager
    ------------------------------



  • 3.  RE: Updating Team's user Presence from Status in Genesys

    Posted 06-26-2025 19:05

    Hey Jason! Thank you so much for your assistance! That was helpful to clarify and exactly what I needed! Now that I had a better understanding of what the data actions do, I was able to troubleshoot the triggers (which were fine) and the workflows, which the "Get MS Teams User ID" success output had been blown out of the templates, examining the doc more carefully I could see that I needed to add the variable and bingo! Success!!! I knew I was close! Thank you so much!  



    ------------------------------
    Jason Canavas
    Sr Systems Engineer
    ------------------------------