Hello Team,
EXH_EX0Organization_CreateHybridLinks is failing in production for the last 2 days with error :
Error executing script 'EXH_LinkEXHRemoteMailboxesToOffPrem'.
[System.ArgumentException] An item with the same key has already been added.
I removed the duplicate entries in AADuser using below query
OnPremSid in (
select OnPremSid from AADUser
group by OnPremSid
having count(OnPremSid)>1)
But still job fails.
How can I fix this job as linking between accounts is failing for the last 2 days.