<?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 Re: Creating new user via ArcGIS API for Python in ArcGIS API for Python Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-python-questions/creating-new-user-via-arcgis-api-for-python/m-p/1143551#M7116</link>
    <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;I had the same issue and could solve it by setting the &lt;STRONG&gt;New Member Defaults&lt;/STRONG&gt;. You find them on your ArcGIS Online Account under &lt;EM&gt;Organisation &amp;gt; Settings &amp;gt; New Member Defaults&lt;/EM&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 14 Feb 2022 11:54:05 GMT</pubDate>
    <dc:creator>pajamas</dc:creator>
    <dc:date>2022-02-14T11:54:05Z</dc:date>
    <item>
      <title>Creating new user via ArcGIS API for Python</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/creating-new-user-via-arcgis-api-for-python/m-p/723101#M143</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey all,&amp;nbsp;&lt;/P&gt;&lt;P&gt;i am trying to automate the creation of named users on arcgis online. I am basically using the code from the example notebooks. And it always fails&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/482408_pastedImage_1.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the gis object is created with an administrator connection, and i tested it with version 1.7.0 as well, same error. So, my question would be, is there any way to get a more detailed response from the api, like the actual response of the rest call or something? Or in general, what am i doing wrong here?&lt;/P&gt;&lt;P&gt;Thanks for your input.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Feb 2020 06:56:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/creating-new-user-via-arcgis-api-for-python/m-p/723101#M143</guid>
      <dc:creator>PhilippeRieffel1</dc:creator>
      <dc:date>2020-02-18T06:56:05Z</dc:date>
    </item>
    <item>
      <title>Re: Creating new user via ArcGIS API for Python</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/creating-new-user-via-arcgis-api-for-python/m-p/723102#M144</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you provide a bit more of the preceeding code to give a bit more context so we can see where you create the GIS object?&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Feb 2020 13:54:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/creating-new-user-via-arcgis-api-for-python/m-p/723102#M144</guid>
      <dc:creator>WilliamCraft</dc:creator>
      <dc:date>2020-02-18T13:54:21Z</dc:date>
    </item>
    <item>
      <title>Re: Creating new user via ArcGIS API for Python</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/creating-new-user-via-arcgis-api-for-python/m-p/723103#M145</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey William, thanks for taking the time to look at my problems&lt;/P&gt;&lt;P&gt;The gis object is created as follows:&lt;BR /&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/482505_pastedImage_2.png" /&gt;&lt;/P&gt;&lt;P&gt;I tried the gis.user, but i am pretty sure, that users is correct, because the API Reference lists the create() method as a method of the user-manager class (users) and not the user class. See&amp;nbsp;&lt;A class="link-titled" href="https://developers.arcgis.com/python/api-reference/arcgis.gis.toc.html#arcgis.gis.UserManager.create" title="https://developers.arcgis.com/python/api-reference/arcgis.gis.toc.html#arcgis.gis.UserManager.create"&gt;arcgis.gis module&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-2 jive-image" src="https://community.esri.com/legacyfs/online/482516_pastedImage_4.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So from my point of view, the method/syntax is correct, but it does not work....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Feb 2020 14:02:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/creating-new-user-via-arcgis-api-for-python/m-p/723103#M145</guid>
      <dc:creator>PhilippeRieffel1</dc:creator>
      <dc:date>2020-02-18T14:02:40Z</dc:date>
    </item>
    <item>
      <title>Re: Creating new user via ArcGIS API for Python</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/creating-new-user-via-arcgis-api-for-python/m-p/723104#M146</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, your syntax does appear to be correct.&amp;nbsp; Can you remove all of the parameters in your create command that follow the&amp;nbsp;&lt;EM&gt;role&lt;/EM&gt;&lt;EM&gt;='org_user'&lt;/EM&gt; portion?&amp;nbsp; You might try trimming that section down a bit to get to the bare minimum parameters required for creating a user.&amp;nbsp; It's possible that some of those parameters don't apply to AGOL; only to Portal.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Feb 2020 14:09:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/creating-new-user-via-arcgis-api-for-python/m-p/723104#M146</guid>
      <dc:creator>WilliamCraft</dc:creator>
      <dc:date>2020-02-18T14:09:04Z</dc:date>
    </item>
    <item>
      <title>Re: Creating new user via ArcGIS API for Python</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/creating-new-user-via-arcgis-api-for-python/m-p/723105#M147</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Also, according to the documentation, the required&amp;nbsp;&lt;EM&gt;user_type&lt;/EM&gt; parameter value must either be 'creator' or 'viewer'.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Feb 2020 14:35:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/creating-new-user-via-arcgis-api-for-python/m-p/723105#M147</guid>
      <dc:creator>WilliamCraft</dc:creator>
      <dc:date>2020-02-18T14:35:33Z</dc:date>
    </item>
    <item>
      <title>Re: Creating new user via ArcGIS API for Python</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/creating-new-user-via-arcgis-api-for-python/m-p/723106#M148</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Unfortunately, that did not work&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/482526_pastedImage_1.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Feb 2020 15:21:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/creating-new-user-via-arcgis-api-for-python/m-p/723106#M148</guid>
      <dc:creator>PhilippeRieffel1</dc:creator>
      <dc:date>2020-02-18T15:21:18Z</dc:date>
    </item>
    <item>
      <title>Re: Creating new user via ArcGIS API for Python</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/creating-new-user-via-arcgis-api-for-python/m-p/723107#M149</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Changing the user_type to 'Creator' did not change anything&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Feb 2020 15:22:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/creating-new-user-via-arcgis-api-for-python/m-p/723107#M149</guid>
      <dc:creator>PhilippeRieffel1</dc:creator>
      <dc:date>2020-02-18T15:22:15Z</dc:date>
    </item>
    <item>
      <title>Re: Creating new user via ArcGIS API for Python</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/creating-new-user-via-arcgis-api-for-python/m-p/723108#M150</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Interesting.&amp;nbsp; And you're absolutely sure there isn't already a user in AGOL named 'DemoUser'?&amp;nbsp; If not, I'm out of ideas.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Feb 2020 15:44:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/creating-new-user-via-arcgis-api-for-python/m-p/723108#M150</guid>
      <dc:creator>WilliamCraft</dc:creator>
      <dc:date>2020-02-18T15:44:21Z</dc:date>
    </item>
    <item>
      <title>Re: Creating new user via ArcGIS API for Python</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/creating-new-user-via-arcgis-api-for-python/m-p/723109#M151</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It looks like the API reference is actually wrong here. It states the username needs to be unique&amp;nbsp;in&amp;nbsp;&lt;EM&gt;Portal&lt;/EM&gt;, but in my experience for AGOL it needs to be unique not only for the active AGOL environment but for &lt;EM&gt;all environments&lt;/EM&gt;.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I ran into the same&amp;nbsp;issue in an AGOL environment with only a single user. With the above procedure I couldn't create a user with the username "username" (arbitrary, 6-24 characters). Changing the username to "username_SOMETHING" made it work for me.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is reproducible creating a user by administrating AGOL through a browser and browsing to organization/users - creating a username that exists outside the active AGOL environment is impossible (username already exists).&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Jul 2020 09:03:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/creating-new-user-via-arcgis-api-for-python/m-p/723109#M151</guid>
      <dc:creator>HuubZwart</dc:creator>
      <dc:date>2020-07-07T09:03:00Z</dc:date>
    </item>
    <item>
      <title>Re: Creating new user via ArcGIS API for Python</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/creating-new-user-via-arcgis-api-for-python/m-p/1057860#M6061</link>
      <description>&lt;P&gt;Did you find a solution to your problem? I am having the same exact issue, I have tried everything and I can't get it to work. Would really appreciate your input!&lt;/P&gt;</description>
      <pubDate>Thu, 13 May 2021 21:42:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/creating-new-user-via-arcgis-api-for-python/m-p/1057860#M6061</guid>
      <dc:creator>JPGarCar</dc:creator>
      <dc:date>2021-05-13T21:42:36Z</dc:date>
    </item>
    <item>
      <title>Re: Creating new user via ArcGIS API for Python</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/creating-new-user-via-arcgis-api-for-python/m-p/1071403#M6257</link>
      <description>&lt;P&gt;I have the same problem and can't find a solution anywhere.&lt;/P&gt;&lt;P&gt;Updating and deleting an account works.&lt;/P&gt;</description>
      <pubDate>Wed, 23 Jun 2021 12:14:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/creating-new-user-via-arcgis-api-for-python/m-p/1071403#M6257</guid>
      <dc:creator>Fuentes</dc:creator>
      <dc:date>2021-06-23T12:14:28Z</dc:date>
    </item>
    <item>
      <title>Re: Creating new user via ArcGIS API for Python</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/creating-new-user-via-arcgis-api-for-python/m-p/1143551#M7116</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;I had the same issue and could solve it by setting the &lt;STRONG&gt;New Member Defaults&lt;/STRONG&gt;. You find them on your ArcGIS Online Account under &lt;EM&gt;Organisation &amp;gt; Settings &amp;gt; New Member Defaults&lt;/EM&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 14 Feb 2022 11:54:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/creating-new-user-via-arcgis-api-for-python/m-p/1143551#M7116</guid>
      <dc:creator>pajamas</dc:creator>
      <dc:date>2022-02-14T11:54:05Z</dc:date>
    </item>
    <item>
      <title>Re: Creating new user via ArcGIS API for Python</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/creating-new-user-via-arcgis-api-for-python/m-p/1287283#M8671</link>
      <description>&lt;P&gt;I am running into the same issue now, but only in ArcGIS Online. However, in ArcGIS Pro, it works, but my version of Pro is a bit older, 1.8.1.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 09 May 2023 15:23:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/creating-new-user-via-arcgis-api-for-python/m-p/1287283#M8671</guid>
      <dc:creator>jorisfrenkel</dc:creator>
      <dc:date>2023-05-09T15:23:48Z</dc:date>
    </item>
    <item>
      <title>Re: Creating new user via ArcGIS API for Python</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/creating-new-user-via-arcgis-api-for-python/m-p/1548312#M10764</link>
      <description>&lt;P&gt;This solved my problem, thank you so much!&lt;/P&gt;</description>
      <pubDate>Sun, 13 Oct 2024 17:07:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/creating-new-user-via-arcgis-api-for-python/m-p/1548312#M10764</guid>
      <dc:creator>NicoleHuang1</dc:creator>
      <dc:date>2024-10-13T17:07:37Z</dc:date>
    </item>
    <item>
      <title>Re: Creating new user via ArcGIS API for Python</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/creating-new-user-via-arcgis-api-for-python/m-p/1602591#M11295</link>
      <description>&lt;P&gt;Ran into this same issue as well. What I found was I was out of "Creator" roles in my hub organization and that was causing the creation of new users to be created. When I checked my user defaults and modified the default role to something else, I was good to go&lt;/P&gt;</description>
      <pubDate>Thu, 03 Apr 2025 23:17:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/creating-new-user-via-arcgis-api-for-python/m-p/1602591#M11295</guid>
      <dc:creator>AFackler_NAPSG</dc:creator>
      <dc:date>2025-04-03T23:17:42Z</dc:date>
    </item>
  </channel>
</rss>

