Select to view content in your preferred language

CoreHost connect to ArcGIS Online feature service Geodatabase doesn't work

269
0
09-09-2022 08:03 AM
MichaelSnook
Frequent Contributor

Hi All,

In a CoreHost/standalone app, I'm trying to connect to a feature service geodatabase that is in our ArcGIS Online account.  This works fine if I am the one calling the console app (while logged into a machine with Pro on it)  assuming that it's using my ArcGIS Pro account information.  However, if I attempt to run this using a service account user it does not work.  I've used the example here:

https://pro.arcgis.com/en/pro-app/latest/sdk/api-reference/topic25964.html

..to try and authenticate when accessing an ArcGIS online feature service URL (@ services1.arcgis.com) but the console app doesn't attempt to enter the authentication.  

Please note, that this seems to work fine when accessing an on-premesis portal feature service using the service account user (using Scheduled Tasks).

Any help would be great!

Thanks!

0 Kudos
0 Replies