/// <summary> /// Update entity in users /// </summary> /// <remarks> /// Represents an Azure Active Directory user object. /// </remarks> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='userId'> /// key: id of user /// </param> /// <param name='body'> /// New property values /// </param> public static void UpdateUser(this IUsersOperations operations, string userId, MicrosoftGraphUser body) { operations.UpdateUserAsync(userId, body).GetAwaiter().GetResult(); }