Esri / arcgis-powershell-dsc

This repository contains scripts, code and samples for automating the install and configuration of ArcGIS (Enterprise and Desktop) using Microsoft Windows PowerShell DSC (Desired State Configuration).
Apache License 2.0
112 stars 61 forks source link

GeoEvent - Registered ArcGIS Server - tokens didn't work for portal #120

Open scma-esrich opened 5 years ago

scma-esrich commented 5 years ago

During the GeoEvent-setup Portal is configured as the "Default" "Registered ArcGIS Server". The token-based configuration that is used by default for that connection did not work in our case. We had to switch to "Use Credentials" manually after the setup, which would break idempotency for the next run, right?

Wouldn't it be easier to "Use Credentials" right from the start? They are already part of the setup-process and the config-JSON because they are needed for the federation too.

The attached screenshot shows the working configuration AFTER the manual change. geoevent - registered arcgis server - portal

scma-esrich commented 5 years ago

@spitzerr, FYI.

shailesh91 commented 5 years ago

@scma-esrich Can you elaborate why token-based configuration that is used by default for that connection did not work in your case? Did you get any errors? Any particular use case that token-based security is not an option?

scma-esrich commented 5 years ago

@shailesh91, I am not sure about the reason or error-messages. @jesa-esrich, can you explain?

jesa-esrich commented 5 years ago

@shailesh91 as far as I remember, the GeoEvent Server will switch the connection type to Portal after ArcGIS Server (Role: GeoEvent) is federated with the Portal. To validate the connection you will have to pass the portal administrative credentials. Else the registered connection will throw an error. This is also stated in the offical GeoEvent doc: https://www.arcgis.com/home/item.html?id=b6a35042effd44ceab3976941d36efcf

image

shailesh91 commented 5 years ago

@scma-esrich @jesa-esrich let me investigate a little more on this. Will try to get back to you on this soon.