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

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Is Organization Service is going to be deprecated?

(0) ShareShare
ReportReport
Posted on by

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

I have the same question (0)
  • Suggested answer
    Rawish Kumar Profile Picture
    13,758 on at

    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]

  • Suggested answer
    Rawish Kumar Profile Picture
    13,758 on at

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

  • Suggested answer
    gdas Profile Picture
    50,091 Moderator on at

    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.

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…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
SA-08121319-0 Profile Picture

SA-08121319-0 4

#1
Calum MacFarlane Profile Picture

Calum MacFarlane 4

#3
Alex Fun Wei Jie Profile Picture

Alex Fun Wei Jie 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans