microsoft / Industry-Accelerator-Education

The Microsoft Higher Education Accelerator is an another Industry Accelerator from Microsoft following the release of the Healthcare Accelerator earlier this summer. Industry Accelerators are foundation components within the Microsoft Power platform and Dynamics 365 that enable ISVs and other solution providers to quickly build industry vertical solutions.
MIT License
67 stars 51 forks source link

Unable to create spouse connection between two contacts #39

Open wavey05 opened 1 year ago

wavey05 commented 1 year ago

When trying to create a Spouse/Partner connection between two people, so that both reference each other as Spouse/Partner, I receive the following error message:

Connection Error The connection cannot be saved. The selected connection roles do not match. Select matching connection roles or choose new connection roles. Error code: 0x80048216 Session Id: 087f33a9-f169-4c58-a74c-7e613555418e Activity Id: 4acf661a-ea46-44ba-85c8-0c7d1ba9aad7 Time: Wed Jun 07 2023 12:09:51 GMT+0100 (British Summer Time)

The following information is from the log file:

Exception Message: The connection roles are not related.

ErrorCode: -2147188202 HexErrorCode: 0x80048216

ErrorDetails: ApiExceptionSourceKey: Plugin/Microsoft.Crm.ObjectModel.ConnectionService ApiStepKey: 68628c37-c2f1-4eb3-9d65-9f31cfa4aa5b ApiDepthKey: 1 ApiActivityIdKey: a20eab5c-2db0-46fd-bf7f-fb8cdd3af813 ApiPluginSolutionNameKey: System ApiStepSolutionNameKey: System ApiExceptionCategory: ClientError ApiExceptionMessageName: UnrelatedConnectionRoles ApiExceptionHttpStatusCode: 400

HelpLink: http://go.microsoft.com/fwlink/?LinkID=398563&error=Microsoft.Crm.CrmException%3a80048216&client=platform

Activity Id: 4acf661a-ea46-44ba-85c8-0c7d1ba9aad7

wavey05 commented 1 year ago

Found a resolution: https://community.dynamics.com/crm/f/microsoft-dynamics-crm-forum/487107/use-the-same-connection-role-with-the-target-record-and-the-source-record

Would be better if this could be set as default or embedded into the accelerator to avoid the need to set this up please?