Step 3a. Create Repository Account Automatically

In this article

    [This step applies only if you have selected the Create repository account automatically option at the Select Repository Account Type step of the wizard]

    When you choose to create a repository account automatically, Veeam Backup for Microsoft Azure creates a new Azure AD application in your Microsoft Azure Active Directory.

    Important

    • The Microsoft azure account which you used to access the Microsoft Azure Cross-platform Command Line Interface (Azure CLI) must have the Microsoft.Authorization/*/Write permissions assigned in the subscription associated with the backup appliance. For more information on managing role permissions and security in Microsoft Azure, see Microsoft Docs.
    • If you have disabled the Users can register applications option on the Microsoft Azure portal, make sure that the service account has the Application Developer, Application Administrator or Global Administrator role. For more information on role permissions in Azure Active Directory, see Microsoft Docs.

    To create a new Azure AD application, Veeam Backup for Microsoft Azure uses the Microsoft Azure Cross-platform Command Line Interface (Azure CLI). To authenticate Veeam Backup for Microsoft Azure to the Azure CLI, you must provide a single-use verification code.

    At the Logon to Azure step of the wizard, do the following:

    1. Click Copy code to clipboard.
    1. Click https://microsoft.com/devicelogin.
    2. On the Microsoft Azure device authentication page, do the following:
    1. Paste the code that you have copied and click Next. Note that the code will expire in 15 minutes.
    2. Select an account that will be used to access the Azure CLI. The account must be assigned either the User Access Administrator or the Owner role.

     

    Important

    Using a Microsoft account is not recommended — use a work account instead.

    1. Back to the Add Azure Account wizard, check whether any errors occurred during the authentication process.

     

    Specifying Logon to Azure