Graph API Taxonomy $expand=children Not Working

Roberto Notario McDonnell 0 Reputation points
2025-06-19T22:00:34.79+00:00

Summary

The $expand=children query parameter does not return children properties for taxonomy terms, even when terms have verified hierarchical relationships.

Environment

  • API: Microsoft Graph v1.0
  • Endpoint: /sites/{site-id}/termStore/sets/{termset-id}/terms
  • Date: June 19, 2025

Expected Behavior

When using $expand=children, terms with child terms should include a children array property.

Actual Behavior

Terms are returned without any children property, even when children exist (verified via SharePoint Admin Center and direct children endpoints).

Reproduction Steps

  1. Create a term set with hierarchical terms in SharePoint Admin Center
  2. Query: GET /sites/{site-id}/termStore/sets/{termset-id}/terms?$expand=children
  3. Observe that no children properties are returned

Working Alternatives

  • Direct children endpoint works: /terms/{term-id}/children
Microsoft Security Microsoft Graph
0 comments No comments
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.