Skip to main content
Dynamics 365 general forum
Unanswered

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

editSubscribe (0) ShareShare
ReportReport
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 Organization Data Service endpoint (/XRMServices/2011/OrganizationData.svc) use Application Insights to query for the endpoint.

Preview: Set up exporting to Application Insights

https://docs.microsoft.com/en-us/power-platform/admin/set-up-export-application-insights

After Application Insights has been installed and is exporting data then query the request URL using the Azure Monitor.

Get started with log queries in Azure Monitor

https://docs.microsoft.com/en-us/azure/azure-monitor/logs/get-started-queries

Under Monitoring / Logs the table is requests

Here is a sample query:

requests
| where url has "OrganizationData.svc"
| where timestamp >= ago(7d)

pastedimage1656333576832v4.png

To identify the line of code you can use the Solution Checker as outlined in this post: 

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

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.

  • AdamDW Profile Picture
    AdamDW 5 on at
    RE: How to use Application Insights to identify usage of the OrganizationData.svc endpoint which is planned for retirement in November 2022.

    Hey drewt_MS , does this change affect only Online versions of Dynamics, or should on premise customers expect an update that turns off this endpoint too?

  • Community Member Profile Picture
    Community Member User Group Leader on at
    RE: How to use Application Insights to identify usage of the OrganizationData.svc endpoint which is planned for retirement in November 2022.

    Hi drewt_MS,

    Thanks for sharing this information.

Helpful resources

Quick Links

New Blog Features Released!

Check out the new community blog features for viewers and authors…

Setting Up Knowledge Sources for Copilot…

Look at how configuring a comprehensive knowledge base is crucial…

Demystifying Copilot with Georg Glantschnig…

Industry experts answer burning questions directly from our amazing Community…

Leaderboard

#1
Andre Arnaud de Calavon Profile Picture

Andre Arnaud de Cal... 283,187 Super User

#2
Martin Dráb Profile Picture

Martin Dráb 222,742 Super User

#3
nmaenpaa Profile Picture

nmaenpaa 101,140

Featured topics

Product updates

Dynamics 365 release plans