Open scma-esrich opened 5 years ago
@spitzerr, FYI.
@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?
@shailesh91, I am not sure about the reason or error-messages. @jesa-esrich, can you explain?
@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
@scma-esrich @jesa-esrich let me investigate a little more on this. Will try to get back to you on this soon.
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](https://user-images.githubusercontent.com/45851791/51473769-8fab5a80-1d7d-11e9-8f65-54b04853b35a.png)