SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

The set-SPManagedAccount powershell command used as follows:

set-spmanagedaccount -identity "domain\validdomainaccount"

returns the following message: The account domain\validdomainaccount was not found.

Can someone help me with this? Is their something that needs to be done to the domain account before setting up as a managed account?

share|improve this question

I found the answer. Using new_spmanagedaccount is the appropriate command.

$cred = Get-Credential
new-spmanagedaccount -Credential $cred
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.