doodlleus
doodlleus

Reputation: 575

Dynamics 365 - IOrganizationService/Web Api

With CRM Dynamics 365 being released, Microsoft have officially deprecated the 2011 soap end point and are actively pushing their Web Api.

Deprecated Microsoft Dynamics CRM 2011 endpoint

What I would like to know though is how this affects my connections to CRM.

Currently I use the Tooling library to create instances of OrganizationServiceProxy using the CrmServiceClient class and a connection string. Would this have to change as I have many hundred of thousands of lines of code that all reference IOrganizationService.

Any help would be appreciated

Upvotes: 7

Views: 2224

Answers (3)

Gildon Opao
Gildon Opao

Reputation: 95

I'm assuming this is some C# and not JavaScript using that 2011 endpoint. Microsoft deprecated the Xrm.Client in favor of the Microsoft.Xrm.Tooling.Connector.

You can replace your connection with Xrm.Tooling.Connector and generally your code will work

https://msdn.microsoft.com/en-us/library/jj602970.aspx

Upvotes: 0

nick
nick

Reputation: 27

CrmServiceClient class will work, I am using this class for all my WCF integration services with Dynamics 365. This depreciation is mainly going to affect scripts that uses old REST and SOAP calls.

As a good practice, you can always use libraries from latest SDK and rebuild the projects to ensure that your codes are updated.

Upvotes: 0

Jordi
Jordi

Reputation: 1470

In theory, that will be a transparent update and you should only have to upgrade to the latest package versions and rebuild your projects, in theory. :)

Upvotes: 2

Related Questions