How do I add new members to enterprise portal via SAML using ArcGIS API for Python? I know that in the Python API code has the gis.users.create method to add new members, but it requires password. There is a way to add members manually by uploading a csv file via SAML. To automate it, I want to put it in a script. Is there a login script to use built-in identity or SAML?
There's an example script in Python: https://enterprise.arcgis.com/de/portal/10.5/administer/windows/example-add-members-to-the-portal.ht...
You can try this out or use the Batch Script of Esri "CreateUsers.bat" but you need a .csv or .txt file with member usernames, e-mail, license type but no password. You can find the Batch Skript at <Portal for ArcGIS installation location>\tools\accountmanagement. You just have to execute the .bat file and give the location of your text file as a parameter.