Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
cleardarkz opened this issue Jun 22, 2023 · 1 comment

Comments

@cleardarkz
Copy link

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", "[email protected]", "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

@MarkMpn
Copy link
Contributor

MarkMpn commented Jun 22, 2023

If you look at the Application event log in Event Viewer on the CRM application server you'll hopefully see an error event with some further details - could you post the full description from that event please?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants