--- title: "Adding a client secret to your app registration in Microsoft Entra ID" slug: "adding-a-client-secret-to-your-app-registration-in-azure-ad" tags: ["d365fscm", "d365CECRM", "d365bconline", "task"] updated: 2025-07-23T07:10:00Z published: 2025-07-23T07:10:00Z canonical: "help.dox42.com/adding-a-client-secret-to-your-app-registration-in-azure-ad" --- > ## Documentation Index > Fetch the complete documentation index at: https://help.dox42.com/llms.txt > Use this file to discover all available pages before exploring further. # Adding a client secret to your app registration in Microsoft Entra ID ## Steps 1. Open the Microsoft Entra admin center: [https://entra.microsoft.com](https://entra.microsoft.com) 2. Go to **Applications.** 3. Select the **App registrations** tab. The **App registrations** tab opens. ![Microsoft Entra admin center displaying app registrations and registration options.](https://cdn.document360.io/3acc69da-1de2-431d-95a6-08ae83717b4a/Images/Documentation/image-1745932158928.png) **App registrations** page in Microsoft Entra admin center 4. Select the entry of your app registration. The **Overview** tab of your app registration opens. ![Overview of the dox42 application registration in Microsoft Entra admin center.](https://cdn.document360.io/3acc69da-1de2-431d-95a6-08ae83717b4a/Images/Documentation/image-20250423-091237.png) Registered app in Microsoft Entra admin center 5. Select the **Certificates & secrets** tab. The **Certificates & secrets** tab for your app opens. ![Microsoft Entra admin center displaying client secrets and application registration details.](https://cdn.document360.io/3acc69da-1de2-431d-95a6-08ae83717b4a/Images/Documentation/image-1745933566355.png) **Certificates & secrets** tab 6. Select the **New client secret** button. The **Add a client secret** form opens. ![Adding a client secret for the dox42 application in Microsoft Entra admin center.](https://cdn.document360.io/3acc69da-1de2-431d-95a6-08ae83717b4a/Images/Documentation/image-1745933609003.png) **Add a client secret** form 7. In the **Description** text field enter a name for the client secret. 8. In the **Expires** section select the desired option. > [!NOTE] > Note > > We recommend **In 2 years**. It is best practice to setup a reminder when the client secret will expire. That way you can create a new client secret and replace an old one before it expires. 9. Select the **Add** button. The new client secret entry is shown. ![Overview of dox42 docu application with client secrets and expiration details displayed.](https://cdn.document360.io/3acc69da-1de2-431d-95a6-08ae83717b4a/Images/Documentation/image-1745933664147.png) New client secret entry in the **Certificates & secrets** tab in the Entra ID admin center 10. Copy the **Value** entry of the newly created client secret entry to another file, e.g. a [Microsoft Excel config file](/help/docs/using-a-microsoft-excel-config-file). > [!WARNING] > Important > > Do not skip this step as this value will be hidden after performing another operation or leaving this tab, and you will not be able to retrieve it again! > [!NOTE] > Note > > When working with a Microsoft Excel config file, we recommend encrypting the values of the client key by [using the dox42 Crypto Data source](/v1/docs/creating-a-crypto-data-source). ## Result You have added a client secret to your app registration.