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