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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Authentification with .net 4.0 for Dynamics CRM 365 (onpremise + online ) ...

(0) ShareShare
ReportReport
Posted on by

Hi !

1st time working with CRM/Dynamics ...

I'm trying to set up basic communication with our CRM webservice through our own ERP app. I want to do something similar to this :

https://msdn.microsoft.com/en-us/library/gg334708(v=crm.8).aspx


But every single tutorials or sample code I find have the same way to build up a connection :  with the usage of this OrganizationServiceProxy class 

private OrganizationServiceProxy _serviceProxy;

_serviceProxy = new OrganizationServiceProxy(OrganizationUri, null ,serverConfig.Credentials, null)

From what I've read, OrganizationServiceProxy is found into the  "Microsoft.Xrm.Sdk"

It seems to work when I coded it, aside from the most important ... I can't compile : this dll ( and all the dlls in the sdk ) are build up for .net framework 4.5, and we have to use the .net framework 4.0 for some of our clients.

When I try to download older sdk, I cant find the Microsoft.Xrm.Sdk.dll or any trace of the OrganisationServiceProxy class anywhere ...

Anyone could point me in the right direction ?

        

*This post is locked for comments

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

    Try download SDK from here www.microsoft.com/.../confirmation.aspx version 4.0

    And assembly must located in: sdk/bin/

    I downloaded it and build with 4.0 framework.

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

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
ScottDurow Profile Picture

ScottDurow 2

#2
GJones Profile Picture

GJones 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans