Greetings,
Premise: I cleaned up our teams solution in the DEV environment from 60 Connection References down to 16. It was tedious, but I went through every cloud flow we had (64 originally, got us down to 54 deleting unneeded ones) and reassigned all Actions that had Connection References that were superfluous (because they referenced the same Connections) so that we could standardize on the Connection References we were using.
However, no I can't export the solution anymore. After trying to export, I get a banner at the top stating:
Solution "{Solution Name} 1.0.0.0" failed to export: Entity 'connectionreference' With Id = de6cd02f-1cea-ef11-9342-000d3a369800 Does Not Exist
Since I have no way (that I've found) to be able to search for all Connection References in the environment (in general, but especially) by their GUID, and the error gives no other information, I'm at a loss as to how to fix this.
Importan caveat: I was able to export the solution up until I started the Connection Reference (and Cloud Flow) clean up, and no one else was working on the solution during that time, so it's definitely something I did or that happened during the clean up.
What I've tried:
. Searched the previously exported solution files (after unzipping it and then searching in all files) for any reference to the GUID that the error was referencing, couldn't find it referenced anywhere
. Inspecting the requests that were made to export the solution (didn't find anything except what was being displayed in the banner)
. Switching to the Classic View and trying multiple ways to find all of the Connection References in the environment (no dice, so I also couldn't search based on their GUID's, obviously)
. Going back through every Cloud Flow to make sure every Action that uses a Connection Reference had one that was present within the solution
. Searching in the XRM Toolbox - Metadata Browser (tool) using the Guid and a couple far fetched attempts to see if I could find it that way
. Removing cloud flows that were not originally a part of the solution, but had been pulled in during previous (successful) exports. This part I'm not totally positive about how it happened that they got added to our solution because they showed up a while ago after someone else had exported. I removed them, tried to re-export the solution, and still the same error, but at least now we're back down to 33 Cloud Flows.
. I've now gone back through all 33 Clouds Flows, resaved and republished each of them.
Hypothesis:
. Something is getting cached somewhere, but I haven't found where.
Any help would be GREATLY appreciated