Thank you. I followed all the steps. Also, I thought the following script takes care of updating managed accounts:
$username="DOMAIN\spFarm"
$newpassword=ConvertTo-SecureString -String "password" -AsPlainText -Force
Set-SPManagedAccount -Identity $username -ExistingPassword $newpassword -UseExistingPassword:$true
To ensure that its updated, I applied another round. I still see issue with external content type list. It says credentials are not correct.
Also, the user profile service is stuck in starting. Even if I execute Unprovision, it doesnt do anything. I tried force stopping but I get the following error
Stopping the User Profile Instance
Stop-SPServiceInstance : An object of the type Microsoft.SharePoint.Administration.SPServiceInstanceJobDefinition
named "job-service-instance-xxxxx-4073-468a-a416-3d6f8c7xxxxx" already exists under the parent
Microsoft.SharePoint.Administration.SPTimerService named "SPTimerV4". Rename your object or delete the existing
object.
At C:\StartSync.ps1:32 char:1
- Stop-SPServiceInstance -Identity $service1.ID -Confirm:$false
- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- CategoryInfo : InvalidData: (Microsoft.Share...ServiceInstance:SPCmdletStopServiceInstance) [Stop-SPSer
viceInstance], SPDuplicateObjectException
- FullyQualifiedErrorId : Microsoft.SharePoint.PowerShell.SPCmdletStopServiceInstance
Any suggestions to scan or fix?