ODBC Error when SSIS package is run from SQL Job - Sage 2022

Hi All.

We're in the process of upgrading to Sage 2022 and I'm trying to recreate some SSIS packages (SQL Server 2019 and Visual Studio 2022) that connect to Sage 2022 via the ODBC 64-bit driver and copies to one of our SQL Server 2019 tables.

I'm getting the following error when running the job:

Message
Executed as user: NT Service\SQLAgent$PMISQL001. Microsoft (R) SQL Server Execute Package Utility Version 15.0.2000.5 for 64-bit Copyright (C) 2019 Microsoft. All rights reserved. Started: 6:12:15 PM Error: 2023-01-30 18:12:15.48 Code: 0xC0014009 Source: Package Connection manager "Sage 2022" Description: There was an error trying to establish an Open Database Connectivity (ODBC) connection with the database server. End Error Error: 2023-01-30 18:12:15.48 Code: 0xC020801C Source: Data Flow Task ODBC Source [2] Description: SSIS Error Code DTS_E_CANNOTACQUIRECONNECTIONFROMCONNECTIONMANAGER. The AcquireConnection method call to the connection manager "Sage 2022" failed with error code 0xC0014009. There may be error messages posted before this with more information on why the AcquireConnection method call failed. End Error Error: 2023-01-30 18:12:15.48 Code: 0xC0047017 Source: Data Flow Task SSIS.Pipeline Description: ODBC Source failed validation and returned error code 0xC020801C. End Error Error: 2023-01-30 18:12:15.48 Code: 0xC004700C Source: Data Flow Task SSIS.Pipeline Description: One or more component failed validation. End Error Error: 2023-01-30 18:12:15.48 Code: 0xC0024107 Source: Data Flow Task Description: There were errors during task validation. End Error DTExec: The package execution returned DTSER_FAILURE (1). Started: 6:12:15 PM Finished: 6:12:15 PM Elapsed: 0.281 seconds. The package execution failed. The step failed.

When I click Test Connection in the ssis package for the ODBC connection it says successful. Same when I go to the ProvideX ODBC Driver Setup form in Windows Server, I click Test Connection and is says "Connection succeeded. Datasource includes 1376 tables".

When I manually run the SQL 2019 Import Wizard and create the query to pull the data from Sage 2022 and import it into my SQL Server table it runs successfully and imports the data.  

Any idea what can be gong on?

Thank you in advance.