/// <summary> /// Add a member to a group. /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='groupObjectId'> /// The object ID of the group to which to add the member. /// </param> /// <param name='parameters'> /// The URL of the member object, such as /// https://graph.windows.net/0b1f9851-1bf0-433f-aec3-cb9272f093dc/directoryObjects/f260bbc4-c254-447b-94cf-293b5ec434dd. /// </param> public static void AddMember(this IGroupsOperations operations, string groupObjectId, GroupAddMemberParameters parameters) { operations.AddMemberAsync(groupObjectId, parameters).GetAwaiter().GetResult(); }