MscrmTools / DamSim.SolutionTransferTool

XrmToolBox plugin to transfer solutions across organizations
GNU General Public License v3.0
3 stars 4 forks source link

Missing components in target environment #42

Open BartoszKaminski1999 opened 1 month ago

BartoszKaminski1999 commented 1 month ago

Hello,

I have setting like that:

image

And I got error message that "Missing components in target environment" everything is included into solution and even I was able before to import export with this tool but then I changed from managed to nonmanaged and it is not working.

MscrmTools commented 1 month ago

First you cannot import using managed then decide to use unmanaged. You have to keep managed mode if you imported a solution using managed. Secondly, the "Missing components in target environment" is displayed because using the standard message from Dataverse SDK indicates so. This is not the tool or any of a personal logic that determines if components are missing. This is coming from the target environment.

BartoszKaminski1999 commented 1 month ago

I understand this and I also conduct tests this way. To be more precise. I performed the first test using the default settings, I just clicked on transfer the solution. It worked, all components transferred, app, flow, dataverse. However, the solution in the target environment was managed, so I changed the settings to export it as nonmanaged, as you can see in the screenshot, and I get this error that the dataverse is missing and I didn't change anything in the solution.

MscrmTools commented 1 month ago

I understand but this is a behavior of Dataverse. Please uninstall the managed solution from the target environment before trying to transfer it as unmanaged. Or disable the check for missing components and I'm quite sure Dataverse will tell you you cannot import an unmanaged solution when it has already been imported as managed.