Skip to main content
Question

Automating AGOL Feature Service Updates from PostGIS in FME Without User Credentials

  • March 11, 2025
  • 1 reply
  • 10 views

aawad.93
Contributor

I have a workspace in FME that reads data from a PostGIS database and updates a Feature Service in ArcGIS Online (AGOL). Since the PostGIS data is updated frequently, I use the ChangeDetector transformer to update only the modified features instead of overwriting the entire dataset (to avoid the "413 Request Entity Too Large" error).

Currently, each time I run the workspace, I need to enter my AGOL credentials. I want a solution where anyone in my organization can run the workspace, even if the Feature Service is not in their My Content.

What are the best ways to handle authentication in FME for AGOL updates?

  • Is there a way to store credentials securely for automation?
  • Can I use API keys or OAuth2 authentication?
  • How do I allow others to update the Feature Service without adding it to their My Content?

1 reply

hkingsbury
Celebrity
Forum|alt.badge.img+50
  • Celebrity
  • March 11, 2025

There are a few approaches, one i’d suggest would be having a ‘service’ account that is used by FME when interfacing with AGOL.

This account would need to have permissions to update the necessary feature services, most likely via group settings where items are shared to.

The AGOL account would then be setup in FME as a WebConnection and you can then use that to authenticate the ArcGIS Online Writer


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings