Uploaded image for project: 'MidPoint'
  1. MidPoint
  2. MID-7865

Error with the Live Sync for Microsoft Graph API Connector

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Reviewed
    • Affects Version/s: 4.4.1
    • Fix Version/s: None
    • Component/s: Connectors, Tasks
    • Labels:
      None
    • Subscription:
      Active subscription

      Description

      While I was testing the Microsoft Graph API Connector, I tried to create a Live Sync task but when I press the resume button I end up with a Fatal Error and this is what I have found in the log file:  

      2022-04-07 10:58:59,896 [] [midPointScheduler_Worker-1] ERROR (com.evolveum.polygon.connector.msgraphapi.MSGraphConnector): method: null msg:Attribute of type ObjectClass is not supported. Only Account objectclass is supported for getLatestSyncToken currently. 2022-04-07 10:58:59,898 [] [midPointScheduler_Worker-1] WARN (com.evolveum.midpoint.provisioning.ucf.impl.connid.ConnIdUtil): Got ConnId exception (might be handled by upper layers later) java.lang.UnsupportedOperationException in connector:c812e488-cdb7-45c4-8029-142e5f6ac3e0(ConnId com.evolveum.polygon.connector.msgraphapi.MSGraphConnector v1.0-beta): ConnectorSpec(resource:67e12466-9b98-4cf5-aef5-43a75869acc9(Target MS Azure @innovery.net), name=null, oid=c812e488-cdb7-45c4-8029-142e5f6ac3e0): Attribute of type ObjectClass is not supported. Only Account objectclass is supported for getLatestSyncToken currently., reason: Attribute of type ObjectClass is not supported. Only Account objectclass is supported for getLatestSyncToken currently. (class java.lang.UnsupportedOperationException) 2022-04-07 10:58:59,902 [PROVISIONING] [midPointScheduler_Worker-1] ERROR (com.evolveum.midpoint.repo.common.activity.run.ActivityRunResult): Unhandled exception in LiveSyncActivityRun{act=StandaloneActivity{path=''}}. java.lang.UnsupportedOperationException: Attribute of type ObjectClass is not supported. Only Account objectclass is supported for getLatestSyncToken currently.
      

      Could you please help me to solve this problem, because for what I've read on the documentation this task is supposed to work with this connector.

        Attachments

          Activity

            People

            Assignee:
            Andrea Picconi Andrea
            Reporter:
            Andrea Picconi Andrea
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: