Challenge
While executing actions in VAC web UI like creating\deleting companies, the following error message may pop up:"Cannot find backup repository with this name [<repository name>]"
Creating\deleting companies in Veeam Cloud Connect console works fine.
Cause
The account that VAC communication agent service runs under on Veeam Cloud Connect server requires both Local Administrator and Veeam Backup administrator roles to run powershell commands. If proper permissions are not set, the VAC agent log would show records like:"Failed to connect to Veeam Backup & Replication server"
"Execute PS failed"
Solution
Set the VAC agent service account to “localsystem” and restart the agent service.If there are any restrictions in the environment that require services to run under a certain user, make sure the VAC agent service account has both Local Administrator and Veeam Backup Administrator roles.
To find which account is in use:
- Open the services snap-in on Veeam Cloud Connect server and locate the Veeam Management Agent service.
- Right-click on it > Propeties > Log On tab.
To check whether the account is added to Veeam Backup Administrators group:
- Open Veeam Cloud Connect console.
- Click the menu button in the upper left corner > Users and Roles.