Hello, all! I am trying to use the configureserviceaccount utility located in the tools directory to change the Portal for ArcGIS Account for Portal 10.5.1.
The service account is currently the default arcgis local account. I am trying to change it to an Active Directory service account. I have verified this domain account is enabled and active by logging into our network with it. So I'm pretty sure the service account and password are good.
Using the help, I found that the tool to perform this task is the configureserviceaccount utility, a command line tool. In the command prompt window, I navigate to the C:\Program Files\ArcGIS\Portal\tools\ConfigUtility\ folder and attempt to execute the following command:
configureserviceaccount --username [mydomain\username] --password [mypassword] --writeconfig [myfolder\filename]
Here are the errors I get when I run the tool:
Failed to determine the state for service: Portal for ArcGIS.
Failed in setting directory permissions for: C:\Program Files\ArcGIS\Portal\
plus seven more errors like the one above, but for 7 of the subfolders under C:\Program Files\ArcGIS\Portal\
Any assistance would be most appreciated. Thank you!