--- title: "Dynamics 365 CE: Entra ID Authentication | dox42" slug: "connecting-to-your-d365-ce-crm-with-entra-id-application-user-with-client-secretcertificate" tags: ["d365CECRM", "task", "CE V5.0"] updated: 2026-07-22T06:09:31Z published: 2026-07-22T06:09:31Z canonical: "help.dox42.com/connecting-to-your-d365-ce-crm-with-entra-id-application-user-with-client-secretcertificate" 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. # Connecting to your Microsoft D365 CE or Dynamics CRM instance with Entra ID application user and with client secret/certificate Microsoft has deprecated the WS-Trust authentication type security protocol, and hence connecting via username and password is not possible for D365 CE tenants any longer. We recommend you to work with Entra ID impersonation for your D365 CE connection (see [Registering the dox42 App in Microsoft Entra ID](/help/docs/registering-the-dox42-app-in-azure-ad) and [Configuring the dox42 app registration in Entra ID](/v1/docs/configuring-the-dox42-app-registration-in-azure-ad)). However in some scenarios, for example **when using Microsoft Power Automate** or PowerApps (see also [Generating D365 CE or Dynamics CRM Documents from Flows and Power Apps](/v1/docs/generating-d365-ce-dynamics-crm-documents-from-flows-and-power-apps)), the **connection via an Entra ID** **application user,** as well as a client secret or certificate is needed. ## Steps 1. [Register the dox42 app](/v1/docs/registering-the-dox42-app-in-azure-ad) in Entra ID. 2. Upload your certificate to the app registration or have your client secret for your Entra ID app ready. 3. [Add an Entra ID application user to your D365 CE environment](/v1/docs/adding-an-application-user-to-microsoft-dynamics-crm-or-d365-ce).