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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

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

REST Api Changes (bug) in version 9.1.9.8 (on-premises)?

(0) ShareShare
ReportReport
Posted on by 22

We recently updated from v9.0.31.7 on-premises to v9.1.9.8 on-premises and it appears some things have changed.

First of all I noticed that when querying with "&$expand=collection_navigation" the results directly contain the collection elements, whereas previously, the result collection would be empty and the payload would contain a "collection_navigation@odata.nextLink" value with a url to call to get the results.  The new results also contain this property and url but it seems like usually the array itself is also populated.  For this I am wondering if this is a setting which can be enabled/disabled or if it is something we can rely on happening consistently.  Our current system expects to have to use the "nextLink" url if it is present so I would like to know if we need to change this functionality to use the data included in the payload and ignore the "nextLink."

Secondly, I am seeing strange behavior with hierarchical entities where, when I "&$expand=parent,children" I get the correct parent in the results, but the "children" array is populated with a single entity and for some reason it is the same entity as "parent."  In other words, the api is returning the parent as the sole child.  In addition, when I run this query, there is no "nextLink" property for the "children" collection.  If I query "&$expand=children" I get the correct elements in the "children" property and there is also a "nextLink" property.  I'm thinking this is a bug.

I dont know if there is a way to revert back to v9.0.31.7.

I also have no way of knowing if this is an issue with just version v9.1.9.8 and not other 9.1 versions since we upgraded directly from v9.0.x

I have the same question (0)
  • Suggested answer
    Guido Preite Profile Picture
    54,086 Moderator on at

    I noticed some differences when you expand an 1:N compared to an N:N relationship but nothing as you described (keep in mind that I mostly only worked with Web API with Online instances and not OnPremise ones.

    I don't think will be easier for you to back to the previous version (especially just for the Web API)

    regarding the oData nextLink the safe approach (and the one I use) is to process the records if they exists (as you can get an empty array) and process the nextLink if present, this would cover your scenario.

    Regarding the expand with hierarchical entities involved, I think it is a bug, you should verify if still happens inside an online instance (like a trial) and eventually submit a bug, but regarding the timeline when it will get patched with an onpremise rollup I think it's quicker for you to do two different queries (one for the parent and one for the children).

    I know I wrote obvious things, but fixing (also with an increment of the time due to the number of queries) is probably easier.

    hope it 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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the April Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
ManoVerse Profile Picture

ManoVerse 73 Super User 2026 Season 1

#2
Muhammad Shahzad Shafique Profile Picture

Muhammad Shahzad Sh... 69 Most Valuable Professional

#3
11manish Profile Picture

11manish 50

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans