Question Status

Suggested Answer
bmansfield81 asked a question on 13 Mar 2015 2:53 PM

I am getting the following error when installing MS CRM 2015 On Premise. 

Microsoft Dynamics CRM Server Setup did not complete successfully.

Action Microsoft.CRM.Tools.Admin.ProvisionBusinessAction failed

A referral was returned from the server

The log details where the error hit are below. I've looked around and can't find anything more recent on it than CRM 2011. I tried the fix I found online pointing to a registry entry line but it didn't help - In registry on CRM Server: Go to HKLM\Software\Microsoft\MSCRM; Create a new DWORD type registry value named "VerifyDomainName" and set value to 1

Any suggestions??

12:21:54| Error| Installer Complete: OrganizationCreator - Error encountered
12:21:54| Error| Exception occured during Microsoft.Crm.Tools.Admin.OrganizationCreator: Action Microsoft.Crm.Tools.Admin.ProvisionBusinessAction failed.
InnerException:
System.Runtime.InteropServices.COMException (0x8007202B): A referral was returned from the server.

at System.DirectoryServices.SearchResultCollection.ResultsEnumerator.MoveNext()
at System.DirectoryServices.SearchResultCollection.get_InnerList()
at System.DirectoryServices.SearchResultCollection.get_Count()
at Microsoft.Crm.SecurityUtils.GetGuidFromSid(DirectorySearcher searcher, Byte[] sid)
at Microsoft.Crm.SecurityUtils.TryGetGuidFromSid(Byte[] sid)
at Microsoft.Crm.SecurityUtils.GetUserId(String domainName, Boolean limitGlobalCatalogSearches)
at Microsoft.Crm.Authentication.UserManagementFactory.GetActiveDirectoryInformation(String domainName, Boolean limitGlobalCatalogSearches)
at Microsoft.Crm.Authentication.UserManagementFactory.CheckForActiveDirectoryUser(String uniqueName, UserValidationParameters userValidationParameters, ExecutionContext context, Boolean limitGlobalCatalogSearches)
at Microsoft.Crm.Authentication.UserManagementFactory.ValidateActiveDirectoryUser(String domainName, UserValidationParameters userValidationParameters, ExecutionContext context, Boolean limitGlobalCatalogSearches)
at Microsoft.Crm.Authentication.UserManagementFactory.CreateUser(IBusinessEntity systemUser, Boolean setupUser, ExecutionContext context)
at Microsoft.Crm.ObjectModel.SystemUserServiceInternal`1.CreateInternal(Guid organizationId, IBusinessEntity systemuser, ExecutionContext context)
at Microsoft.Crm.ObjectModel.OrganizationServiceInternal`1.CreateRootBusiness(IBusinessEntity organization, IBusinessEntity business, IBusinessEntity systemUser, ExecutionContext context)
at Microsoft.Crm.Setup.Server.Utility.NewOrgUtility.OrganizationCreateNew(String organizationId, String organizationName, String userAccountName, String userFirstName, String userLastName, String userEmail, String featureSetFile, String languageCode, String privilegedUserGroup, String sqlAccessGroup, String reportingGroup, String privilegedReportingGroup, Boolean grantNetworkServiceAccess, OrganizationResourceHelper orgSettingsHelper)
at Microsoft.Crm.Tools.Admin.ProvisionBusinessAction.Do(IDictionary parameters)
at Microsoft.Crm.Setup.Shared.CrmAction.ExecuteAction(CrmAction action, IDictionary parameters, Boolean undo)

12:21:54| Info| Setting organization state. New state = Failed
12:21:54| Error| Install exception.System.Exception: Action Microsoft.Crm.Tools.Admin.ProvisionBusinessAction failed. ---> System.Runtime.InteropServices.COMException: A referral was returned from the server.

at System.DirectoryServices.SearchResultCollection.ResultsEnumerator.MoveNext()
at System.DirectoryServices.SearchResultCollection.get_InnerList()
at System.DirectoryServices.SearchResultCollection.get_Count()
at Microsoft.Crm.SecurityUtils.GetGuidFromSid(DirectorySearcher searcher, Byte[] sid)
at Microsoft.Crm.SecurityUtils.TryGetGuidFromSid(Byte[] sid)
at Microsoft.Crm.SecurityUtils.GetUserId(String domainName, Boolean limitGlobalCatalogSearches)
at Microsoft.Crm.Authentication.UserManagementFactory.GetActiveDirectoryInformation(String domainName, Boolean limitGlobalCatalogSearches)
at Microsoft.Crm.Authentication.UserManagementFactory.CheckForActiveDirectoryUser(String uniqueName, UserValidationParameters userValidationParameters, ExecutionContext context, Boolean limitGlobalCatalogSearches)
at Microsoft.Crm.Authentication.UserManagementFactory.ValidateActiveDirectoryUser(String domainName, UserValidationParameters userValidationParameters, ExecutionContext context, Boolean limitGlobalCatalogSearches)
at Microsoft.Crm.Authentication.UserManagementFactory.CreateUser(IBusinessEntity systemUser, Boolean setupUser, ExecutionContext context)
at Microsoft.Crm.ObjectModel.SystemUserServiceInternal`1.CreateInternal(Guid organizationId, IBusinessEntity systemuser, ExecutionContext context)
at Microsoft.Crm.ObjectModel.OrganizationServiceInternal`1.CreateRootBusiness(IBusinessEntity organization, IBusinessEntity business, IBusinessEntity systemUser, ExecutionContext context)
at Microsoft.Crm.Setup.Server.Utility.NewOrgUtility.OrganizationCreateNew(String organizationId, String organizationName, String userAccountName, String userFirstName, String userLastName, String userEmail, String featureSetFile, String languageCode, String privilegedUserGroup, String sqlAccessGroup, String reportingGroup, String privilegedReportingGroup, Boolean grantNetworkServiceAccess, OrganizationResourceHelper orgSettingsHelper)
at Microsoft.Crm.Tools.Admin.ProvisionBusinessAction.Do(IDictionary parameters)
at Microsoft.Crm.Setup.Shared.CrmAction.ExecuteAction(CrmAction action, IDictionary parameters, Boolean undo)
--- End of inner exception stack trace ---
at Microsoft.Crm.Setup.Shared.CrmAction.ExecuteAction(CrmAction action, IDictionary parameters, Boolean undo)
at Microsoft.Crm.Setup.Shared.Installer.Install(IDictionary stateSaver)
at Microsoft.Crm.Tools.Admin.OrganizationOperation.Install(IDictionary stateSaver)
at Microsoft.Crm.Tools.Admin.OrganizationCreator.Install(IDictionary stateSaver)
at Microsoft.Crm.Setup.Shared.ComposedInstaller.InvokeInstall(Installer installer, IDictionary stateSaver)
at Microsoft.Crm.Setup.Shared.ComposedInstaller.InternalInstall(IDictionary stateSaver)
at Microsoft.Crm.Setup.Shared.ComposedInstaller.Install(IDictionary stateSaver)
at Microsoft.Crm.Setup.Server.ServerSetup.Install(IDictionary data)
at Microsoft.Crm.Setup.Shared.SetupBase.ExecuteOperation()
12:21:54|Verbose| Method exit: Microsoft.Crm.Setup.Server.ServerSetup.ExecuteOperation
12:21:54| Info| ActivatePage(ServerSetupFinishPage)

Reply
Suggested Answer
Bruno Lucas responded on 13 Mar 2015 4:40 PM

Do you have  an account with all the AD permissions? Is this a 1 machine install or multiple machines?

Here is the official list of requirements:

technet.microsoft.com/.../hh699825.aspx

Check this out: (it's 2011 but for this case the problem could very like be the same)

social.microsoft.com/.../error-on-organizationcreator

Bruno Lucas, Senior CRM Consultant

DynamicDay CRM Blog 

Please mark my post as "Verified" If it helped to solve your problem 

Reply
bmansfield81 responded on 13 Mar 2015 6:52 PM

SQL is on the same machine. The domain controller is separate. I saw that post as well but wasn't at liberty to start messing with the customer's other servers. We have accounts set up for each of the services and I am installing using a domain admin account.

Seems like their resolution was reboots across the whole environment. Have that planned for this  weekend but not counting on it to be the fix. I'll keep digging...Thanks

Reply
Suggested Answer
bmansfield81 responded on 16 Mar 2015 4:37 PM

I was able to resolve the issue by deleting the TAPI3Directory naming context on our DC

Used the steps here: www.isaacoben.com/.../how-to-remove-child-domain-and-other-naming-context-from-forest-root-domain

Reply
Suggested Answer
Bruno Lucas responded on 13 Mar 2015 4:40 PM

Do you have  an account with all the AD permissions? Is this a 1 machine install or multiple machines?

Here is the official list of requirements:

technet.microsoft.com/.../hh699825.aspx

Check this out: (it's 2011 but for this case the problem could very like be the same)

social.microsoft.com/.../error-on-organizationcreator

Bruno Lucas, Senior CRM Consultant

DynamicDay CRM Blog 

Please mark my post as "Verified" If it helped to solve your problem 

Reply
Suggested Answer
bmansfield81 responded on 16 Mar 2015 4:37 PM

I was able to resolve the issue by deleting the TAPI3Directory naming context on our DC

Used the steps here: www.isaacoben.com/.../how-to-remove-child-domain-and-other-naming-context-from-forest-root-domain

Reply