question

SantoshV-3427 avatar image
0 Votes"
SantoshV-3427 asked EchoDu-MSFT edited

SharePoint Server 2019 image

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




office-sharepoint-server-administration
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

EchoDu-MSFT avatar image
0 Votes"
EchoDu-MSFT answered

Hello @SantoshV-3427 ,

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.




5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

SantoshV-2219 avatar image
0 Votes"
SantoshV-2219 answered EchoDu-MSFT edited

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

· 2
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hello @SantoshV-2219 ,

Thanks for your sharing. I'm glad to hear that your problem has been solved.

You can accept your answer as answer. The behavior will help others who meet the similar issue in the future quickly find the correct answer.

Thanks,
Echo Du

0 Votes 0 ·

Hello @SantoshV-2219 ,

Is there anything else I can help with regarding this issue?
You can comment us at any time and we will continue to follow up.

Thanks,
Echo Du

0 Votes 0 ·