How assign users to a particular group by API.

Paritosh Panigrahi 41 Reputation points

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.
9,939 questions
0 comments No comments
{count} votes

Accepted answer
  1. CarlZhao-MSFT 34,701 Reputation points

    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.


    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