diff --git a/src/internal/connector/sharepoint/collection.go b/src/internal/connector/sharepoint/collection.go index 3a35164e2..a1b80384e 100644 --- a/src/internal/connector/sharepoint/collection.go +++ b/src/internal/connector/sharepoint/collection.go @@ -265,6 +265,7 @@ func (sc *Collection) retrievePages( if betaService == nil { return metrics, fmt.Errorf("beta service not found in collection") } + pages, err := GetSitePages(ctx, betaService, sc.fullPath.ResourceOwner(), sc.jobs) if err != nil { return metrics, errors.Wrap(err, sc.fullPath.ResourceOwner())