Skip to main content

Notifications

Microsoft Dynamics 365 | Integration, Dataverse...
Unanswered

How to use Solution Checker to identify usage of the OrganizationData.svc endpoint which is planned for retirement in November 2022.

Posted on by

The following discussion describes changes that are being planned by Microsoft, and how to identify if your organization is using the Organization Data Service endpoint (/XRMServices/2011/OrganizationData.svc).

The Organization Data Service is an OData v2.0 endpoint introduced with Dynamics CRM 2011. The Organization Data Service was deprecated with Dynamics 365 Customer Engagement v8.0 in favor of the Web API, an OData v4.0 service.

Microsoft plans to remove the Organization Data Service on November 11, 2022. Any code that uses the Organization Data Service should be migrated to use the Web API before that time.

Please see the following Microsoft documentation:

OData v2.0 Service removal date announcement | Microsoft Power Apps

Do not use the OData v2.0 endpoint - Power Apps | Microsoft Docs

To identify if your organization is using the Organization Data Service endpoint use the Solution Checker in make.powerapps.com to identify JavaScript which is accessing /XRMServices/2011/OrganizationData.svc.

Create a blank solution in your source organization, go to make.powerapps.com and select your Environment.

Select solutions and [+ New Solution] from the menu bar.

Open the new solution and select Add existing from the menu and select More / Web resource.  In the search box in the upper right corner enter your publisher prefix (example: new_  ).  If you do not know the prefix then see below.  Select the radio button next to the Display name to select all and then [Add].

If you do not know your publisher prefix - duplicate the tab and go to Tables. Next to Search in the upper right corner, select the dropdown All.  Search for Publisher and open the Publisher table and select the data tab.  The publisher prefix is in the Prefix column.

Close the solution and return to the list of solutions and select the ellipse (...) after your new solution name, then Solution Checker and Run.  After the run has completed select the ellipse (...) again and Solution Checker / Download results.  Open the xlsx file and search the Issue for: web-avoid-crm2011-service-odata.  The row will have the following information which should take you directly to the line of code:

Issue        web-avoid-crm2011-service-odata
Category        UpgradeReadiness
Severity        High
Guidance         http://go.microsoft.com/fwlink/?LinkID=398563&error=web-avoid-crm2011-service-odata&client=PAChecker
Component        WebResource
Location        /.../WebResources/new_....js
Line #        xx
Module        
Type        
Member        
Statement        /XRMServices/2011/OrganizationData.svc/<Entity>Set
Comments        The URL '/XRMServices/2011/OrganizationData.svc/<Entity>Set' targets the deprecated Dynamics CRM 2011 OData 2.0 endpoint. The Dynamics CRM 2011 OData 2.0 endpoint was deprecated in Dynamics CRM 2016 (v8.0) and will soon be considered unsupported. Replace with the new Web API endpoint '/api/data//[version]' which implements OData 4.0 messaging protocol.

For further information about Solution Checker:

Use solution checker to validate your apps in Power Apps - Power Apps | Microsoft Doc

Next Steps: Please take some time to review the documentation and if you have any questions regarding this planned change then please raise a support case with Microsoft Customizations CE Support engineers to help you identify the users and possibly the applications that need to be planned for updates before November 2022.

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: How to use Solution Checker to identify usage of the OrganizationData.svc endpoint which is planned for retirement in November 2022.

    Thanks for sharing!

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

November Spotlight Star - Khushbu Rajvi

Congratulations to a top community star!

Forum Structure Changes Complete!

🔔 Be sure to subscribe to the new forums you are interested in to stay up to date! 🔔

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 229,720 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans