In the customer environment, every Saturday the job "wslogdb77.dbo.USP_DBMANAGER_TASK" is executed and it fails with the message down below:
" Executed as user: test_user. User does not have permission to perform this action. [SQLSTATE 42000] (Error 15247). The step failed."
We asked the customer, to use "sa" account, but for reasons of security they can't do it, so what permission should I give to user "test_user" to be able to run the job "wslogdb77.dbo.USP_DBMANAGER_TASK" ?
I did a test in SQL server, and I just could run the"usp_dbmanager_task" with success, when I used an account with"Sysadmin" role, so in this case, even with db_owner I was unable to perform the task, I tried all combination and I still received access permission errors, after I changed to "Sysadmin" I could perform the task without any problem. What Can I do in this case?
Thank you!