Skip to content

On premise ADFS instance, unable to authenticate using OnPremiseClient ctor #33

Description

@cleardarkz

Hello,

We are trying to authenticate our client against an On Premise Dynamics instance, using ADFS

We have tried using the following:

new OnPremiseClient("https://crmdomain.com/XRMServices/2011/Organization.svc", "user@domain.com", "password");

We are receiving the following error:

'ID3242: The security token could not be authenticated or authorized.'

We can access the CRM dynamics url, and can also log in the user with the supplied credentials while doing a regular login flow using web

Any ideas? We are using Microsoft Dynamics 8.2.0

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions