When I was trying to Link the environment in FO with CE for Dual Write, got the below error at the Create step.
Saving connection set failed!
[UnknownError] [Type : Microsoft.Dynamics.Integrator.Exceptions.IntegratorInternalException]Duplicate companies “” found in Common Data Service. Please remove the duplicate(s) and try again.
![](https://arunpotti.files.wordpress.com/2022/07/image-79.png?w=838)
Followed the below steps and resolved this issue.
Step 1: Open the Dynamics CE Environment, for which the FO environment is linked to CE for Dual Write.
Step 2: Open Advanced Find and Look for Companies.
Step 3: Click on Results. You can see some duplicate records got created without Company Code and Name.
![](https://arunpotti.files.wordpress.com/2022/07/image-80.png?w=838)
Step 4: Select all the records and Click on Delete Company.
![](https://arunpotti.files.wordpress.com/2022/07/image-84.png?w=504&resize=294%2C539)
Duplicate Records will be deleted and remaining will not be deleted.
Issue will be resolved and continue to link the Environment in FO; you will not see this issue anymore.
Hope you have successfully Linked the FO to CE environment for Dual…
Source link
More About This Author
![](https://i0.wp.com/365community.online/wp-content/uploads/nsl_avatars/a2e17abf95b0195b8693d17f58f418f1.png?fit=96%2C96&ssl=1)
Array
Dyn365CE26 July 2024API playground feature not available in Dataverse Accelerator App?
Dyn365CE25 July 2024How to Explore and test Dataverse in the Web API playground (preview)?
Dyn365CE20 July 2024Web resource method does not exist in Dynamics 365 CE
Dyn365CE19 July 2024How to get Environment Variable Value in Dynamics 365 CE using JavaScript?