Skip to main content

Currently, I am facing an issue related to AAD synchronization with K2 Five 5.7 New Identity Service. I have run this once, and it has succeeded. But when I tried to run a couple times, I failed. It said,

Message: DeltaLink older than 30 days is not supported.
Inner error:
AdditionalData:
        date: 2024-04-02T06:40:29
        request-id: 44057e04-6990-4914-856c-49a4d8fbf539
        client-request-id: 7a36b868-2c55-438a-868b-0c4a6c52e63a

I tried to look for a workaround and found https://medium.com/k2-dev-en/k2-and-aad-sync-error-deltalink-older-than-30-days-8c4efff6bd77, but the issue still occurred.

Has anyone faced the issue like I did? Need your advice on this.

Hi @blackfantasy,

 

First you need to get the Provider Instance ID for the AAD provider:

Use these two queries to get the correct Provider Instance ID:

SELECT * FROM OSyncEngine].eProvider]
+++ SELECT * FROM OSyncEngine].eProviderInstance]

 

Then run this query:

UPDATE ASyncEngine].nProviderInstance] SET SSyncState] = NULL
WHERE Enabled=1 AND ID = {{YOUR PROVIDE INSTANCE ID FROM +++}}


Hi @Deon,

Thank you for the solution. Now it can sync again.


Reply