/// <summary> /// Get entity from groups by key /// </summary> /// <remarks> /// Represents an Azure Active Directory object. The directoryObject type is /// the base type for many other directory entity types. /// </remarks> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='groupId'> /// key: id of group /// </param> /// <param name='consistencyLevel'> /// Indicates the requested consistency level. Documentation URL: /// https://developer.microsoft.com/en-us/office/blogs/microsoft-graph-advanced-queries-for-directory-objects-are-now-generally-available/ /// </param> /// <param name='select'> /// Select properties to be returned /// </param> /// <param name='expand'> /// Expand related entities /// </param> public static MicrosoftGraphGroup GetGroup(this IGroupsOperations operations, string groupId, string consistencyLevel = default(string), IList <string> select = default(IList <string>), IList <string> expand = default(IList <string>)) { return(operations.GetGroupAsync(groupId, consistencyLevel, select, expand).GetAwaiter().GetResult()); }