-
Hi, I'm investigating if there is any option to implement CI/CD pipelines for our Dynamics CRM 2013 version (hosted on-prem) Is it possible, with the help on those PS scripts, to for example export solution. extract it with Solution Packager, upload into GIT, work on some code there, package the solution with Package Manager again and import into CRM? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Get-CrmConnection is provided by the Microsoft provided xrm tooling module (not something authored here, though this module also relies on using that same cmdlet to get a connection object). You have a couple of options, one would be to use Connect-CrmOnline but provide your own connectionstring using the connectionstring parameter (pointing to onprem). Second, you could just call the underlying get-Connection and use whatever parameters you want to create a CrmServiceClient. Once you have a connection created you can use all these helper cmdlets in this module to do what is needed.
|
Beta Was this translation helpful? Give feedback.
I think the problem I face right now is the SDK which is used. I was trying to connect to Dynamics CRM 2015 while SDK being used is the newest SDK version (for Dynamics 365 as this is version 9?). I was trying to solve that problem but tbh I can't or I'm missing some info?
I can login normaly using the Url and it works fine with my credentials if that is important.
PS C:\Windows\system32> Get-CrmConnection -ConnectionString "AuthType=AD;Url=http://myserver:myport/xRMTraining/;Dom
ain=IHGD;UserName=myUserName;Password=password"
Get-CrmConnection : Failed to connect to CRM: Unable to login to Dynamics CRM, Error was : SOAP security negotiation
with 'http://myserver:myport/xRMTraining/XRMSer…