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

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

For Microsoft Dynamics 365 9.0 version require Microsoft.Xrm.Sdk.Client dll

(0) ShareShare
ReportReport
Posted on by 943

Hi All,

I need to make service connection in Microsoft Dynamics 365 (9.0) latest release with the help of XRM client dll. I am not able to find Microsoft.Xrm.Sdk.Client latest .dll in MS Dynamics 365 9.0 SDK folder. One more thing I know we can use Microsoft.Xrm.Tooling.Connector.dll for connection, however, we would like to use Microsoft.Xrm.Sdk.Client due to some restriction.

Can anyone give me some pointer on this?

*This post is locked for comments

I have the same question (0)
  • Varun Singh Profile Picture
    943 on at
    RE: For Microsoft Dynamics 365 9.0 version require Microsoft.Xrm.Sdk.Client dll

    Thanks Preeti

  • Varun Singh Profile Picture
    943 on at
    RE: For Microsoft Dynamics 365 9.0 version require Microsoft.Xrm.Sdk.Client dll

    Thanks Mir

  • Verified answer
    Varun Singh Profile Picture
    943 on at
    RE: For Microsoft Dynamics 365 9.0 version require Microsoft.Xrm.Sdk.Client dll

    Hi All thanks,

    I was facing organizationproxy issue for Dynamics 365 9.0 ver was getting this error Metadata contains a reference that cannot be resolved: 'infyautomation.api.crm8.dynamics.com/.../Organization.svc;sdkversion=8.2', thats why I asked this question. I was able to resolve this by adding

    ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12 in the below code to make connection with 9.0 version CRM.

    ClientCredentials credentials = new ClientCredentials();

                   credentials.UserName.UserName = userName;

                   credentials.UserName.Password = password;

                   ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12;

                   Uri serviceUri = new Uri(crmOrgUrl);

                   OrganizationServiceProxy proxy = new OrganizationServiceProxy(serviceUri, null, credentials, null);

                   proxy.Timeout = new TimeSpan(0, 5, 0);

                   proxy.EnableProxyTypes();

                   return proxy;

  • Suggested answer
    Preeti Sharma Profile Picture
    2,678 on at
    RE: For Microsoft Dynamics 365 9.0 version require Microsoft.Xrm.Sdk.Client dll

    Hi Varun,

    As suggested above assembly to be used for Microsoft.Xrm.Sdk.client namespace is  Microsoft.Xrm.Sdk.dll. Below link also specifies same:

    msdn.microsoft.com/.../microsoft.xrm.sdk.client.authenticationcredentials.aspx

    Thanks:)

  • Suggested answer
    Mir Hassan Ali Profile Picture
    1,720 on at
    RE: For Microsoft Dynamics 365 9.0 version require Microsoft.Xrm.Sdk.Client dll

    Hi Varun

    The Microsoft.Xrm.Sdk.Client namespace is contained within the Microsoft.Xrm.Sdk.dll. This assembly is part of the SDK and you can also get the latest using nuget.

    4747.Capture.PNG

    More details at https://msdn.microsoft.com/en-us/library/gg334621.aspx 

    Regards

    Mir

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…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
Aric Levin - MVP Profile Picture

Aric Levin - MVP 2 Moderator

#1
HR-09070029-0 Profile Picture

HR-09070029-0 2

#3
MA-04060624-0 Profile Picture

MA-04060624-0 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans