• Resolved aidenwp

    (@aidenwp)


    Trying to connect to my Dynamics 365. I’m getting the error message:

    “Unable to connect to Dynamics 365: Authentication Failure. AADSTS50076: Due to a configuration change made by your administrator, or because you moved to a new location, you must use multi-factor authentication to access ”.. Check whether you selected the appropriate deployment type and that CRM URL and credentials are correct.”

    I’m a system admin in Dynamics, and my username and password are correct. Am I entering the wrong URL? I’ve used ” https://[DOMAIN].crm3.dynamics.com/ “, but is there a different URL I need? Some other permission that I don’t have enabled? Would really appreciate any assistance!

    Thanks,
    Aiden

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author alexacrm

    (@alexacrm)

    @aidenwp,

    MFA accounts are not supported for server-to-server connections (which what WordPress-to-CRM connection is). You need to create a non-interactive user account and exclude it from MFA policy set up by domain admins.

    We’re adding support for app users and it should be available by the end of the month (November 2021).

    Thanks
    George

    Thread Starter aidenwp

    (@aidenwp)

    Hi AlexaCRM,

    Tried this- we received the following error message this time:

    “Unable to connect to Dynamics 365: An error occurred when processing the security tokens in the message:You are using Ws-Trust authentication which has been deprecated and no longer supported in your environment. Please use OAuth2.0 authentication.. Check whether you selected the appropriate deployment type and that CRM URL and credentials are correct.”

    Plugin Author alexacrm

    (@alexacrm)

    Hi @aidenwp

    the version 1.2.32 that supports client id/secret and app users has just been released. Instructions are coming but they’d be very similar to https://docs.alexacrm.com/integration-cds/getting-started/#get-credentials:

    1. Create app registration
    2. Add a secret
    3. Add app user in Dataverse
    4. Assign role(s) to that user
    5. Configure client id/secret authentication in the plugin

    HTH
    George

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Unable to connect to Dynamics – authentication failure’ is closed to new replies.