Changing the CRM Online Instance URL After Deployment of a Portal Causes a Runtime Error

Symptoms
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

Runtime Error

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.
Cause
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.
Resolution
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.
More information
Note This is a "FAST PUBLISH" article created directly from within the Microsoft support organization. The information contained herein is provided as-is in response to emerging issues. As a result of the speed in making it available, the materials may include typographical errors and may be revised at any time without notice. See Terms of Use for other considerations.
Properties

Article ID: 3177288 - Last Review: 07/06/2016 13:33:00 - Revision: 1.0

  • kbmbsmigrate kbsurveynew KB3177288
Feedback