Hi,
I wanted to create a Sandbox instance from the Production Instance where we have Marketing installed but as I try the basics to just add a contact I get the following error:
Unhandled exception: Exception type: System.ServiceModel.FaultException`1[Microsoft.Xrm.Sdk.OrganizationServiceFault] Message: Exception 'InvalidPluginExecutionException' occured: Error during retrieval of Configuration Entity: entity doesn't exist., CorrelationId: 98a89bbe-2762-47f5-aeba-15d601b6654cDetail: <OrganizationServiceFault xmlns:i="www.w3.org/.../XMLSchema-instance" xmlns="schemas.microsoft.com/.../Contracts"> <ActivityId>566ad9f5-aba3-4e33-aba6-a3a65dd4ce59</ActivityId> <ErrorCode>-2147220891</ErrorCode> <ErrorDetails xmlns:d2p1="schemas.datacontract.org/.../System.Collections.Generic"> <KeyValuePairOfstringanyType> <d2p1:key>OperationStatus</d2p1:key> <d2p1:value xmlns:d4p1="www.w3.org/.../XMLSchema" i:type="d4p1:string">0</d2p1:value> </KeyValuePairOfstringanyType> <KeyValuePairOfstringanyType> <d2p1:key>SubErrorCode</d2p1:key> <d2p1:value xmlns:d4p1="www.w3.org/.../XMLSchema" i:type="d4p1:string">-2146233088</d2p1:value> </KeyValuePairOfstringanyType> </ErrorDetails> <Message>Exception 'InvalidPluginExecutionException' occured: Error during retrieval of Configuration Entity: entity doesn't exist., CorrelationId: 98a89bbe-2762-47f5-aeba-15d601b6654c</Message> <Timestamp>2019-06-25T12:22:58.0802488Z</Timestamp> <ExceptionRetriable>false</ExceptionRetriable> <ExceptionSource i:nil="true" /> <InnerFault i:nil="true" /> <OriginalException i:nil="true" /> <TraceText> [Microsoft.Dynamics.Crm.MarketingPlugins: Microsoft.Dynamics.Crm.MarketingPlugins.Plugins.Segmentation.SegmentMembersPlugin] [2c52b4fb-a8c0-425f-9e32-4cd99e95ba1a: Microsoft.Dynamics.Crm.MarketingPlugins.Plugins.Segmentation.SegmentMembersPlugin: Retrieve of members of segment as Contacts] 2019-06-25T12:22:55.8111235Z :: ConfigurationEntityProvider - no entities returned 2019-06-25T12:22:55.8161351Z :: Error during retrieval of Configuration Entity: entity doesn't exist. 2019-06-25T12:22:58.0361210Z :: Exception 'InvalidPluginExecutionException' occured: Error during retrieval of Configuration Entity: entity doesn't exist., CorrelationId: 98a89bbe-2762-47f5-aeba-15d601b6654c </TraceText> </OrganizationServiceFault>
It seems that there is a plugin that causes the error due to missing configuration entity?
Any idea on how to solve this?
regards
Martin
Hello, we encountered this issue just now and this is such a helpful reference. Thanks for putting it out.
Hi Martin,
I'm so glad that you have resolved your issue and thank you very much for your sharing the solution :-)
Regards,
Clofly
So for reference and others with the same issues as me.
I had a chat with Microsoft about this and the problem is a plugin that is enabled and just needs to be disabled and after that everything works fine. So the plugin: Microsoft.Dynamics.Crm.MarketingPlugins.Plugins.Segmentation.SegmentMembersPlugin needs to be deaktivated.
I also got word from MS that this is a known issue and they are working on a fix that this will not happen when creating a sandbox instance from a prod instance that has the marketing app installed.
regards
Martin
Hi Martin,
Yes, you could try to reset your sandbox instance.
It will restore the instance to default settings, and all customization will be removed. Just to check whether issue still exists in a clean environment.
If issue would be resolved after resetting, you can still copy instance from the production(with all data completely).
If not, it would be better to create a ticket for help.
Regards,
Clofly
Hi Clofly,
resetting the sandbox instance I guess you are referring to right?
So just curious, what would be the result more that I create a clean instance right? But i need it to be a copy of the production instance
Br
Martin
Hi Martin,
Would you mind resetting the instance if your environment is newly installed?
Regards,
Clofly
Hi Clofly,
no actually not, it is just newly installed still doing the standard configuration of the application.
regrads
Martin
Hi Martin,
Have you added any customized plug-in and counfigured it in workflow in your previous production marketing application instance?
It may cause exception if there were no related entity available for workflow to do steps when you add contact.
Regards,
Clofly
Hi Justin,
well the copy has been done in a proper manner, however it seems that parts were not copied over as I hope they would. I would also not be able to install the Marketing App on the Sandbox instance as I would need a separate license for that and I only have 1 Marketing app to deploy.
if you go to: https://web.powerapps.com/ there should be ability to copy an instance from production there:
docs.microsoft.com/.../copy-instance
in your case it looks like the Configuration Entity is missing, would it be worth trying to set up the sandbox and then adding the marketing app separately to the sandbox ?
André Arnaud de Cal...
291,965
Super User 2025 Season 1
Martin Dráb
230,817
Most Valuable Professional
nmaenpaa
101,156