Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8816187
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T04:33:40+00:00 2026-06-14T04:33:40+00:00

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

  • 0
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;
}

but I’m getting the error as

“The Deployment Service cannot process the request because one or more validation checks failed.”

I’m using the local administrator account, it is also the deployment administrator,

ps: when I used similar code in a different way, the same error was popping but there the internal message was

“The current Active Directory user doesnt have read write permission on the reporting group …..”

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-14T04:33:41+00:00Added an answer on June 14, 2026 at 4:33 am

    I’m working through the same issue. I’ve found two articles that propose two different solutions:

    • http://social.microsoft.com/Forums/eu/crmdevelopment/thread/08598c62-f7da-4cd3-b8cc-89b07ebf1ad4
    • http://social.microsoft.com/Forums/en/crm/thread/0dd4a41b-eeba-405c-9b56-c32bfedb9e7a

    This post reminds me of one of those links. In the first article, the author mentions that the deployment service (check IIS app pool) identity needs to have AD permission granted over the OU for the ReportingGroup.

    To summarize the two articles:

    • Find the app pool identity for the CrmDeploymentServiceAppPool, henceforth <identiy>
    • Add the <identiy> to the Local Administrator and CRM_WPG groups
    • Delegate Control to <identiy> in AD of the OU containing PrivUserGroup and SqlAccessGroup
    • Grant <identiy> the “Log on as a Service” in the “secpol.msc” local rights management
    • Grant “sysadmin” privileges to the <identiy> in SQL server
    • Grant Read/Write permissions to <identiy> on the MSCRM_Web and Trace folders in your CRM
    • Grant Read/Write permissions to <identiy> in “regedit” on the entries HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSCRM and HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\services\MSCRMSandboxService subkeys
    • Reset the App Pool
    • Run the scripts

    If this fails to work, double check the links above, pray to God, then call MS Tech support (order is up to you). (Also, if you find something was missing, feel free to post or edit.)

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

@Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.main2); savedInstanceState.putString(foo, bar); } @Override public void
public static void main(String Data[]) { ConnectionPoolDataSource dps; try { cnt=new InitialContext(); cnt.rebind(java:comp/env/jdbc/pool/dragon, dps);
public class Main { public static void main(String[] args){ Class2 class2Object = new Class2();
public static void Main() { Dictionary<string, double> values = new Dictionary<string, double>(); values.Add(a, 0.002);
public class Test { public static void main(String[] args) { DemoAbstractClass abstractClass = new
public class MultiplicationTable { public static void main (String[]a){ int[] x; x = new
public class Main { public static void main(String[] args){ XClass x = new XClass();
Without State pattern public static void main(String[] args) { Context c = new Context();
class ZiggyTest{ public static void main(String[] args){ RunnableThread rt = new RunnableThread(); Thread t1
public class Test { public static void main(String[] args) { try { doSomething(new TestCallback()

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.