How to Change SharePoint 2013 Farm Account Password
SharePoint Farm Account
SharePoint farm account is a service account which manages farm services. It is also used as application pool identity for Central Administration and used for accessing database. In some conditions, you may have to change the password of SharePoint farm account due to security policies.
Steps to change Farm Account Password using Central Administration
In this blog, we will update SharePoint farm password from SharePoint Central Administration which means we don't have to change the password in Active Directory. When we change the password using below steps, password in AD will be automatically updated.
- Go to SharePoint Central Administration
- Click on Security
- Under General Security header, click on "Configure managed accounts"
- Click on Edit icon against the respective service account for which you want to change the password
- Tick "Change password now" check box
- Select "Set account password to new value" option
- Enter the new password and click OK to save the password to the managed account
When you click Change password now, it will give three options as shown in above screenshot. These options are elaborated below:
Generate new password - This will auto generate new password and assign it to the managed account, it will remain abstracted from the user, who changed the password. There is no way to know the new password.
Set account password to new value - This will create a new password and update it back to the Active Directory.
Use existing password - This option is used to update the AD password of the account to SharePoint managed account. In this way, the AD password is synchronized with the managed account.
Note: The benefit of changing password from managed accounts is that SharePoint can automate some of the actions across the farm like changing windows service registrations and IIS pool registrations.
Warning
If you are using same service account in an ERP like Dynamics AX which is integrated with your SharePoint, then Dynamics AX may stop working after password change (SharePoint will work normally).
You may face below errors: "Exception has been thrown by the target of an invocation"Update log on credentials of AOS service because AOS service will not update the new password for the service account automatically.Steps:- Open Services.msc on Dynamics AX server
- Select the AOS service, the default name usually is "Microsoft Dynamics AX Object Server ** - MicrosoftDynamicsAX" abd stop the service.
- Right click the service and select properties
- Click Log on tab and update credentials for service account
- Click Apply and OK and Start the service
After following above steps, error "Exception has been thrown by the target of an invocation" will be gone and Dynamics AX will be working.
Here, game is not over!
When user tries to access Dynamics AX and clicks on any report. For example, in my case, when I run Employee Wise Consolidated Report, I got an error again:"The logon attempt failed"Update log on credentials of SSRS (SQL Server Reporting Services) service because SSRS service will not update the new password for the service account automatically.
Steps:- Open Services.msc on server where SQL server is installed
- Select "SQL server reporting services"
- Right click the service and select properties
- Click Log on tab and update credentials for service account
- Click Apply and OK and Start the service
After following above steps, error "The logon attempt failed" will be gone and Dynamics AX will be working.
Final Note:- Manually change the User Profile Service password. As required by SharePoint, this service uses the farm administrator account, however SharePoint 2013 does not treat this account as a managed account so it must be changed manually.
- Check if any applications in the Secure Store service use the farm administrator account, and if they do change the password there.
- Go to Central Administration -> Application Management -> Manage Service Applications -> Secure Store Service Application -> Select Target Application ID -> Update Credentials
References:
Warning
If you are using same service account in an ERP like Dynamics AX which is integrated with your SharePoint, then Dynamics AX may stop working after password change (SharePoint will work normally).
You may face below errors:
"Exception has been thrown by the target of an invocation"
Update log on credentials of AOS service because AOS service will not update the new password for the service account automatically.
Steps:
- Open Services.msc on Dynamics AX server
- Select the AOS service, the default name usually is "Microsoft Dynamics AX Object Server ** - MicrosoftDynamicsAX" abd stop the service.
- Right click the service and select properties
- Click Log on tab and update credentials for service account
- Click Apply and OK and Start the service
After following above steps, error "Exception has been thrown by the target of an invocation" will be gone and Dynamics AX will be working.
Here, game is not over!
When user tries to access Dynamics AX and clicks on any report. For example, in my case, when I run Employee Wise Consolidated Report, I got an error again:
"The logon attempt failed"
Update log on credentials of SSRS (SQL Server Reporting Services) service because SSRS service will not update the new password for the service account automatically.
Steps:
- Open Services.msc on server where SQL server is installed
- Select "SQL server reporting services"
- Right click the service and select properties
- Click Log on tab and update credentials for service account
- Click Apply and OK and Start the service
After following above steps, error "The logon attempt failed" will be gone and Dynamics AX will be working.
- Manually change the User Profile Service password. As required by SharePoint, this service uses the farm administrator account, however SharePoint 2013 does not treat this account as a managed account so it must be changed manually.
- Check if any applications in the Secure Store service use the farm administrator account, and if they do change the password there.
- Go to Central Administration -> Application Management -> Manage Service Applications -> Secure Store Service Application -> Select Target Application ID -> Update Credentials
References:
Comments
Post a Comment