143 votes7 comments · SharePoint Dev Platform » SharePoint APIs (CSOM/REST/Server-side) · Flag idea as inappropriate… · Admin →Martin Braun supported this idea ·
An error occurred while saving the commentMartin Braun commented
I can confirm this issue and it's not only happening with Managed Metadata, but also with Person or Group fields. It's right that the normal request should return the ID not the value, but when you expand FieldValuesAsHtml, it should fill the expanded object with the value surrounded by proper HTML. This is happening and works fine when you have a multi value field, but on a single value field, it will contain the ID surrounded by proper HTML, not the value.
I'm shocked Microsoft never realized or fixed their mistake, after almost 4 years!!