WaelHamze / dyn365-ce-vsts-tasks

VSTS Extension for Dynamics 365 Customer Engagement
https://marketplace.visualstudio.com/items?itemName=WaelHamze.xrm-ci-framework-build-tasks
GNU General Public License v3.0
115 stars 54 forks source link

Import Solution - Object reference not set to an instance #232

Open mustaqueali opened 3 years ago

mustaqueali commented 3 years ago

We have created a new dynamics solution for the Power Automate flows and related connectors. I was able to pack in the build pipeline but in release, the import solution step fails with the Objet reference error.

I downloaded the build artefact from the pipeline and was able to manually import the solution into the SIt instance.

As there is no information, I am not sure what is missing here. Any help appreciated.

origicom commented 3 years ago

Hi,

Might be a breaking change in the MS API's.

See this issue in the xrm-ci-framework, that is being used in this project. https://github.com/WaelHamze/xrm-ci-framework/issues/297

See the Ms documentation about the old powershell module used by the xrm-ci-framework https://docs.microsoft.com/en-us/powershell/module/microsoft.xrm.onlinemanagementapi/?view=pa-ps-latest

We ran into the same issue and decided to make our own extensions.

mustaqueali commented 3 years ago

Hi @origicom - The same import solution is working for the default Dynamics Solution having default components and failing ONLY for this FLOW solution ? any reasons?