Changing the CRM Online Instance URL After Deployment of a Portal Causes a Runtime Error
If the URL of a CRM Online instance is changed following the deployment of a Portal Add-on application, navigating to the portal website will present the following error:
Server Error in '/' Application
Description: An exception occurred while processing your request. Additionally, another exception occurred while executing the custom error page for the first exception. The request has been terminated.
When deploying the Portal Add-on application to a Microsoft Dynamics CRM Online instance, the URL of the instance is captured for authentication purposes. If the URL of the CRM Online instance is changed following the deployment, the previously captured URL continues to be used and authentication between the portal website and the CRM Online instance will fail.
Changing the URL of the CRM Online instance back to its original value will allow the authentication to succeed and the error will no longer occur.
A fix is being developed to automatically update the portal configuration to reference the new URL in the event of a change. However, if changing the URL of the CRM Online instance back to its original value is not an option before this fix is available, please contact Microsoft support to update the portal configuration manually.
Article ID: 3177288 - Last Review: 07/06/2016 13:33:00 - Revision: 1.0
- kbmbsmigrate kbsurveynew KB3177288