Skip to main content

Notifications

Announcements

No record found.

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?

  • TPAMI Profile Picture
    60 on at
    RE: Do virtual entities need an ATOM feed page for OData v4 data sources?

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

  • Jean Joel Kakou Profile Picture
    on at
    RE: Do virtual entities need an ATOM feed page for OData v4 data sources?

    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
    RE: Do virtual entities need an ATOM feed page for OData v4 data sources?

    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?

  • Suggested answer
    Jean Joel Kakou Profile Picture
    on at
    RE: Do virtual entities need an ATOM feed page for OData v4 data sources?

    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

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

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Adis Hodzic – Community Spotlight

We are honored to recognize Adis Hodzic as our May 2025 Community…

Kudos to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Daivat Vartak (v-9davar) Profile Picture

Daivat Vartak (v-9d... 225 Super User 2025 Season 1

#2
Muhammad Shahzad Shafique Profile Picture

Muhammad Shahzad Sh... 106

#3
Vahid Ghafarpour Profile Picture

Vahid Ghafarpour 82 Super User 2025 Season 1

Overall leaderboard

Product updates

Dynamics 365 release plans