Does anyone know where the configuration for "Manage ArcMap portal connections" is stored (file/registry/etc)? As part of the automated deployment, I would like it to pointing to a specified Portal as opposed to the default AGOL setting.
I am hoping to either make the change once and copy the file to the other instances, or run powershell script to do so.
Cheers.
Derrick
Solved! Go to Solution.
There are registry keys that store the paths to the manged portals and the default in the registry. You can set the registry keys with the portal URLs through a little batch script. The main keys you need are HKEY_CURRENT_USER\Software\ESRI\ArcGIS Online\Portals and HKEY_CURRENT_USER\Software\ESRI\ArcGIS Online\SignIn. Esri does not necessarily recommend modifying these keys outside the ArcGIS Administrator, however, I have been using batch files to switch between my Test and Production Portal environments for years.
Hi
You need to open ArcGIS Administrator, when you are on the root of the tree on the left panel you hit the Advanced button. In the Advanced Configuration panel you have a Manage portal Connection button.
As far as I know all the information from that tool is just changing values in the registry.
I usually entering some fake value, then look for it in the registry to find the correct place to change.
Have Fun
There are registry keys that store the paths to the manged portals and the default in the registry. You can set the registry keys with the portal URLs through a little batch script. The main keys you need are HKEY_CURRENT_USER\Software\ESRI\ArcGIS Online\Portals and HKEY_CURRENT_USER\Software\ESRI\ArcGIS Online\SignIn. Esri does not necessarily recommend modifying these keys outside the ArcGIS Administrator, however, I have been using batch files to switch between my Test and Production Portal environments for years.
Can you provide an example of a batch file that you have that modifies these registry settings?
Just copy the sample code below into a text editor and save as a *.bat file. Then replace the bits in <>. You can then just run the file off your desktop or include it in a deployment script.
Sample Code:
reg add "HKEY_CURRENT_USER\Software\ESRI\ArcGIS Online\Portals" /t REG_SZ /d https://<subdomain.domain.com>/portal /f
reg add "HKEY_CURRENT_USER\Software\ESRI\ArcGIS Online\SignIn" /v HomeServerURIFile /t REG_SZ /d https://<subdomain.domain.com>/portal/arcgisuris.xml /f
Enjoy!!