Esri / arcgis-cookbook

Chef cookbooks for ArcGIS
Apache License 2.0
290 stars 115 forks source link

Issue with group managed service account - node['arcgis']['run_as_msa'] #362

Open ramtechjoe opened 1 year ago

ramtechjoe commented 1 year ago

We are running an install using a group managed service account. When we did this it set Portal to run as local service account instead of the account we specified.

we have:

"arcgis": {
        "version": "11.1",
        "run_as_user": "domainName\\ArcGIS_QA_Srvc$",
    "run_as_msa": true,
        "configure_windows_firewall": true,

Should we include a node['arcgis']['run_as_password'] as an empty string instead of leaving it out? Or something else?

Thanks -Joe

cameronkroeker commented 1 year ago

Hi @ramtechjoe,

Shouldn't need to include node['arcgis']['run_as_password']. If it was set to Local System rather than the gMSA then I suspect the portal setup.exe was not able to find the gMSA account so it defaulted to using Local System. Let's try the following:

Or alternatively the quickest method might actually be to launch the portal setup.exe GUI, and manually provide the gMSA account details to see if it let's you proceed. If the setup is unable to detect/find the gMSA then it won't let you proceed with the installation and should throw an error.

Thanks, Cameron K.