Disclaimer: This procedure is performed using the Azure Active Directory web application. The Azure AD application is subject to change without notice. Consult Microsoft documentation, such as Azure Active Directory Documentation.
Before You Begin
On the tenant, run the following SharePoint Online PowerShell command to set DisableCustomAppAuthentication to false:
set-spotenant -DisableCustomAppAuthentication $false
Procedure
Log on to the Azure portal (https://portal.azure.com/) using your global admin user account.
Go to Azure Active Directory.
In the navigation pane, click App registrations.
The App registrations page appears.
Click New registration.
The Register an application screen appears.
In the Name box, type a name for the app.
Under Supported account types, select Accounts in this organizational directory only (tenant_prefix - Single tenant).
To verify the status of the app and to authorize the app from the Command Center, under Redirect URI, enter the Command Center URL.
For example, enter https://host_name.domainname.com/commandcenter.
Click Register.
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.
In the navigation pane, click API permissions.
Click Add a permission.
Click Microsoft Graph and complete the following steps:
Click Application permissions.
Select the User.Read permission.
Click Add permissions.
Click Grant admin consent for tenant_name.
Click Yes.
In the navigation pane, click Certificates & secrets.
The Certificates & secrets page appears.
Click New client secret.
The Add a client secret dialog box appears.
Enter a description, and then select the maximum value.
Click Add.
Copy and paste the client secret value in a document that you can access later.
You will enter this value in the Command Center when you complete the Office 365 guided setup.
To assign full permissions to the tenant to back up SharePoint sites, in your browser, go to the tenant URL.
For example, go to https://<office_365_tenant_URL>/_layouts/15/appinv.aspx.
The SharePoint admin center page appears.
In the App ID box, enter the application ID that you recorded earlier, and then click Lookup.
In the Title box, the name of the application appears.
In the App Domain box, type tenantname.onmicrosoft.com.
To get the correct domain name, go to the Azure website, Custom domain names.
In the App's Permission Request XML box, type the following XML string:
<AppPermissionRequests AllowAppOnlyPolicy="true">
<AppPermissionRequest Scope="http://sharepoint/content/tenant" Right="FullControl" />
<AppPermissionRequest Scope="http://sharepoint/social/tenant" Right="Read" />
</AppPermissionRequests>Click Create.
Click Trust It.