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