Building Applications and Solutions with Microsoft 365 Core Services (legacy) — Question 13
You are building an application that will help Azure Active Directory (Azure AD) administrators manage Microsoft 365 groups.
You are building a details page that will display information about the groups.
You need to display the groups of which the current group is a member. The results must contain the nested groups.
Which URI should you use?
Answer options
- A. https://graph.microsoft.com/v1.0/groups/{id}/transitiveMemberOf
- B. https://graph.microsoft.com/v1.0/groups/{id}/memberOf
- C. https://graph.microsoft.com/v1.0/groups/{id}/transitiveMembers
- D. https://graph.microsoft.com/v1.0/groups/{id}/owners
- E. https://graph.microsoft.com/v1.0/groups/{id}/members
Correct answer: A
Explanation
The correct answer is A, as the URI 'transitiveMemberOf' retrieves all the groups that the specified group is a member of, including nested groups. Option B only returns direct memberships, while C focuses on direct members instead of group memberships. Options D and E list owners and members respectively, which do not pertain to group memberships.