What privilege does DOMAIN\vCAC service account have under vCAC database?
Don't think it has anything to do with agent. The error comes from Repository source so first make sure this service account (running as app pool identity) has enough privilege (db owner) under vCAC database.