IGroupTransitiveMembersCollectionWithReferencesPage usersFromGroup)> GetFirstUsersPageAsync(Guid objectId, Guid runId)
        {
            await _log.LogMessageAsync(new LogMessage { RunId = runId, Message = $"Reading users from the group with ID {objectId}." });

            var result = await _graphGroupRepository.GetFirstUsersPageAsync(objectId);

            return(result);
        }
        public async Task <UsersPageResponse> GetFirstMembersPageAsync(Guid groupId, Guid runId)
        {
            await _loggingRepository.LogMessageAsync(new LogMessage { RunId = runId, Message = $"Reading users from the group with ID {groupId}." });

            _graphGroupRepository.RunId = runId;
            var result = await _graphGroupRepository.GetFirstUsersPageAsync(groupId);

            return(new UsersPageResponse
            {
                NextPageUrl = result.nextPageUrl,
                Members = result.users,
                NonUserGraphObjects = result.nonUserGraphObjects,
                MembersPage = result.usersFromGroup
            });
        }