If you’re using the Veeam Backup & Replication Integration for Home Assistant and the Veeam Software Appliance (VSA), it is highly recommended you connect the two using a dedicated service account. This improves security, avoids MFA conflicts, and aligns with best practices for automation and API access.
This guide walks through the process.
Why Use a Service Account?
Using a service account provides:
- Stable API authentication (no password rotations tied to a user)
- Optional MFA bypass for automation workflows
- Clear audit separation from human admins
- Safer long-term integration with Home Assistant and other tooling
In production environments (especially service provider or lab environments like mine running Veeam 13 + API automation), this is the recommended approach.
Part 1: Create a Local User in the Veeam Host Management Console (VSA)
First, create the underlying OS-level user on the Veeam Backup Server Appliance.
Steps
- Open the Host Management Console: https://<veeam-server>:10443
- Log in with your appliance administrator account
- Navigate to: Security → Users and Roles

- Click Add

- Enter:
- Username: ha-veeam (example)
- Password: (DISA STIG compliant)
- Description: Home Assistant Service Account

- Click Next
- Set the role to: Service Account

- Click Next

- Click Finish
This creates the appliance-level user required for API-backed services.
Part 2: Grant REST API Permissions in the Veeam Web UI
Now you must grant the user proper Veeam Backup & Replication permissions. Without this step, the API will authenticate but fail authorization.
Steps
- Open the Veeam Web UI: https://<veeam-server>
- Log in as a Veeam administrator
- Go to: Configuration → Users & Roles


- Click Add

- Configure:
- Type: User
- Name: username (the same user created in Part 1)
- Role: Veeam Backup Administrator
- If MFA is enabled: Select “This is a service account (disables multi-factor authentication)”

- Click OK
NOTE: Other roles such as “Veeam Backup Operator” can be used but some features/functions may be missing. For example, only “Veeam Backup Administrator” users can access the APIs to get VBR server and license information.
Part 3: Add the Service Account to Home Assistant
Once the account is created and authorized:
- Open Home Assistant
- Navigate to:
- Settings → Devices & Services → Add Integration
- Select the Veeam Backup & Replication integration
- Enter:
- Host: <veeam-server>
- Port: 9419 (unless changed from default)
- Username: ha-veeam
- Password: (service account password)
- Uncheck “Verify SSL certificate” if needed
- API Version: v1.3-rev1 (for Veeam 13.0.1)

After successful authentication, Home Assistant will begin discovering:
- Backup jobs
- Repositories
- Alerts and status sensors
- VBR Server Metrics
- License Information
Security Best Practices
For proper security on your VBR server:
- Do NOT use your personal admin account
- Use a unique password for the service account
- Restrict access to API ports (9419/443) via firewall or reverse proxy
- Avoid domain admin accounts unless required
- Enable multi-user authentication