|
| 1 | +--- |
| 2 | +# required metadata |
| 3 | + |
| 4 | +title: Reuse the same AD FS instance for multiple environments |
| 5 | +description: This topic explains how to use the same instance of Active Directory Federation Services (AD FS) in multiple Dynamics 365 Finance + Operations (on-premises) environments. |
| 6 | +author: faix |
| 7 | +manager: AnnBe |
| 8 | +ms.date: 03/01/2020 |
| 9 | +ms.topic: article |
| 10 | +ms.prod: |
| 11 | +ms.service: dynamics-ax-applications |
| 12 | +ms.technology: |
| 13 | + |
| 14 | +# optional metadata |
| 15 | + |
| 16 | +# ms.search.form: [Operations AOT form name to tie this topic to] |
| 17 | +audience: IT Pro |
| 18 | +# ms.devlang: |
| 19 | +ms.reviewer: sericks |
| 20 | +ms.search.scope: Operations |
| 21 | +# ms.tgt_pltfrm: |
| 22 | +# ms.custom: [used by loc for topics migrated from the wiki] |
| 23 | +ms.search.region: Global |
| 24 | +# ms.search.industry: [leave blank for most, retail, public sector] |
| 25 | +ms.author: osfaixat |
| 26 | +ms.search.validFrom: 2020-03-01 |
| 27 | +ms.dyn365.ops.version: Platform update 33 |
| 28 | + |
| 29 | +--- |
| 30 | + |
| 31 | +# Reuse the same AD FS instance for multiple environments |
| 32 | + |
| 33 | +[!include [banner](../includes/banner.md)] |
| 34 | + |
| 35 | +>[!IMPORTANT] |
| 36 | +> This guide assumes that you have previosuly configured Active Directory Federation Services (AD FS) for one environment using the steps detailed in the setup guide and that environment is running without any problems. |
| 37 | +
|
| 38 | +This topic explains how to use the same instance of Active Directory Federation Services (AD FS) in multiple Dynamics 365 Finance + Operations (on-premises) environments. |
| 39 | + |
| 40 | +1. In AD FS Manager, go to AD FS > Application groups, and open Microsoft Dynamics 365 for Operations On-premises. |
| 41 | +2. Under the Native application section: |
| 42 | + a. Open the Microsoft Dynamics 365 for Operations On-premises - Native application. Add the redirect URI of the new environment (https://ax.contoso.com/namespaces/AXSF). |
| 43 | + b. Open the Microsoft Dynamics 365 for Operations On-premises - Financial Reporting - Native application. Add the redirect URI of the new environment (https://ax.contoso.com/FinancialReporting/ApplicationService/soap/). |
| 44 | +3. Under the Web API section: |
| 45 | + a. Open the Microsoft Dynamics 365 for Operations On-premises - Web API. Add the two entries of the redirect URI of the new environment (https://ax.contoso.com/namespaces/AXSF and https://ax.contoso.com). |
| 46 | + b. Open the Microsoft Dynamics 365 for Operations On-premises - Financial Reporting Web API Web API. Add the redirect URI of the new environment (https://ax.contoso.com/FinancialReporting). |
| 47 | +4. Under the Server section: |
| 48 | + a. (Optional) Open the Microsoft Dynamics 365 for Operations On-premises - Retail. Add the redirect URI of the new environment (https://ax.contoso.com/namespaces/AXSF/). |
| 49 | +5. Optional: Configure the warehouse mobile app for the new environment by following [Configure the Warehousing app for on-premises deployments](./warehousing-for-on-remise-deployments.md) again. Simply use the new environment URL (https://ax.contoso.com) as the Resource URL. |
| 50 | +>[!Note] |
| 51 | +> No additional configuration is required for the workflow and retail designer applications. |
| 52 | +6. Check that you are able to reach the OpenID metadata endpoint (https://<adfs-dns-name>/adfs/.well-known/openid-configuration) from the AOS and MR nodes in your new environment. If you are using self-signed certificates you may need to import the AD FS SSL certificate to the Trusted Root Certification Authorities store in each node. |
| 53 | +7. When deploying the new environment from LCS and specifying the deployment configuration, ensure that you use the same AD FS OpenID metadata endpoint and AD FS OpenID connect client IDs that you specified for the previous environment. |
| 54 | + |
0 commit comments