I've published a GP service to ArcGIS server and it fails when I try to run it. The workspace is a file GDB on the local network, and the script contains a UNC path to it. There is a copy of the data on the server, and this GDB is referenced in the data store. See screenshot below.
I've found the python script on the server and the workspace path is still set to the UNC path in the original script. The problem is that when running the GP service, the user is local to the server and does not have access to domain resources, so cannot see the network GDB.
The question is, should ArcGIS change the workspace path in the script to D:\data? I thought that was the whole point of adding a data store entry to the server.