I am using Microsoft Graph Api client and performing add members to group.
Docs here :- https://docs.microsoft.com/en-us/graph/api/group-post-members?view=graph-rest-1.0&