Registering the OneDrive for Business Application


You must register the OneDrive for Business application with Microsoft Azure Active Directory (Azure AD). Azure AD manages the connection between the OneDrive for Business application and the Commvault software.

Important: To complete this procedure, you must have a thorough understanding of Microsoft Azure Active Directory. Consult Microsoft documentation, such as "Azure Active Directory Documentation" (

Disclaimer: This procedure is performed using the Microsoft Azure Active Directory (Azure AD) Web application. The Azure AD application is subject to change without notice. Consult Microsoft documentation, such as "Azure Active Directory Documentation":

Before You Begin

To complete this procedure, you need the following information:

  • Your tenant name

  • The global admin user account information

When you perform this procedure, record the following values for the OneDrive for Business application. You will use these values when you configure your Commvault environment.

  • Application ID

  • Key value

  • Directory ID

Note: If you do not record the information, return to your OneDrive account to retrieve the Application ID and the Azure Directory ID and to regenerate the client secret key.


  1. Access the Azure portal ( using your global admin user account.

  2. In the Azure dashboard, in the left navigation pane, click Azure Active Directory.

  3. In the navigation pane, click App registrations.

    The App registrations page appears.

  4. Click New registration.

    The Register an application screen appears.

  5. In the Name box, type a name for the app.

  6. Under Supported account types, select Accounts in this organizational directory only (tenant_prefix - Single tenant).

  7. Click Register.

  8. Copy and paste the following values in a document that you can access later:

    • Application ID

    • Directory ID

      You will enter these values in the Commvault software when you complete the Office 365 guided setup.

  9. On the preview screen, click API permissions.

  10. Click Add a permission.

    The Request API permissions pane appears.

  11. Click Microsoft Graph tile.

  12. Click Application permissions, and then select the following permissions:

    1. Under Directory, select the Directory.Read.All check box.

    2. Under Files, select the Files.ReadWrite.All check box.

    3. Under User, select the User.Read.All check box.

    4. Under Notes, select the Notes.ReadWrite.All check box.

  13. Click Add permissions.

  14. Click Grant permission to app_name.

    A confirmation dialog box appears.

  15. Click Yes.

    A message states that admin consent is granted for the requested permissions.

  16. On the preview screen, click Overview, and then record the application ID and the directory ID.

  17. On the preview screen, click Certificates and secrets, and then complete the following steps:

    1. Click New client secret.

    2. Enter a description. From the Expires list, select the number of months after which the client secret will expire.

    3. Click Add.

    4. Record the client secret key value.