Deploying the solution using powershell steps
cd D:\PackageDeployer\PowerShell
.\RegisterXRMTooling.ps1
Add-PSSnapin Microsoft.Xrm.Tooling.Connector
Add-PSSnapin Microsoft.Xrm.Tooling.PackageDeployment
$CRMConn = Get-CrmConnection -InteractiveMode -Verbose
(OR) if InteractiveMode is not working
$CRMConn = Get-CrmConnection -Credential $Cred –OnlineType Office365 –OrganizationName org2b8eb99c
Import-CrmPackage –CrmConnection $CRMConn –PackageDirectory D:\PackageDeployer –PackageName MTC.GroupCalendarPkg.dll –UnpackFilesDirectory D:\UnpackedFiles -Verbose
------ TO Get Organization details -------------
$Cred = Get-Credential
$CRMOrgs = Get-CrmOrganizations -Credential $Cred -DeploymentRegion IND –OnlineType Office365
$CRMOrgs
------------------------------------------------
.\RegisterXRMTooling.ps1
Add-PSSnapin Microsoft.Xrm.Tooling.Connector
Add-PSSnapin Microsoft.Xrm.Tooling.PackageDeployment
$CRMConn = Get-CrmConnection -InteractiveMode -Verbose
(OR) if InteractiveMode is not working
$CRMConn = Get-CrmConnection -Credential $Cred –OnlineType Office365 –OrganizationName org2b8eb99c
Import-CrmPackage –CrmConnection $CRMConn –PackageDirectory D:\PackageDeployer –PackageName MTC.GroupCalendarPkg.dll –UnpackFilesDirectory D:\UnpackedFiles -Verbose
------ TO Get Organization details -------------
$Cred = Get-Credential
$CRMOrgs = Get-CrmOrganizations -Credential $Cred -DeploymentRegion IND –OnlineType Office365
$CRMOrgs
------------------------------------------------
Comments
Post a Comment