Select to view content in your preferred language

How to automate a sync with our Employee DB and Portal Users

450
1
03-08-2023 10:00 AM
Labels (1)
TomasL44
Emerging Contributor

Hello,

We have a need to add all of our employees as portal (Enterprise 11.0) users. I was hoping to automate a weekly sync between our HR Employee database and portal. My thought is to list all Portal users and compare it to the HR Employee list.  Add the new ones, remove any that are no longer employees. I was hoping to use FME to do this. I have gotten as far as to list out users and conduct the comparison but i am running into issues on how to update Portal with users to add/delete. 

Any help would be appreciated. 

0 Kudos
1 Reply
sxw_eaglegis
Esri Contributor

I think the best approach would be to use a python caller in FME and use the ArcGIS python API to add/remove users as needed - https://developers.arcgis.com/python/guide/accessing-and-managing-users

Was there a reason for not integrating your ArcGIS Enterprise site directly with your organisation identity store? e.g. https://enterprise.arcgis.com/en/portal/latest/administer/linux/about-configuring-portal-authenticat... 

0 Kudos