RSS

Tag Archives: Development

The username is invalid. The account must be a valid domain account – SharePoint 2013 Setup Error


When configuring SharePoint 2013 Development Virtual server in “Complete” mode you get below issue.

Error

1

“The username is invalid. The account mist be a valid domain account” when using a local account to configure the farm”

NOTE: Out of the box SharePoint only supports “Stand-alone” mode for non domain environments, but this forces you to use SQL Server 2008 R2 Express Edition which is most cases is unacceptable.

Solution
Use a PowerShell command to create the initial configuration of the farm with a local account:

  1. Start the SharePoint Management PowerShell
  2. Run “New-SPConfigurationDatabase” from the command line and follow the instructions
    Database Name: Sharepoint_Config
    DatabaseServer: Name of your SQL Server
    Farm Credentials : localservername\username
    Passphrase : Must contain at 8 character with one Caps,one number,& special character
    2
  3. This will create the farm and configure the necessary accounts.
  4. Rerun the configuration wizard
  5. After it finishes start the Config Wizard and configure your server with all components
  6. Select “Do not disconnect from this server farm

    3

  7. Done!

 

 

 

Advertisements
 
Leave a comment

Posted by on September 20, 2014 in SharePoint 2013

 

Tags: ,