Notifications
Announcements
No record found.
Hi All,I can connect my console application both with CrmServiceClient (by Microsoft.Xrm.Tooling nuGet lib) and with OrganizationServiceProxy Class (by Microsoft.Xrm.Sdk nuGet lib) to Dynamics 365 Online for Customer Engagment v9.1.x. By OrganizationServiceProxy:https://arunpotti.wordpress.com/2018/02/03/step-by-step-to-connect-dynamics-365-crm-online-v9-x-using-c-console-application/comment-page-1/ By CrmServiceClient:https://carldesouza.com/connecting-to-dynamics-365-using-crmserviceclient/ I don't understand what the pros and cons of the two methods are.Could someone explain the difference well to me, please? Unfortunately these posts are not clear to me: - this post uses both connections without clarifying what happens without one of two:https://www.briteglobal.com/blogs/community/connect-crm-online-console-ii/ - this post doesn't summarize well the pros and cons:https://stackoverflow.com/questions/54030019/why-use-iorganizationservice-instead-of-crmserviceclient-in-dynamics-365-xrm-too - the current MS docs doesn't explain well the differences. I'd like to hear your experience and advice from a good connector...Thanks in advance, David
Hello,
The Major Differences betwenn the two is:
CrmServiceClient Executes a web request against Web API, it uses (JSON Objects ), OrganizationServiceProxy uses SOAP Endpoint (XML).
CrmServiceClient, O-Data (Web Api Requests) has become recommended by Microsoft since it's faster than SOAP request.
So in general it is better and it's Microsoft recommended to work with CrmServiceClient.
Hi Saad,
So summarize, If I use:
I'm using a REST connection, correct?
Intestead, If I use:
I'm using SOAP connection, correct?
Thank you in advance,
David
Hello David,
Yes indeed IorganizationServices use Soap Endpoint, so it's better to use Xrm Tooling for your requests since it's based on Web API (REST).
Best regards,
Please Mark as Verified is you found it Helpful :)
Best of luck
Hi Kabarousse,
ok but.... I can also call SOAP API by Xrm Tooling.... so Xrm Tooling work with several authentication options... but Microsoft doesn't indicate what SOAP is and what REST is in Xrm Tooling lib.
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.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Tom_Gioielli 70 Super User 2025 Season 2
Gerardo RenterÃa Ga... 33 Most Valuable Professional
Daniyal Khaleel 32 Most Valuable Professional