How to create users in a particular azure group.

Paritosh Panigrahi 41 Reputation points
2021-12-02T16:36:28.55+00:00

I want to create users in a particular azure group by API. I could not find any option in create user graph API.

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

1 answer

Sort by: Most helpful
  1. CarlZhao-MSFT 37,216 Reputation points
    2021-12-03T01:52:31.7+00:00

    Hi @Paritosh Panigrahi

    You cannot create users in a group, you should create users first and then add these users to the group.

    154610-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.