Is there any more information in the log?
I’m also assuming that you’ve tried going that URL and using those credentials to login successfully?
I’ve used this URL and credentials to successfully log into Portal in Arcgis Pro and in a browser. The log file had no information.
Hi,
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
Cheers,
Todd
I placed “/rest/info” after “...portal” in the connection URL but got the error message “Could not access...”
I chose to use a web connection because i have other web connections with AGOL (that work). I wanted to keep all my connections in one place.
Try https://URL/portal/sharing/rest/info then. This is to get the token generation location url for use in a token service webconnection.
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:
BTW, thanks for your help.
Got some successful returns:
Owning System URL and Token Service URL available. What do I do with the Token Service URL?
IT WORKED!!! Placed the URL into the Token URL and the connection was made.
Thanks for all your help.
you will get the credit.
Thanks again.
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.
Can you share the configuration of the webservice for others to replicate?