Views:

Applies to Product -Dynamics 365 Lifecycle Services


What’s happening?
Customers encounter errors when attempting to open reports in Dynamics 365 environments, specifically receiving messages such as "Unable to find report design" or "The AppliesTo address of the relying party was not a valid absolute URI."


Reason:
This are often related to misconfigurations in the web.config or wif.config files, particularly missing parameters such as the SPN value. Additionally, problems may arise after importing databases from different environments, leading to inconsistencies in report accessibility.


Resolution:

  1. For "Unable to find report design" Error:
  2. Verify that the custom reports are included in the deployment package.
  3. Check the deployment logs for any SSRS deployment failures.
  4. In Visual Studio, search for the report by name in the AOT, add it to your project, and right-click to select 'Deploy Reports'.
  5. If the issue persists, consider manually deploying SSRS reports using PowerShell as previously successful in other environments.
  6. For "The AppliesTo address of the relying party was not a valid absolute URI" Error:
  7. Modify the wif.config file to include the missing SPN value. Add the entry: add value="spn:customer's app_id".
  8. Ensure the web.config file is also updated with the appropriate parameters.
  9. Restart the affected machine after making changes to the configuration files.
  10. Perform a data mart reset using the scripts provided in the Microsoft documentation for resetting the Financial Reporting data mart.
  11. General Steps:
  12. If the problem started after a database import, ensure that the source and target environments are compatible in terms of version.
  13. Create a custom view to check events in the environment and monitor for any errors during report generation.
  14. If issues continue, consider deploying a new machine with the same version as the UAT environment and check for any customizations that may interfere with report execution.
If further assistance is needed, please provide session information and timestamps after reproducing the issue for more targeted troubleshooting.