Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics CRM (Archived)

Installation error - Installing Microsoft Dynamics CRM 2016 with Powershell DSC

Posted on by Microsoft Employee

Hello,

We are attempting to install Microsoft dynamics CRM 2016 using DSC on a new server. The DSC resource mounts the ISo image and then attempts to run the installation using a saved install config xml.

This install always fails with a "current user not a domain user" error, as show below.

I have take care to make sure that the user under which the install runs ("crmapi_pro"), is a domain user with admin rights on the server.

Interestingly, if I log into the server locally as user cmrapi_pro and run the exact same command (shown below), the install run successfully.

"F:\Server\amd64\SetupServer.exe /Q /config C:\Temp\CRMInstall.xml /L  C:\temp\crminstall.log"

Please help.

18:08:12| Info| Check SysAdminValidator: Success
18:08:12| Info| Check WordBreakerValidator: Success
18:08:12| Info| Check FullTextInstalledValidator: Success
18:08:12| Info| Check FullTextRunningValidator: Success
18:08:12| Info| DatabaseFilesValidator linking to help topic: html/7fdded02-0c2a-4487-a6f0-62682b06b89e.htm
18:08:12| Info| Check ConfigDatabaseFilesValidator: Success
18:08:13| Info| DatabaseFilesValidator linking to help topic: html/7fdded02-0c2a-4487-a6f0-62682b06b89e.htm
18:08:13| Info| Check CrmDatabaseFilesValidator: Success
18:08:13| Info| Group Microsoft SQL Server Reporting Services
18:08:13| Info| Check ReportingUrlValidator: Success
18:08:13| Info| UrlAccessValidator linking to help topic: html/01f421a9-da60-4d47-a06a-75550ee94430.htm
18:08:14| Info| Check ExistingRSValidator: Success
18:08:14| Info| Group Active Directory®
18:08:14| Error| Check DomainUserValidator : Failure: The current user is not a domain user.
18:08:14|Verbose| Validation ran.
18:08:14|Verbose| Validation completed.
18:08:14|Verbose| Method exit: Microsoft.Crm.Tools.EDW.Framework.EDWTool.Run
18:08:14|Verbose| Method exit: Microsoft.Crm.Tools.EDW.Framework.EDWTool.RunAll
18:08:14| Info| Microsoft Dynamics CRM Server failed.
18:08:14| Info| Microsoft Dynamics CRM Server Setup did not complete successfully.

At least one environmental check has reported an error. Check the log file for more information.

18:08:14| Error| Setup did not complete successfully.
18:08:14|Verbose| Method exit: Microsoft.Crm.Setup.Server.ServerSetup.RunInternal
18:08:14|Verbose| Method exit: Microsoft.Crm.Setup.Server.ServerSetup.Run
18:08:14|Verbose| Method entry: Microsoft.Crm.Setup.Server.ServerSetup.Terminate
18:08:14| Info| Exit code: -2
18:08:14|Verbose| Method exit: Microsoft.Crm.Setup.Server.ServerSetup.Terminate
18:08:14| Info| === Managed setup logging stopped: 11/8/2016 6:08:14 PM ===
18:08:16| Info| === Setup bootstrap logging started 11/8/2016 6:08:16 PM ===
18:08:16| Info| Bootstrap version: 8.0.0.1088.
18:08:16| Info| User: crmapi_pro.

*This post is locked for comments

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,235 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans