Share via

MSGraph API TermStore relations not returning set, fromTerm or toTerm

Alec Sanderson 0 Reputation points
2024-12-04T15:59:24.9166667+00:00

I am trying to build a DB replica of the TermStore contents with both parent/child relationships and Reuse relationships.

Using the latest Microsoft.Graph API 5.64.0 and Microsoft.Graph.Core 3.2.1

Issue 1 - Term store does not return some data:

var relations = await graphClient.Sites[sharepointSiteID].TermStore.Sets[tsSet.Id].Relations.GetAsync();

It returns relations but each relation is missing the set, fromTerm and toTerm components

Is there any way I can get these from that call or elsewhere?

Issue 2 - Children list does not return any reused terms

Any ideas?

Thanks

Microsoft 365 and Office | SharePoint | For business | Windows
Microsoft Security | Microsoft Graph
0 comments No comments

Your answer

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