DynamicsCrm.DevKit.Cli - phuocle/Dynamics-Crm-DevKit GitHub Wiki
Arguments
/conn
connection string value
/sdklogin
yes
use the OOB SDK Control Login
no
use the argument /conn
/json
related file path to DynamicsCrm.DevKit.Cli.json
/type
/profile
support multi profiles, you need specify a valid profile together with the argument /type
/version
used by Solution Packager Project Template
/onlyupdateassembly
yes
when /type:"servers"
, use this argument for fast deploy because it only update
the assembly file to connected
instance.
no
default value. Full deploy.
Examples
Fast deploy server projects with profile DEBUG use OOB control login
DynamicsCrm.DevKit.Cli.exe /sdklogin:"yes" /json:"..\DynamicsCrm.DevKit.Cli.json" /type:"servers" /profile:"DEBUG" /onlyupdateassembly:"yes"
Deploy server projects with profile DEBUG use ClientSecret
DynamicsCrm.DevKit.Cli.exe /conn:"AuthType=ClientSecret;Url=https://dev-devkit.crm5.dynamics.com;ClientId=e31fc7d6-4dce-46e3-8677-04ab0a2968e3;ClientSecret=?-iwRSB0te8o]pHX_yVQLJnUqziB1E0h;" /json:"..\DynamicsCrm.DevKit.Cli.json" /type:"servers" /profile:"DEBUG"
Deploy server projects with profile DEBUG use OAuth (password encrypted)
DynamicsCrm.DevKit.Cli.exe /conn:"AuthType=OAuth;Url=https://dev-devkit.crm5.dynamics.com/main.aspx;[email protected];Password=rnUm+mwAfLTUOsiKuF8Nz/VMtJ2s3tH4ND1JyenFWKQ=;AppId=51f81489-12ee-4a9e-aaae-a2591f45987d;RedirectUri=app://58145B91-0C36-4500-8554-080854F2AC97;LoginPrompt=Auto" /json:"..\DynamicsCrm.DevKit.Cli.json" /type:"servers" /profile:"DEBUG"
Deploy server projects with profile DEBUG use OAuth (password not encrypted)
DynamicsCrm.DevKit.Cli.exe /conn:"AuthType=OAuth;Url=https://dev-devkit.crm5.dynamics.com/main.aspx;[email protected];Password=!DynamicsD3vKit7;AppId=51f81489-12ee-4a9e-aaae-a2591f45987d;RedirectUri=app://58145B91-0C36-4500-8554-080854F2AC97;LoginPrompt=Auto" /json:"..\DynamicsCrm.DevKit.Cli.json" /type:"servers" /profile:"DEBUG"
Deploy server projects with profile DEBUG use AD (password not encrypted)
DynamicsCrm.DevKit.Cli.exe /conn:"AuthType=AD;Url=http://localhost/CRM;Domain=crm;Username=crmadmin;Password=p@ssw0rd01;" /json:"..\DynamicsCrm.DevKit.Cli.json" /type:"servers" /profile:"DEBUG"