Recently I had to move FME to a new Computer where I cannot use the same Windows-User for FME Authoring and Batchs.
This way, I had to change my Database-Connections to Public, so that the Batch-user can successfully execute my FME-Batchs.
I did the same for my Onedrive Web-Connection (change to Public).
Now the Onedrive-Connection works in Workbench directly, but not as a Batch (with my Batch-User "fmebatch")
Log:
2022-12-13 10:13:29| 0.4| 0.2|ERROR |OneDriveConnector: Invalid connection, make sure your install path for FME is in your system environment variables
2022-12-13 10:13:29| 0.4| 0.0|ERROR |Error encountered while calling method `input'
2022-12-13 10:13:29| 0.4| 0.0|FATAL |OneDriveConnector_CALLER (PythonFactory): PythonFactory failed to process feature
2022-12-13 10:13:29| 0.4| 0.0|WARN |An error has occurred. Check the logfile above for details
2022-12-13 10:13:29| 0.4| 0.0|INFORM|Translation FAILED with 3 error(s) and 2 warning(s) (0 feature(s) output)
2022-12-13 10:13:29| 0.4| 0.0|INFORM|FME Session Duration: 2.2 seconds. (CPU: 0.3s user, 0.1s system)
2022-12-13 10:13:29| 0.4| 0.0|INFORM|END - ProcessID: 7536, peak process memory usage: 130812 kB, current process memory usage: 125708 kB
I don't know what's the problem, as it runs fine directly in FME Workbench.
Any ideas?