Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

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
add comment

1 Answer 1

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

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

Your Answer

 
discard

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