i”m unable to create the web connection despite all the documentation.
Best answer by todd_davis
You could try that token url in the “token url” parameter in the web connection you showed. Not sure it will work because I don’t know how that web service is setup, but worth a shot.
This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.
I have not seen this “Esri ArcGIS Portal token” Web service before (Most people use Oauth2). Can you share a screenshot of the Web Service configuration.
My first suggestion is that the login URL is not the same as the token URL. The token url can be found by looking at https://Domain/portal/rest/info
The choice of a webconnection is the best. It just a query around what looks like a webconnection using token service rather than an Oauth2 connection. The standard ArcGIS Online connection in FME uses Oauth2 where you get to authorise in a pop-up window, but the current connection setting you have above in storing the username/password and therefore, looks like a token service. The Oauth2 connection is a bit harder to setup the first time but it is documented:
You could try that token url in the “token url” parameter in the web connection you showed. Not sure it will work because I don’t know how that web service is setup, but worth a shot.