IdentityNow account aggregation pending not allowing new aggregation to start

Hi, I came across one common issue when scheduled account aggregation gets stuck due to some issue which will not allow upcoming aggregation for same service to start.

Could you please suggest better way to get any notification on stuck / pending aggregation from long time, so that admin can terminate that aggregation. Also can we terminate this automatically with some schedule task.

There are a couple of API calls that might help. You can use the search API with a body like

{
    "indices": [
        "events"
   ],
    "query": {
        "query": "operation:AGGREGATE",
        "sourceName": "Active Directory"
   },
   "sort": [
            "-created"
        ]
}

This will produce the list of events. There should be two actions per aggregation:

SOURCE_ACCOUNT_AGGREGATION_STARTED
SOURCE_ACCOUNT_AGGREGATION_PASSED

If the aggregation is still running, you may find it through the API call /beta/account-aggregations/:id/status.

Alicia

1 Like

@agutschow thank you so much for your response. This idea helped me a lot!