# Register the Dynamics 365 Application with Azure

Register the Dynamics 365 app with Microsoft Azure Active Directory (AD).

When you finish registering the app, record the Application ID and Directory ID. When you finish creating the client secret, record it. You need to enter these values when you add the app to the Commvault software.

Note

- 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. For example, see Azure Active Directory Documentation.

- For Dynamics 365 apps, you must ensure to follow the below best practices to enhance security.

  - Users must create a Microsoft Entra ID Conditional Access policy to limit app access.

  - Users must change their client secret every 90 days in the Azure portal and then update the new client secret value in the Command Center. You must also delete the previous client secret from the Azure portal.

## Log On to the Azure Portal as the Global Administrator

1. Log on to the Azure portal (https://portal.azure.com/) using your global administrator account.

2. Go to Azure Active Directory.

## Register the Azure App

1. In the navigation pane, click App registrations.

2. Click New registration.

3. In the Name box, enter a name for the app.

4. Under Supported account types, select Accounts in this organizational directory only (<dynamics_365_tenant_prefix> - Single tenant).

5. Under redirect URI, set the value in the following format:

   https://<host_name.domainname.com>/commandcenter/processAzureAuthToken.do

   This format is required to authorize and verify the status of the Azure app from the Command Center.

6. Click Register.

7. Copy the following values, and paste them into a file or other document that you can access later:

   - Application ID

   - Directory ID

   You will enter these values in the Commvault software when you create the Dynamics 365 app, as well as on the Microsoft Power Platform admin portal where the application user is configured.

## Request and Grant Permissions for the Azure APIs

1. In the navigation pane, click API permissions.

2. Click Add a permission.

3. Click Microsoft Graph, and then complete the following steps:

   1. Click Application permissions.

   2. Select the following permissions:

      - Application: Application.ReadWrite.All

      - Organization: Read.All

      - Directory: Directory.ReadAll

      - Policy: Policy.Read.All

   3. Click Add permissions.

4. On the app API permissions page, click Add a permission.

5. Select Dynamics CRM, and then complete the following steps:

   1. Select Dynamics CRM, and then click Delegated permissions.

   2. Select user_impersonation.

   3. Click Add permissions.

6. On the app API permissions page, click Grant admin consent for tenant_name.

## Create a Client Secret for the Azure App

1. In the navigation pane, click Certificates & secrets.

2. Click New client secret.

3. Enter a description, and then select Never expire.

4. Click Add.

5. Copy the client secret value, and paste it into a file or other document that you can access later.

   You will enter this value in the Commvault software when you create the Dynamics 365 app.

×

Loading...