How assign users to a particular group by API.

Paritosh Panigrahi 41 Reputation points
2021-12-02T16:57:37.99+00:00

I am creating users dynamically by API. But I want those users should be member of a group. I want to do this by API call. And can we add multiple users in single API call.

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,743 questions
0 comments No comments
{count} votes

Accepted answer
  1. CarlZhao-MSFT 37,461 Reputation points
    2021-12-03T02:01:12.39+00:00

    Hi @Paritosh Panigrahi

    Of course, you can call the add members api endpoint to add multiple users to a specific group in a single call.

    154644-image.png


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    1 person found this answer helpful.
    0 comments No comments

0 additional answers

Sort by: Most helpful