Qmi_reconnect Not working with diffrent user

Has anyone had issues with the qmi_reconnect script running as a different user to pi?

I do not have the “pi” user on my pi as we have removed the user
The script will not run
i have changed the user in /etc/systemd/system/qmi_reconnect.service to match my user but this doesnt seem to help

I added the command to sudoer file for the specific user so it shouldn’t need a password but likewise doesnt work

Im gettings the following error

Jun 08 17:27:40 rp-cell-test-fabsix sh[3649]: sudo: no tty present and no askpass program specified
Jun 08 17:27:40 rp-cell-test-fabsix sudo[3651]: pam_unix(sudo:auth): conversation failed
Jun 08 17:27:40 rp-cell-test-fabsix sudo[3651]: pam_unix(sudo:auth): auth could not identify password for [Test-User]

we added the following to sudoer files

Test-User ALL=(ALL) NOPASSWD:/opt/qmi_files/quectel-CM/quectel-CM

if i run the following command from CLI it run straight away with no need for a password
sudo /opt/qmi_files/quectel-CM/quectel-CM -s internet wap wap

I’m struggling to find where the dependency is for the user “pi”

if i change the qmi_reconnect.service defined “User” back to pi it works straight away