History Database process does not work correctly with SQL Server Always On Availability Group.
Two physical SQL servers included in a clustered network. Both the One Identity Manager (1IM) Database and the History Database (HDB) are combined in the same Availability Group.
To meet the "high availability" requirement, the HDB in the Source Database defines the server with its listener name (i.e. the logical name). In this case, the HDB_PGetRawFromSource process fails.
The problem does not occur when the name of the currently active SQL server is used as ServerName (parameter).