So I'm getting the error below Unable to determine if owner (who is a domain member) of the job has access error code 0x5. [SQLSTATE 42000] (Error 15404)). Everything I've found indicates the SQL services are running with local accounts but this is not the case on our servers.
Msg 15404, Level 16, State 19, Line 1
Could not obtain information about Windows NT group/user 'ad\usert', error code 0x5.
Using Execute AS Login= 'ad\user' results in some accounts completing successfully and other I get
So here's the weird part it seems like older users 5 years or more are sucessful but newer users less than 5 yeas get the 0x5. Also whatever domain account I use to run the SQL agent service gets the 0x5 but when I remove it from the service it is okay.
SQL Server Scheduled Job 'AbcXyz' - Status: Failed - Message: The job failed. Unable to...