Skip to main content

Notifications

Microsoft Dynamics CRM (Archived)

Is Organization Service is going to be deprecated?

Posted on by Microsoft Employee

Hi All,

In one the project which is in development stage, we are using Organization Service Class to create Organization proxy. When we discussed with some people who are using Dynamics 365, They said Organization service is going to get deprecated. They suggested to use Custom Actions instead on using SDK Method. 

Whether Organization Service is going to be deprecated in near by future? If it is, What is the workaround for that..

Thanks in advance.

*This post is locked for comments

  • Suggested answer
    gdas Profile Picture
    gdas 50,085 on at
    RE: Is Organization Service is going to be deprecated?

    Hi,

    I know this is confusing  we are using two service name with  "Organization", let  me clear that here .

    1. Organization Service Endpoint  - (Deprecated )

    As of the release of Microsoft Dynamics CRM Online 2016 Update 1 and Microsoft Dynamics CRM 2016 Service Pack 1 (8.1.0), the CRM 2011 endpoint has been deprecated. The 2011 endpoint will be removed some time after the release of Dynamics 365 version 9. We plan to provide updates to the Dynamics 365 SDK assemblies and tools over the next several minor releases, retargeting them to use the Web API instead of the 2011 endpoint.

    Organization Service URL or SOAP service URL , to communicate with CRM using C#/JS. The url you can find under settings --> customization --> Developer Resource --> Organization Service like "http://******/ORGNAME/XRMServices/2011/Organization.svc"

    https://docs.microsoft.com/en-us/previous-versions/dynamicscrm-2016/developers-guide/dn281891(v=crm.8)

    2019_2D00_02_2D00_21_5F00_15_2D00_34_2D00_17.png

    2. IOrganizationService Interface inside plugin  /Workflow- (Not Deprecated)

     You may have seen that we are using in below IOrganizationService  in plugin and workflow  , this could be same in later version as well.

    If you’re a .NET developer with no requirements to support other platforms, you don’t have to move to the Web API right away. You’ll need to use the Organization service to support any functionality you want to deploy to organizations using versions of Dynamics 365 for Customer Engagement released before Dynamics 365 for Customer Engagement.

      IOrganizationServiceFactory serviceFactory = (IOrganizationServiceFactory)serviceProvider.GetService(typeof(IOrganizationServiceFactory));

      IOrganizationService service = serviceFactory.CreateOrganizationService(context.UserId);

    Check here -https://docs.microsoft.com/en-us/dynamics365/customer-engagement/developer/use-microsoft-dynamics-365-web-services

    2019_2D00_02_2D00_21_5F00_15_2D00_34_2D00_17.png

    Hope this helps.

  • Suggested answer
    Rawish Kumar Profile Picture
    Rawish Kumar 13,756 on at
    RE: Is Organization Service is going to be deprecated?

    And yes - the alternative is and will be Web Api.

  • Suggested answer
    Rawish Kumar Profile Picture
    Rawish Kumar 13,756 on at
    RE: Is Organization Service is going to be deprecated?

    Your assumption is correct. Microsoft has a plan to depreacte the organization service but its not going to happen in near future. You may not need to worry about it yet. Have a look here :[View:https://docs.microsoft.com/en-us/dynamics365/customer-engagement/developer/use-microsoft-dynamics-365-web-services]

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,240 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,149 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans