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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Suggested Answer

Do virtual entities need an ATOM feed page for OData v4 data sources?

(0) ShareShare
ReportReport
Posted on by 60

I'm trying to connect my CRM instance to an OData v4 service so that I can use a virtual entity. Unfortunately I'm getting the following error:

Entity could not be retrieved from data source. Please try again or contact your system administrator.

I've also connected the CRM to the OData v4 test site (https://services.odata.org/V4/OData/OData.svc/) and this works perfectly.

The only difference between my APIs and the example APIs is that on the root page, the example APIs produce definitions in an ATOM feed, like so:

   <workspace>
      <atom:title type="text">Default</atom:title>
      <collection href="Products">
         <atom:title type="text">Products</atom:title>
      </collection>
      <collection href="ProductDetails">
         <atom:title type="text">ProductDetails</atom:title>
      </collection>
      <collection href="Categories">
         <atom:title type="text">Categories</atom:title>
      </collection>
      <collection href="Suppliers">
         <atom:title type="text">Suppliers</atom:title>
      </collection>
      <collection href="Persons">
         <atom:title type="text">Persons</atom:title>
      </collection>
      <collection href="PersonDetails">
         <atom:title type="text">PersonDetails</atom:title>
      </collection>
      <collection href="Advertisements">
         <atom:title type="text">Advertisements</atom:title>
      </collection>
   </workspace>
</service>
While my APIs produce a JSON page instead:

{"@odata.context":"https://MYREDACTEDDOMAIN/$metadata","value":[{"name":"cdi_unsubscribes","kind":"EntitySet","url":"cdi_unsubscribes"},{"name":"Unsubs","kind":"EntitySet","url":"Unsubs"},{"name":"Products","kind":"EntitySet","url":"Products"}]}

Obviously the entities are different between the examples but that doesn't matter.

So my question is: is the missing ATOM feed a possible reason for my Virtual Entities not working?

I have the same question (0)
  • Suggested answer
    Jean Joel Kakou Profile Picture
    Microsoft Employee on at

    Hello ,

    thank you for your post,

    I dont think the issue is with the Odata because you are using a custom Odata provider.

    You will have to create a plugin for retrieve and retrieve multiple

    Follow these steps:

    bguidinger.com/.../custom-data-providers-virtual-entities

    Possible issue:

    community.dynamics.com/.../dynamics-365-working-with-the-virtual-entities

    Additional information about VE:

    docs.microsoft.com/.../odata

    docs.microsoft.com/.../custom-ve-data-providers

    docs.microsoft.com/.../custom-ve-data-providers

  • TPAMI Profile Picture
    60 on at

    Thanks for your response.

    I'm confused by your response. I was under the impression that if I develop my own provider that conforms to the OData V4 standard (which I believe mine does), I should be able to use the built-in tools and set this up as an OData V4 provider.

    If that's not the case, then what is this built-in option for?

    I was able to set up the demo using the built-in data source tool, so mine should work in theory right?

  • Jean Joel Kakou Profile Picture
    Microsoft Employee on at

    If you are using a custom provider , you will have to do more step with I have described above.

    but if you want to use the  built-in option, you will need to have the same format with the link below in format XML not Json

    services.odata.org/.../

    I hope I have clarify the doubt.

  • TPAMI Profile Picture
    60 on at

    I'll reprogram my API output and see if that fixes things, thanks!

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the June Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Manoj - ManoVerse Profile Picture

Manoj - ManoVerse 131 Super User 2026 Season 1

#2
11manish Profile Picture

11manish 95

#3
Chris1968 Profile Picture

Chris1968 20

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans