Skip to content

[SharePoint Online] Connector produces license error even if we don't use that features #4139

Description

@EscolarProgramming

Bug Description

In the SharePoint Online Connector, we receive an error message every half minute stating that we are using the wrong license. The message cites a feature that we do not use at all and that is disabled and spams the Docker logs. The error message:

[FMWK][11:41:43][ERROR] [Connector id: XXXX, index name: content-sharepoint-online-4b50] Minimum required Elasticsearch license: 'platinum'. Actual license: 'basic'. Skipping access control sync scheduling...
[FMWK][11:42:15][ERROR] [Connector id: XXXX, index name: content-sharepoint-online-4b50] Minimum required Elasticsearch license: 'platinum'. Actual license: 'basic'. Skipping access control sync scheduling...
[FMWK][11:42:46][ERROR] [Connector id: XXXX, index name: content-sharepoint-online-4b50] Minimum required Elasticsearch license: 'platinum'. Actual license: 'basic'. Skipping access control sync scheduling...
[FMWK][11:43:18][ERROR] [Connector id: XXXX, index name: content-sharepoint-online-4b50] Minimum required Elasticsearch license: 'platinum'. Actual license: 'basic'. Skipping access control sync scheduling...
[FMWK][11:43:49][ERROR] [Connector id: XXXX, index name: content-sharepoint-online-4b50] Minimum required Elasticsearch license: 'platinum'. Actual license: 'basic'. Skipping access control sync scheduling...
[FMWK][11:44:20][ERROR] [Connector id: XXXX, index name: content-sharepoint-online-4b50] Minimum required Elasticsearch license: 'platinum'. Actual license: 'basic'. Skipping access control sync scheduling...

To Reproduce

Steps to reproduce the behavior:

  1. Create SharePoint Online sync
  2. Configure auto content sync but deactivate Access Control Sync
  3. See error

Expected behavior

No error because feature isn't enabled

Screenshots

Image

Environment

ElasticSearch + ElasticConnector 9.3.0

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions