Quantcast
Channel: Forum CRM Deployment
Viewing all articles
Browse latest Browse all 997

Unable to create CRM Organisation using Powershell

$
0
0

Hi,

I am trying to create a CRM Organisation on-premise using powershell, but I encounter the following error

New-CrmOrganization : Source    : mscorlib
Method    : HandleReturnMessage
Date    : 11:47:29 AM
Time    : 3/25/2014
Error    : Message: The Deployment Service cannot process the request because one or more validation checks failed.
ErrorCode: -2147167645
Stack Trace    :
======================================================================================================================
Inner Exception Level 1    :
==DeploymentServiceFault Info==========================================================================================
Error    : The Deployment Service cannot process the request because one or more validation checks failed.
Time    : 3/25/2014 10:47:29 AM
ErrorCode    : -2147167645
Date    : 11:47:29 AM
Time    : 3/25/2014
Error Items:
    SysAdminCheck raising error : You do not have sufficient permission to perform this operation on the specified
organization database
======================================================================================================================
At line:1 char:1+ New-CrmOrganization -DisplayName "TestOrg" -SQLServerName "SR12R2" -SrsUrl "http ...+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~+ CategoryInfo          : InvalidData: (Microsoft.Crm.P...anizationCmdlet:NewCrmOrganizationCmdlet) [New-CrmOrgani
   zation], FaultException`1+ FullyQualifiedErrorId : CRM Deployment Cmdlet Error,Microsoft.Crm.PowerShell.NewCrmOrganizationCmdlet

I am using the following command to create the Organisation:

Add-PSSnapin Microsoft.Crm.PowerShell

New-CrmOrganization -DisplayName "TestOrg" -SQLServerName "SR12R2" -SrsUrl "http://sr12r2/ReportServer" -Name "TestOrg" -BaseCurrencyCode "USD" -BaseCurrencyName "US Dollar" -BaseCurrencySymbol "$" -BaseCurrencyPrecision "2" -BaseLanguageCode 1033 -SqlCollation "Latin1_General_CI_AI" -SQMOptIn false


I already have deployment administrator rights, and I can create Organisations using the Deployment Manager, but it doesn't work via powershell. Also, I have tried running the powershell "as administrator" but had no luck.


Admin QuikView Solution for CRM 2013



Viewing all articles
Browse latest Browse all 997

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>