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

Export/Import Configuration Migration Data fails when no access to PowerShellGallery #292

Open WhereCanIFind opened 1 year ago

WhereCanIFind commented 1 year ago

Hi,

I'm unable to run the Export or Import Configuration Migration Data with an agent on a server that has no access toto https://www.powershellgallery.com/api/v2. It fails with the following error: Unable to load the service index for source https://www.powershellgallery.com/api/v2. An error occurred while sending the request. The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel. The remote certificate is invalid according to the validation procedure.

The "Use Agent Proxy for PowerShell Gallery Feed" is not selected.

For some reasons it tries to connect to the PowerShell api. I'm looking at granting access to this link via the firewall rules, but it may not be accepted here.

Please note that I'm able to get other Power DevOps tools (such as Export Solution) with no problem.

Any help would be appreciated.

thank you,