where can i get {directory-object-id}

Navuluri, Sai Chandu 0 Reputation points
2024-01-12T10:12:36+00:00

DELETE https://graph.microsoft.com/v1.0/groups/{group-id}/members/{directory-object-id}/$ref

I need {directory-object-id} value how can I get the value {directory-object-id}

Microsoft Security Microsoft Graph
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Andy David - MVP 157.4K Reputation points MVP Volunteer Moderator
    2024-01-12T12:09:54.34+00:00
    0 comments No comments

  2. CarlZhao-MSFT 46,371 Reputation points
    2024-01-15T09:57:44.59+00:00

    Hi @Navuluri, Sai Chandu

    You have several ways to find the object id of a group member, such as calling the List Group Members API or going to Azure AD > Groups > Find your group > Members > Find the target member you want to delete.

    Hope this helps.

    If the reply is helpful, please click Accept Answer and kindly upvote it. If you have additional questions about this answer, please click Comment.


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.