# Change a Client Secret for the Azure App for Dynamics 365

You must change your client secret for the Azure App for Dynamics 365 every 90 days as a best practice.

Important

This procedure is partly completed on the Microsoft Entra admin center. The application is subject to change without notice. Consult the Microsoft documentation, for example, see What is the Microsoft Entra admin center?.

## Change Client Secret for the Azure App on Microsoft Entra Admin Center

1. Log on to the Microsoft Entra admin center.

2. In the navigation pane, go to App registrations.

   The App registrations page appears.

3. Select the Dynamics 365 app from the list of applications displayed.

   You can also use the Search box to find the app.

   The Overview page of the app appears.

4. From the left pane, select Certificates & secrets.

5. Above Description, click New client secret.

   The Add a client secret screen appears.

6. Provide the required details and then click Add.

   - Description: Provide a descriptive name for your client secret.

   - Expires: Select 90 days (3 months) from the dropdown.

   Copy and paste the client secret Value in a secure location that you can access later.

7. From the list of client secrets, delete the old secret using the Delete button.

   As a best practice, delete all old client secrets.

## Update Client Secret for the Azure App for Dynamics 365 in the Command Center

1. From the Command Center navigation pane, go to Protect > Dynamics 365.

   The Dynamics 365 Apps page appears.

2. On the Apps tab, click the app.

   The Overview page of the app appears.

3. On the Configuration tab, under the Dynamics 365 connection settings section, click the action button on the row of the Azure app, and then click Edit.

   The Edit Azure app screen appears.

4. Update the new client secret in the Application secret field, and then click Save.

   Once you have updated the client secret in the Command Center, delete the copied client secret Value.

×

Loading...