<?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: API Add User with POST URL in ArcGIS Enterprise Portal Questions</title>
    <link>https://community.esri.com/t5/arcgis-enterprise-portal-questions/api-add-user-with-post-url/m-p/1321118#M13941</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/711355"&gt;@Amagaad&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;Are you trying to create a user in Enterprise?&amp;nbsp; If so, use the &lt;A href="https://developers.arcgis.com/rest/enterprise-administration/portal/create-user.htm" target="_self"&gt;createUser&lt;/A&gt; command instead.&lt;/P&gt;</description>
    <pubDate>Tue, 22 Aug 2023 12:57:36 GMT</pubDate>
    <dc:creator>JakeSkinner</dc:creator>
    <dc:date>2023-08-22T12:57:36Z</dc:date>
    <item>
      <title>API Add User with POST URL</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-portal-questions/api-add-user-with-post-url/m-p/1321099#M13940</link>
      <description>&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;Our users sign in via enterprise.&lt;/P&gt;&lt;P&gt;I am trying to make use of the post api to add a user&lt;/P&gt;&lt;P&gt;&lt;A href="https://(site)/portal/sharing/rest/community/users/(username)/add" target="_blank"&gt;https://(site)/portal/sharing/rest/community/users/(username)/add&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I have tried various formats for the (username). &lt;A href="mailto:Joeblogs@domain," target="_blank"&gt;joeblogs@domain,&lt;/A&gt;&amp;nbsp;domain\joebloggs.&lt;/P&gt;&lt;P&gt;However every time I get the response 'User does not exist or is inaccessible'.&lt;/P&gt;&lt;P&gt;If I call the api to get the userinfo with &lt;A href="mailto:joebloggs@domain" target="_blank"&gt;joebloggs@domain&lt;/A&gt;&amp;nbsp;it works fine e.g.&lt;/P&gt;&lt;P&gt;&lt;A href="https://(site)/portal/sharing/rest/community/users/jobloggs@domain" target="_blank"&gt;https://(site)/portal/sharing/rest/community/users/jobloggs@domain&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Can anyone help advise? Is the post api add url incorrect?&lt;/P&gt;&lt;P&gt;Many thanks&lt;/P&gt;</description>
      <pubDate>Tue, 22 Aug 2023 12:28:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-portal-questions/api-add-user-with-post-url/m-p/1321099#M13940</guid>
      <dc:creator>Amagaad</dc:creator>
      <dc:date>2023-08-22T12:28:13Z</dc:date>
    </item>
    <item>
      <title>Re: API Add User with POST URL</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-portal-questions/api-add-user-with-post-url/m-p/1321118#M13941</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/711355"&gt;@Amagaad&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;Are you trying to create a user in Enterprise?&amp;nbsp; If so, use the &lt;A href="https://developers.arcgis.com/rest/enterprise-administration/portal/create-user.htm" target="_self"&gt;createUser&lt;/A&gt; command instead.&lt;/P&gt;</description>
      <pubDate>Tue, 22 Aug 2023 12:57:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-portal-questions/api-add-user-with-post-url/m-p/1321118#M13941</guid>
      <dc:creator>JakeSkinner</dc:creator>
      <dc:date>2023-08-22T12:57:36Z</dc:date>
    </item>
    <item>
      <title>Re: API Add User with POST URL</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-portal-questions/api-add-user-with-post-url/m-p/1546680#M15738</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/711355"&gt;@Amagaad&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;I guess you found the solution in the meantime but I am sharing my experience for others facing the same issue.&amp;nbsp;I faced it running a migration script of my users from SAML provider to OIDC one. Script was coded using Python API for ArcGIS and adding a&amp;nbsp;&lt;SPAN&gt;5-second sleep between processing each user solved this issue.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;time.sleep(5)&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;I guess as the error message is a bit misleading !&lt;/P&gt;</description>
      <pubDate>Tue, 08 Oct 2024 18:30:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-portal-questions/api-add-user-with-post-url/m-p/1546680#M15738</guid>
      <dc:creator>NicolasGIS</dc:creator>
      <dc:date>2024-10-08T18:30:54Z</dc:date>
    </item>
  </channel>
</rss>

