Microsoft Exam Questions

You need to configure the application to retrieve the groups to which the current signed-in user bel

You have an application that uses the Microsoft Graph API.

You need to configure the application to retrieve the groups to which the current signed-in user belongs. The results must contain the extended priorities of the groups.

Which URI should you use?

A. https://graph.microsoft.com/v1.0/me/getMemberObjects

B. https://graph.microsoft.com/v1.0/me/getMemberGroups

C. https://graph.microsoft.com/v1.0/me/memberOf
D. https://graph.microsoft.com/v1.0/me/checkMemberGroups

Explanation:
Get member groups returns all the groups that the specified user, group, or directory object is a member of. This function is transitive.

Reference: https://docs.microsoft.com/en-us/graph/api/directoryobject-getmembergroups