<?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 API REST - GenerateToken with windows authentification in ArcGIS REST APIs and Services Questions</title>
    <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/api-rest-generatetoken-with-windows/m-p/455115#M2140</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;I am trying to use generateToken with my arcgis portal.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have two accounts :&amp;nbsp;&lt;/P&gt;&lt;P&gt;Account1 : user/password&lt;/P&gt;&lt;P&gt;Account2 : windows authentification&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I use the endpoint https://arcgisportal/portal/sharing/rest/generateToken with account1 (user/password), it generates me a valide token and it works fine&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But I can not generate a token for my windows account, it indicates me that the username or password is invalid.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you know where is the problem ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 17 Apr 2020 13:30:00 GMT</pubDate>
    <dc:creator>HamzaBoudemia</dc:creator>
    <dc:date>2020-04-17T13:30:00Z</dc:date>
    <item>
      <title>API REST - GenerateToken with windows authentification</title>
      <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/api-rest-generatetoken-with-windows/m-p/455115#M2140</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;I am trying to use generateToken with my arcgis portal.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have two accounts :&amp;nbsp;&lt;/P&gt;&lt;P&gt;Account1 : user/password&lt;/P&gt;&lt;P&gt;Account2 : windows authentification&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I use the endpoint https://arcgisportal/portal/sharing/rest/generateToken with account1 (user/password), it generates me a valide token and it works fine&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But I can not generate a token for my windows account, it indicates me that the username or password is invalid.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you know where is the problem ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Apr 2020 13:30:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/api-rest-generatetoken-with-windows/m-p/455115#M2140</guid>
      <dc:creator>HamzaBoudemia</dc:creator>
      <dc:date>2020-04-17T13:30:00Z</dc:date>
    </item>
    <item>
      <title>Re: API REST - GenerateToken with windows authentification</title>
      <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/api-rest-generatetoken-with-windows/m-p/455116#M2141</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Bonjour,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;p, si quelqu'un a déjà rencontré ce genre de problèmes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Merci d'avance&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 May 2020 09:21:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/api-rest-generatetoken-with-windows/m-p/455116#M2141</guid>
      <dc:creator>HamzaBoudemia</dc:creator>
      <dc:date>2020-05-18T09:21:00Z</dc:date>
    </item>
    <item>
      <title>Re: API REST - GenerateToken with windows authentification</title>
      <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/api-rest-generatetoken-with-windows/m-p/455117#M2142</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="margin: 0in; font-size: 11.0pt;"&gt;Hello &lt;A href="https://community.esri.com/migrated-users/401778"&gt;Hamza Boudemia&lt;/A&gt;,&lt;/P&gt;&lt;P style="margin: 0in; font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="margin: 0in; font-size: 11.0pt;"&gt;The Windows account should be able to generate a token.&amp;nbsp; Portal's identity store has to be updated to use Windows accounts and the account needs be added as a member to Portal.&amp;nbsp; If the account is not added as a member you would receive the "Invalid username or password" error.&lt;/P&gt;&lt;P style="margin: 0in; font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="margin: 0in; font-size: 11.0pt;"&gt;Otherwise, it is likely that the username or password is incorrect.&amp;nbsp; The username needs to include the domain for Windows accounts.&amp;nbsp; Providing the username without the domain will return the "Invalid username or password" error.&amp;nbsp; The username can be formatted as DOMAIN\username or username@DOMAIN. &lt;/P&gt;&lt;P style="margin: 0in; font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="margin: 0in; font-size: 11.0pt;"&gt;Best,&lt;/P&gt;&lt;P style="margin: 0in; font-size: 11.0pt;"&gt;TJ&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Jun 2020 20:14:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/api-rest-generatetoken-with-windows/m-p/455117#M2142</guid>
      <dc:creator>TJSimons</dc:creator>
      <dc:date>2020-06-11T20:14:02Z</dc:date>
    </item>
  </channel>
</rss>

