https://mssqlfun.com/2013/01/15/the-server-principal-xxxx-is-not-able-to-access-the-database-msdb-under-the-current-security-context/
The server principal "xxxx" is not able to access the database "msdb" under the current security context.