I want to update the value of a taxonomy field for a SharePoint document via the GraphAPI (in C#, but reproduceable via GraphExplorer). This doesn’t seem to work correctly, I’m noticing strange behavior.
These are the steps to reproduce:
- Create a new document, without metadata.
- Set metadata fields “Owner” (text) and “Source” (taxonomy field) via a PATCH request to https://graph.microsoft.com/v1.0/sites/<siteid>/lists/<listid>/items/9/fields
- I’m using the known workaround to set the taxonomy field. I'm sure the ID of the field is correct, as I get a 400 “bad request” when I change it.
{
"Owner": "Isabelle",
"nea3702803f442dfa59cb0bd5d3e470d": "-1;#|2aad0d99-ed95-4c96-84b8-61f06084b9f0"
}
- The taxonomy field is updated correctly, but not the owner.
- If I only specify the “Owner” field, the “Owner” field is updated correctly.
- Once the taxonomy field is set, there is no means of updating the value anymore. Even not by resubmitting the exact same PATCH request which did set the value initially.
- Updating the “Owner” field works, but as soon as I add a value for the “Source”, both fields are not updated.
- Sometimes only passing the “Owner” field even removes the taxonomy field.
{ "Owner": "Andy"}
I understand setting taxonomy fields might be unsupported. What is the current way to request this feature from the Microsoft Graph Team? I find posts describing similar behavior with broken links.