diff --git a/internal/sync.go b/internal/sync.go index fbef888d..2bbcb80c 100644 --- a/internal/sync.go +++ b/internal/sync.go @@ -507,6 +507,10 @@ func (s *syncGSuite) getGoogleGroupsAndUsers(googleGroups []*admin.Group) ([]*ad if err != nil { return nil, nil, err } + if len(u) == 0 { + log.WithField("id", m.Email).Warn("missing user") + continue + } membersUsers = append(membersUsers, u[0])