Error code 0x5 is "Access is denied" and this is a Windows error. The problem is that the service account for SQL Server Agent does not have sufficient permissions in the AD on your login.
You need to work with you AD admin to resolve this.
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
I created a reoccurring scheduled SQL maintenance job with my login account (myNetwork\myUsername) but the it fails each time. The Windows Application log states that the following:
SQL Server Scheduled Job 'MaintenancePlan_FULL_Backup.Subplan' - Status: Failed - Invoked on: 2020-08-29 11:13:46 - Message: The job failed . Unable to determine if the owner (myNetwork\myUsername) of job MaintenancePlan_FULL_Backup.Subplan has server access (reason: Could not obtain information about Windows NT group/user 'myNetwork\myUsername' error code 0x5. [SQLSTATE 42000] (Error 15404)).
All the databases are owned by default SQL Administrator account 'sa'. I changed the job ownership from (myNetwork\myUsername) to (sa). Restarting the job, it completes successfully. How do configure SQL 2017 Server to allow my account (myNetwork\myUsername) privilege to run as 'sa'?
Error code 0x5 is "Access is denied" and this is a Windows error. The problem is that the service account for SQL Server Agent does not have sufficient permissions in the AD on your login.
You need to work with you AD admin to resolve this.
Hi kescott,
I can reproduce this problem. After changing the account of SQL Server Agent to an appropriate domain account, the maintenance plan job can be executed successfully.
Active Directory is refusing access to your SQL Agent.
https://stackoverflow.com/questions/1234570/could-not-obtain-information-about-windows-nt-group-user