Share via

SharePoint Server 2019 image

Santosh V 6 Reputation points
2021-08-05T15:59:26.37+00:00

Dear Experts

i have created VM using SharePoint Server 2019 image on Microsoft Azure and installed SQL Server 2019 with SSMS
am getting below error when am trying to run the share point config wizard to create new farm

The specified user "username" is a local account. local accounts should only be used in stand alone mode

Microsoft 365 and Office | SharePoint Server | For business
0 comments No comments

2 answers

Sort by: Most helpful
  1. Santosh V 116 Reputation points
    2021-08-06T04:28:44.403+00:00

    Thanks a lot, Echo.
    After adding VM into the domain, able to run the config wizard.
    However, Sharepoint PowerShell script works only after completion of SharePoint configuration wizard
    Thanks again

    Regards
    Santosh

    Was this answer helpful?


  2. Echo Du_MSFT 17,346 Reputation points
    2021-08-06T01:25:58.163+00:00

    Hello @Santosh V ,

    The error comes because when you are installing SharePoint Server 2019, you need a domain account. It should be an active directory domain account.

    Please run the below New-SPConfigurationDatabase cmdlet as an admin

    New-SPConfigurationDatabase -DatabaseName SharePoint_ConfigDB -DatabaseServer [ServerName] -AdministrationContentDatabaseName SharePoint_ContentDB -Passphrase (ConvertTo-SecureString [password] -AsPlaintext -Force) -FarmCredentials (Get-Credential) -localserverrole SingleServerFarm  
    

    Thanks,
    Echo Du

    =====================================

    If an Answer is helpful, please click "Accept Answer" and upvote it.
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    Was this answer helpful?

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.