--- title: "Using a Microsoft Excel config file for the Add-In’s Microsoft Entra ID configuration" slug: "using-a-microsoft-excel-config-file-for-the-add-ins-azure-ad-configuration-recommended" tags: ["d365fscm", "d365CECRM", "d365bconline", "task"] updated: 2026-07-10T09:40:27Z published: 2026-07-10T09:40:27Z canonical: "help.dox42.com/using-a-microsoft-excel-config-file-for-the-add-ins-azure-ad-configuration-recommended" stale: true --- > ## 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. # Using a Microsoft Excel config file for the Add-In’s Microsoft Entra ID configuration With a Microsoft Excel config file you can integrate all the information dynamically in your dox42 Add-In while connecting to Microsoft D365 using Entra ID. That saves a lot of time during the template design process and avoids error-prone copy & pasting. > [!NOTE] > Note > > As an alternative to using an Excel config file, you can simply copy and paste the values into your Entra ID configuration. If you follow this approach, you will need to manually update the values in each data source if anything changes, e.g. your client secret expires. > [!WARNING] > Important > > Please make sure to encrypt your Client Secret with the dox42 Crypto data source, before storing it in the Microsoft Excel config file. ## Setting up the Microsoft Excel config file 1. Create a new Excel file named **Connection.xlsx** in your document template folder. ![File directory showing various document folders and an Excel file named Connection.](https://cdn.document360.io/3acc69da-1de2-431d-95a6-08ae83717b4a/Images/Documentation/Bildschirmfoto 2025-06-25 um 11.14.35.png) Excel file in folder structure > [!TIP] > Tip > > You can find a sample Microsoft Excel config file in the folder of your downloaded Module. > [!WARNING] > Important > > If you are using dox42 with D365 BC, see also [Setting up the Microsoft Excel config file when using dox42 D365 BC](/help/docs/bc-setting-up-the-excel-config-file) for more information. 2. Insert the following app property values from your Entra ID admin center into the respective fields in the config file: 1. Column **TenantID**: Value of **Directory (tenant) ID** in Entra ID admin center 2. Column **AppID**: Value of **Application (client) ID** in Entra ID admin center 3. Column **Add-In_RedirectURL**: Value of **Mobile and desktop applications > Redirect URI** in Entra ID admin center 4. Column **Server_RedirectURL**: Value of **Web > Redirect URI** in Entra ID admin center 5. Column **ClientSecret**: Value of the **Client secret** in Entra ID admin center > [!NOTE] > Note > > Use the Crypto data source to encrypt the value before storing it in this column. ![](https://cdn.document360.io/3acc69da-1de2-431d-95a6-08ae83717b4a/Images/Documentation/Template_Excel_config_file.png) Sample Microsoft Excel config file 3. Save your Microsoft Excel config file. ## Next step [Inserting information from the Microsoft Excel config file into the Add-In’s Entra ID configuration](/v1/docs/setting-up-the-microsoft-excel-config-file)