Legacy Dev Forum Posts

 View Only

Sign Up

Dynamics Interation - INVALID_CREDENTIALS

  • 1.  Dynamics Interation - INVALID_CREDENTIALS

    Posted 06-05-2025 18:15

    charaf_ed | 2019-06-26 07:20:30 UTC | #1

    Hello,

    I would like to know if it would be an alternative solution to the problem of invalid_credentials in dynamics data actions ?

    Our instance of Dynamics is using another authentication form for Single Sign On. AD syncs with a local AD. When we log in to CRM we actually go to another login method which issues a SAML token.

    it seems that the problem was discussed before in this thread below : https://developer.mypurecloud.com/forum/t/dynamics-integration-action-test-invalid-credentials/2075

    How can we proceed to authenticate correctly the data actions ?

    Best regards,


    Jason_Mathison | 2019-06-26 12:55:11 UTC | #2

    Hi charaf_ed,

    Can you use the same solution that was used in the thread you referenced, create a stand alone user for the Dynamics Data Actions to authenticate with?

    If that is not an option then you would need to look into creating a "User Defined (OAuth) credential type and custom auth action to handle getting the SAML token" https://help.mypurecloud.com/articles/how-to-use-the-user-defined-oauth-credential-type/

    You could also request that we create a specific integration for this scenario here: https://purecloud.ideas.aha.io/

    --Jason


    charaf_ed | 2019-06-27 09:08:26 UTC | #3

    Thank you @Jason_Mathison for your reply.

    below the section Client Details / SAML2 Bearer ; what should I add in the Authorized redirect URIs ?

    Best Regards,


    Jason_Mathison | 2019-06-27 13:38:57 UTC | #4

    Hi charaf_ed,

    Which solution are you trying to implement? Either solution that I suggested shouldn't require you to use that PureCloud OAuth admin page.

    --Jason


    charaf_ed | 2019-06-27 15:44:16 UTC | #5

    Hi @Jason_Mathison

    I do not know exactly which solution is the best. I would like to authenticate my data actions since there is an STS authentication mechanism because we are using a local AD.

    Regards,


    Jason_Mathison | 2019-06-27 17:57:02 UTC | #6

    I don't know anything about that authentication system. Are you able to perform the authentication steps in a tool like Postman? Assuming it is a "Make one call to get a token" and then "Include that token in future requests" sort of system it will likely be something you can implement with data actions once you have worked out the details manually.

    --Jason


    charaf_ed | 2019-06-27 20:14:11 UTC | #7

    I haven't tried the postman tool before. I will try your option and give you a feedback.

    Best regards,


    system | 2019-07-28 20:27:05 UTC | #8

    This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.


    This post was migrated from the old Developer Forum.

    ref: 5423