Note that there are some explanatory texts on larger screens.

plurals
  1. POunable to create organisation programmatically through c# in crm 2011
    primarykey
    data
    text
    <pre><code>public void Main2() { DeploymentServiceClient service = Microsoft.Xrm.Sdk.Deployment.Proxy .ProxyClientHelper.CreateClient(new Uri("http://xxxxxxxxx:5555/XRMDeployment/2011/Deployment.svc")); Console.WriteLine(CreateOrganization(service , new Organization { UniqueName = "testOrgProv1", FriendlyName = "testOrgProv1", SqlServerName = "CRMDDC2", SrsUrl = @"http://crmddc2/Reports", BaseCurrencyCode = RegionInfo.CurrentRegion.ISOCurrencySymbol, BaseCurrencyName = RegionInfo.CurrentRegion.CurrencyNativeName, BaseCurrencySymbol = RegionInfo.CurrentRegion.CurrencySymbol, State = Microsoft.Xrm.Sdk.Deployment.OrganizationState.Enabled })); } Guid? CreateOrganization(IDeploymentService deploymentService , Organization org) { BeginCreateOrganizationRequest req = new BeginCreateOrganizationRequest { Organization = org }; BeginCreateOrganizationResponse resp = deploymentService.Execute(req) as BeginCreateOrganizationResponse; return resp != null ? (Guid?)resp.OperationId : null; } </code></pre> <p>but I'm getting the error as</p> <blockquote> <p>"The Deployment Service cannot process the request because one or more validation checks failed."</p> </blockquote> <p>I'm using the local administrator account, it is also the deployment administrator,</p> <p>ps: when I used similar code in a different way, the same error was popping but there the internal message was</p> <blockquote> <p>"The current Active Directory user doesnt have read write permission on the reporting group ....."</p> </blockquote>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload