web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Passing CRM credentials to ISV application

(0) ShareShare
ReportReport
Posted on by 50

Good morning,

I have found tons of articles online on how to call into Dynamics from a ISV application creating the appropriate CRMAuthentication token - however - I would like to do the opposite have CRM pass the authentication token to me so I can use the CRM authentication values (username) to implement SSO in my application but without using AD.

Is this possible or am I approaching this the wrong way.

Thanks in advance.

Whatty

*This post is locked for comments

I have the same question (0)
  • Community Member Profile Picture
    on at

    Hi -  you can pass the credentials out in the URL for your application assuming you can get to them.  So if your ISV application is a web service:

    // Start an instance of the Web service client-side proxy.

    localhost.MyService myProxy = new localhost.MyService();

    myProxy.Credentials = System.Net.CredentialCache.DefaultCredentials;

    I am unable to test this theory at the moment, so I am not sure if this will help you at all.

    Jon.

  • Whatty Profile Picture
    50 on at

    Actually it is a lot easier than I expected - if I turn on Windows Authentication in my ISV web site I will then have access to the Windows credentials from the browser. Fairly straight-forward and did not take me much time at all.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
SA-08121319-0 Profile Picture

SA-08121319-0 4

#1
Calum MacFarlane Profile Picture

Calum MacFarlane 4

#3
Alex Fun Wei Jie Profile Picture

Alex Fun Wei Jie 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans