Skip to main content

Azure VM Backup Fails with Error 'Azure1' Due to Subscription Sync and Permission Issues

Azure VM Backup Fails with Error 'Azure1' Due to Subscription Sync and Permission Issues

Problem Description

In Druva Phoenix, both scheduled and manual Azure VM backups fail. Additionally, the Druva Console may display the following status indicators:

  • Upgrade Required

  • Sync is disabled

When this occurs, the affected Azure subscription fails to synchronize with the Druva Console, blocking all subsequent backup operations.

Cause

This issue is caused by insufficient or missing Azure permissions required by Druva for subscription management, synchronization, and backup execution. The failure typically stems from one or both of the following roots:

Cause 1: Incomplete Azure RBAC Permissions

A custom Azure role configured with restricted or least-privilege settings may be missing the explicit permissions required to interact with virtual machines, disks, snapshots, images, or Key Vaults.

Cause 2: Missing Microsoft Graph API Permissions

The Druva Enterprise Application was not granted the required Microsoft Graph API permission: Application.Read.All. This block prevents subscription synchronization, application validation, and required upgrade operations.

Traceback

The following backend log entries typically accompany this issue:

message="could not get ekey in all connections" traceback="failed to get connectionID and locationID" message="entity does not exists: Resource not found" message="failed to get account details"

Resolution

Step 1: Update Azure RBAC Permissions

Ensure your custom Azure role includes the full set of permissions required to protect resources. For a comprehensive list, see the Druva Roles and Permissions Guide.

Verify that the following permissions are explicitly defined:

  • Microsoft.Compute/virtualMachines/write

  • Microsoft.Compute/virtualMachines/deallocate/action

  • Microsoft.Compute/virtualMachines/capture/action

  • Microsoft.Compute/disks/beginGetAccess/action

  • Microsoft.Compute/disks/endGetAccess/action

  • Microsoft.Compute/snapshots/beginGetAccess/action

  • Microsoft.Compute/snapshots/endGetAccess/action

  • Microsoft.Compute/images/write

  • Microsoft.KeyVault/vaults/secrets/write

  • Microsoft.KeyVault/vaults/write

Step 2: Configure Microsoft Graph Permissions

Assign the following Microsoft Graph API permissions to the Druva Enterprise Application:

  • Application.ReadWrite.OwnedBy

  • Application.ReadWrite.All

  • Application.Read.All

Step 3: Grant Admin Consent

  1. Log in to the Azure Portal.

  2. Navigate to Azure Active Directory > Enterprise Applications.

  3. Select the Druva Enterprise Application.

  4. Go to the Permissions blade.

  5. Click Grant Admin Consent and confirm the authorization.

Step 4: Verify Key Vault Access

Ensure that Key Vault access policies and RBAC permissions are properly aligned, allowing the Druva application to successfully access required encryption keys for the VMs.

Step 5: Force Subscription Sync

  1. Log in to the Druva Console.

  2. Manually trigger a subscription sync.

  3. Once the sync completes successfully, retry the Azure VM backup.

Best Practices

  • Always utilize Druva-recommended Azure permission sets during initial onboarding.

  • Ensure Admin Consent is explicitly granted immediately after modifying Microsoft Graph permissions.

  • Validate Key Vault accessibility prior to enabling backups for encrypted VMs.

  • Periodically audit custom roles to ensure permissions remain aligned following Azure platform updates.

Did this answer your question?