Linked server connection fails but ODBC DSN always works

SOLVED

I setup a 64 bit System DSN to Sage 2022. It's configured as a silent connection and the debug option always works. I'm trying to setup a linked server connection using that system DSN but it always fails. Here's the error.

Cannot initialize the data source object of OLE DB provider "MSDASQL" for linked server "MAS_EPO".
OLE DB provider "MSDASQL" for linked server "MAS_EPO" returned message "[Microsoft][ODBC Driver Manager] Driver's SQLSetConnectAttr failed".
OLE DB provider "MSDASQL" for linked server "MAS_EPO" returned message "[ProvideX][ODBC Driver][PVKIO]Logon failed". (Microsoft SQL Server, Error: 7303)

Any suggestions on how to resolve this? I followed the instructions on KB 36360.