Views:

Applies to Product - Dynamics 365 Commerce
 

What’s happening?
The customer is experiencing an error message during the health check for the dual-write application, indicating that the application is missing in the specified environment.
 

Reason:
The underlying cause of this is the absence of the dual-write application in the health check process for the specified environment.
 

Resolution:
To resolve this, follow these steps:

  1. Verify that all prerequisite setups for the dual-write application are completed.
  2. Check the App Registration in the Azure Portal to ensure that the necessary App IDs are present.
  3. If the App IDs are missing, manually add them by executing the following commands in PowerShell with Administrator privileges:
  4. install-Module AzureAD
  5. Connect-AzureAD (ensure this is done by a Global Admin of Microsoft Entra ID)
  6. New-AzureADServicePrincipal -AppID <AppID> (replace <AppID> with the actual App ID)
  7. After adding the App IDs, refresh the dual-write health check to confirm that the issue is resolved.
Ensure to check if the environments are in the same tenant, as updates in one environment may affect others.
If the issue persists in another environment (e.g., UAT), consider raising a separate ticket for further troubleshooting.