<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Automating User Creation in Enterprise from Active Directory with Python in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/automating-user-creation-in-enterprise-from-active/m-p/1395336#M70047</link>
    <description>&lt;DIV&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;SPAN&gt;Hi all,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;SPAN&gt;Can anyone speak on the subject of automating users with Active Directory? I am the sole manager of an ArcGIS enterprise environment and have been trying to automate our users with AD. So far I have a half built script that creates CSVs from our AD, creates dictionaries of users and then changes what groups the users are in based on an attribute in AD. My plan is to schedule this to just run daily so its pretty much always up to date with our AD. I am trying to make it so that the script looks at our list of users in portal and creates new users from AD who don't exist in the portal, but I can't find documentation on creating new users in bulk from a csv automated by python. To be clear I am trying to use the third option when creating new members: "Add members based on existing enterprise users." They already have usernames and password in AD. &lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
    <pubDate>Wed, 13 Mar 2024 15:51:15 GMT</pubDate>
    <dc:creator>chill_gis_dude</dc:creator>
    <dc:date>2024-03-13T15:51:15Z</dc:date>
    <item>
      <title>Automating User Creation in Enterprise from Active Directory with Python</title>
      <link>https://community.esri.com/t5/python-questions/automating-user-creation-in-enterprise-from-active/m-p/1395336#M70047</link>
      <description>&lt;DIV&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;SPAN&gt;Hi all,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;SPAN&gt;Can anyone speak on the subject of automating users with Active Directory? I am the sole manager of an ArcGIS enterprise environment and have been trying to automate our users with AD. So far I have a half built script that creates CSVs from our AD, creates dictionaries of users and then changes what groups the users are in based on an attribute in AD. My plan is to schedule this to just run daily so its pretty much always up to date with our AD. I am trying to make it so that the script looks at our list of users in portal and creates new users from AD who don't exist in the portal, but I can't find documentation on creating new users in bulk from a csv automated by python. To be clear I am trying to use the third option when creating new members: "Add members based on existing enterprise users." They already have usernames and password in AD. &lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 13 Mar 2024 15:51:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/automating-user-creation-in-enterprise-from-active/m-p/1395336#M70047</guid>
      <dc:creator>chill_gis_dude</dc:creator>
      <dc:date>2024-03-13T15:51:15Z</dc:date>
    </item>
    <item>
      <title>Re: Automating User Creation in Enterprise from Active Directory with Python</title>
      <link>https://community.esri.com/t5/python-questions/automating-user-creation-in-enterprise-from-active/m-p/1395426#M70048</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/441486"&gt;@chill_gis_dude&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;Take&amp;nbsp; a look at the following scripts &lt;A href="https://community.esri.com/t5/arcgis-enterprise-documents/migrate-built-in-named-user-accounts-to-enterprise/ta-p/1269974" target="_self"&gt;here&lt;/A&gt;.&amp;nbsp; The scripts won't accomplish exactly what you're looking to do, but should provide some guidance.&amp;nbsp; For example, here is the portion of code that creates the Enterprise account by reading information from a CSV file:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JakeSkinner_0-1710348996802.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/97897i5E975C8504FF9DBB/image-size/medium?v=v2&amp;amp;px=400" role="button" title="JakeSkinner_0-1710348996802.png" alt="JakeSkinner_0-1710348996802.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 13 Mar 2024 16:56:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/automating-user-creation-in-enterprise-from-active/m-p/1395426#M70048</guid>
      <dc:creator>JakeSkinner</dc:creator>
      <dc:date>2024-03-13T16:56:50Z</dc:date>
    </item>
    <item>
      <title>Re: Automating User Creation in Enterprise from Active Directory with Python</title>
      <link>https://community.esri.com/t5/python-questions/automating-user-creation-in-enterprise-from-active/m-p/1395571#M70049</link>
      <description>&lt;P&gt;Thank you Jake. This is really helpful. It seems like this whole process is a lot easier with SAML enabled&lt;/P&gt;</description>
      <pubDate>Wed, 13 Mar 2024 21:00:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/automating-user-creation-in-enterprise-from-active/m-p/1395571#M70049</guid>
      <dc:creator>chill_gis_dude</dc:creator>
      <dc:date>2024-03-13T21:00:36Z</dc:date>
    </item>
  </channel>
</rss>

