Having issue with Azure AD account aggregation is failing with the below error

Which IIQ version are you inquiring about?

8.4P1

Please share any images or screenshots, if relevant.

[Please insert images here, otherwise delete this section]

Please share any other relevant files that may be required (for example, logs).

2025-09-24T12:06:26,586 ERROR pool-10-thread-1 sailpoint.connector.azuread.ChannelMembershipCollector:113 - TooManyRequests : UnknownError2025-09-24T12:06:26,755 ERROR pool-10-thread-2 sailpoint.connector.azuread.ChannelMembershipCollector:113 - TooManyRequests : UnknownError2025-09-24T12:06:27,093 WARN pool-10-thread-1 microsoft.rest.service.HttpRequestExecutor:197 - Retrying Request for URL https://graph.microsoft.com/v1.0/teams/649b3503-dec1-4dfd-83a4-21e5e9a424e0/channels Retry count : 12025-09-24T12:06:27,100 WARN pool-10-thread-1 microsoft.rest.service.HttpRequestExecutor:217 - Request will be retried after : 2449 ms2025-09-24T12:06:27,314 WARN pool-10-thread-2 microsoft.rest.service.HttpRequestExecutor:197 - Retrying Request for URL https://graph.microsoft.com/v1.0/teams/561f1884-028b-4a39-acc0-b0482977abf4/channels Retry count : 12025-09-24T12:06:27,323 WARN pool-10-thread-2 microsoft.rest.service.HttpRequestExecutor:217 - Request will be retried after : 2776 ms2025-09-24T12:06:27,326 WARN pool-10-thread-3 microsoft.rest.service.HttpRequestExecutor:197 - Retrying Request for URL https://graph.microsoft.com/v1.0/teams/ad424049-463e-413f-8bf1-64085effdf20/channels Retry count : 12025-09-24T12:06:27,332 WARN pool-10-thread-3 microsoft.rest.service.HttpRequestExecutor:217 - Request will be retried after : 2992 ms2025-09-24T12:06:27,744 WARN pool-10-thread-4 microsoft.rest.service.HttpRequestExecutor:197 - Retrying Request for URL https://graph.microsoft.com/v1.0/teams/0786c1f3-a58e-4e79-95f8-e3e93ca1a05e/channels Retry count : 12025-09-24T12:06:27,751 WARN pool-10-thread-4 microsoft.rest.service.HttpRequestExecutor:217 - Request will be retried after : 2973 ms2025-09-24T12:06:30,117 ERROR pool-10-thread-1 sailpoint.connector.azuread.ChannelMembershipCollector:113 - TooManyRequests : UnknownError2025-09-24T12:06:30,628 WARN pool-10-thread-1 microsoft.rest.service.HttpRequestExecutor:197 - Retrying Request for URL https://graph.microsoft.com/v1.0/teams/8dbfd425-81d4-4e59-a976-e30ef86b38f4/channels Retry count : 12025-09-24T12:06:30,635 WARN pool-10-thread-1 microsoft.rest.service.HttpRequestExecutor:217 - Request will be retried after : 2345 ms2025-09-24T12:06:31,746 WARN pool-10-thread-3 microsoft.rest.service.HttpRequestExecutor:197 - Retrying Request for URL https://graph.microsoft.com/v1.0/teams/4a8d3651-3dca-4501-bfa7-b2ce6c54f788/channels Retry count : 12025-09-24T12:06:31,753 WARN pool-10-thread-3 microsoft.rest.service.HttpRequestExecutor:217 - Request will be retried after : 2667 ms2025-09-24T12:06:31,972 WARN pool-10-thread-4 microsoft.rest.service.HttpRequestExecutor:197 - Retrying Request for URL https://graph.microsoft.com/v1.0/teams/edcfa832-082c-40af-8fa7-473a4b28423e/channels Retry count : 12025-09-24T12:06:31,979 WARN pool-10-thread-4 microsoft.rest.service.HttpRequestExecutor:217 - Request will be retried after : 2218 ms2025-09-24T12:06:32,479 WARN pool-10-thread-2 microsoft.rest.service.HttpRequestExecutor:197 - Retrying Request for URL https://graph.microsoft.com/v1.0/teams/75395b8a-f902-4f82-82a0-298e1a539b01/channels Retry count : 12025-09-24T12:06:32,486 WARN pool-10-thread-2 microsoft.rest.service.HttpRequestExecutor:217 - Request will be retried after : 2697 ms2025-09-24T12:06:33,490 ERROR pool-10-thread-1 sailpoint.connector.azuread.ChannelMembershipCollector:113 - TooManyRequests : UnknownError2025-09-24T12:06:34,091 WARN pool-10-thread-1 microsoft.rest.service.HttpRequestExecutor:197 - Retrying Request for URL https://graph.microsoft.com/v1.0/teams/5cf061da-11b3-4d1e-bdc4-a064abd6f3e3/channels Retry count : 12025-09-24T12:06:34,099 WARN pool-10-thread-1 microsoft.rest.service.HttpRequestExecutor:217 - Request will be retried after : 2939 ms2025-09-24T12:06:34,750 ERROR pool-10-thread-4 sailpoint.connector.azuread.ChannelMembershipCollector:113 - TooManyRequests : UnknownError2025-09-24T12:06:35,021 ERROR pool-10-thread-3 sailpoint.connector.azuread.ChannelMembershipCollector:113 - TooManyRequests : UnknownError2025-09-24T12:06:35,301 WARN pool-10-thread-4 microsoft.rest.service.HttpRequestExecutor:197 - Retrying Request for URL https://graph.microsoft.com/v1.0/teams/e6be0d63-deb2-4b1b-ba93-e8358e6bb551/channels Retry count : 12025-09-24T12:06:35,308 WARN pool-10-thread-4 microsoft.rest.service.HttpRequestExecutor:217 - Request will be retried after : 2423 ms2025-09-24T12:06:35,527 WARN pool-10-thread-3 microsoft.rest.service.HttpRequestExecutor:197 - Retrying Request for URL https://graph.microsoft.com/v1.0/teams/e5707534-5b63-4db9-b20f-ff04d0ca3de9/channels Retry count : 12025-09-24T12:06:35,534 WARN pool-10-thread-3 microsoft.rest.service.HttpRequestExecutor:217 - Request will be retried after : 2091 ms2025-09-24T12:06:36,464 WARN pool-10-thread-2 microsoft.rest.service.HttpRequestExecutor:197 - Retrying Request for URL https://graph.microsoft.com/v1.0/teams/31d40631-596b-43db-bd35-ce0af881ff52/channels Retry count : 12025-09-24T12:06:36,471 WARN pool-10-thread-2 microsoft.rest.service.HttpRequestExecutor:217 - Request will be retried after : 2248 ms2025-09-24T12:06:37,543 ERROR pool-10-thread-1 sailpoint.connector.azuread.ChannelMembershipCollector:113 - TooManyRequests : UnknownError2025-09-24T12:06:38,109 WARN pool-10-thread-1 microsoft.rest.service.HttpRequestExecutor:197 - Retrying Request for URL https://graph.microsoft.com/v1.0/teams/af56b533-8e3a-43c0-b0d0-c4bb9025da61/channels Retry count : 12025-09-24T12:06:38,118 WARN pool-10-thread-1 microsoft.rest.service.HttpRequestExecutor:217 - Request will be retried after : 2647 ms2025-09-24T12:06:38,221 ERROR pool-10-thread-4 sailpoint.connector.azuread.ChannelMembershipCollector:113 - TooManyRequests : UnknownError2025-09-24T12:06:38,715 WARN pool-10-thread-4 microsoft.rest.service.HttpRequestExecutor:197 - Retrying Request for URL https://graph.microsoft.com/v1.0/teams/6ffe855f-e629-4b93-b684-1cb4e9369cc5/channels Retry count : 12025-09-24T12:06:38,723 WARN pool-10-thread-4 microsoft.rest.service.HttpRequestExecutor:217 - Request will be retried after : 2798 ms2025-09-24T12:06:39,259 ERROR pool-10-thread-2 sailpoint.connector.azuread.ChannelMembershipCollector:113 - TooManyRequests : UnknownError2025-09-24T12:06:39,775 WARN pool-10-thread-2 microsoft.rest.service.HttpRequestExecutor:197 - Retrying Request for URL https://graph.microsoft.com/v1.0/teams/7b4b1f43-5fc3-4f8d-9904-3d9c218532d5/channels Retry count : 12025-09-24T12:06:39,784 WARN pool-10-thread-2 microsoft.rest.service.HttpRequestExecutor:217 - Request will be retried after : 2560 ms2025-09-24T12:13:36,159 WARN pool-10-thread-4 microsoft.rest.service.HttpRequestExecutor:197 - Retrying Request for URL https://graph.microsoft.com/v1.0/teams/63126ed1-1b74-440e-a4b5-5aca9fa298ef/channels Retry count : 12025-09-24T12:13:36,171 WARN pool-10-thread-4 microsoft.rest.service.HttpRequestExecutor:217 - Request will be retried after : 2955 ms2025-09-24T12:13:38,639 WARN pool-10-thread-2 microsoft.rest.service.HttpRequestExecutor:197 - Retrying Request for URL https://graph.microsoft.com/v1.0/teams/77f2a287-6428-4d95-ac6b-bf0a4e6c58cb/channels Retry count : 12025-09-24T12:13:38,647 WARN pool-10-thread-2 microsoft.rest.service.HttpRequestExecutor:217 - Request will be retried after : 2998 ms2025-09-24T12:13:39,388 WARN pool-10-thread-3 microsoft.rest.service.HttpRequestExecutor:197 - Retrying Request for URL https://graph.microsoft.com/v1.0/teams/4040f0bd-d1bd-4e3a-ae05-fa7ee3316ca9/channels Retry count : 12025-09-24T12:13:39,397 WARN pool-10-thread-3 microsoft.rest.service.HttpRequestExecutor:217 - Request will be retried after : 2945 ms2025-09-24T12:13:39,602 ERROR pool-10-thread-4 sailpoint.connector.azuread.ChannelMembershipCollector:113 - TooManyRequests : UnknownError2025-09-24T12:13:39,843 WARN pool-10-thread-1 microsoft.rest.service.HttpRequestExecutor:197 - Retrying Request for URL https://graph.microsoft.com/v1.0/teams/d825c97f-ebe1-48e8-9d76-de2a5fb9fabc/channels Retry count : 12025-09-24T12:13:39,850 WARN pool-10-thread-1 microsoft.rest.service.HttpRequestExecutor:217 - Request will be retried after : 2768 ms2025-09-24T12:14:22,499 ERROR pool-10-thread-4 sailpoint.connector.azuread.ChannelMembershipCollector:113 - NotFound : No threadId found for TeamId 33af8968-3788-4c45-b98a-6da686d0ebbf2025-09-24T12:14:22,622 ERROR pool-10-thread-2 sailpoint.connector.azuread.ChannelMembershipCollector:113 - NotFound : No threadId found for TeamId 6c49c9a3-9abd-4ac8-b658-e4e310710b0e2025-09-24T12:14:40,712 ERROR pool-10-thread-2 sailpoint.connector.azuread.ChannelMembershipCollector:113 - NotFound : No threadId found for TeamId e791b251-817c-42f0-a4fc-46b33e12edce2025-09-24T12:23:37,823 ERROR pool-10-thread-1 sailpoint.connector.azuread.ChannelMembershipCollector:113 - NotFound : No threadId found for TeamId 2fb61882-5574-4d35-a2dc-54014e5cc2aa

Share all details about your problem, including any error messages you may have received.

Having issue with Azure AD account aggregation is failing with the below error and not scanning any identities.

Exception during aggregation of Object Type Account on Application Azure AD. Reason: Unable to create iterator java.lang.StackOverflowError

The key error from your logs is:
TooManyRequests : UnknownError

This means you’re experiencing rate limiting on the Microsoft Graph API. You’re likely trying to aggregate too many accounts at once or using an obsolete REST endpoint.

I would recommend checking the connector settings and reviewing the REST endpoints in use. Try to enable pagination and reduce the amount of concurrent threads. I’ll leave some links to Microsoft’s guidance around throttling of their APIs for your review