<?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 Get an access token with Integrated Windows Authentication in ArcGIS Enterprise Questions</title>
    <link>https://community.esri.com/t5/arcgis-enterprise-questions/get-an-access-token-with-integrated-windows/m-p/1681061#M43732</link>
    <description>&lt;P&gt;I have an Enterprise environment that is configured for both ArcGIS logins, and&amp;nbsp;Integrated Windows Authentication (IWA).&lt;/P&gt;&lt;P&gt;Now, I have written a console application written in .NET, that uses the ArcGIS REST API. It will be run by a user (i.e. &lt;EM&gt;not&lt;/EM&gt; as a scheduled task), and I would like to log in automatically, using the currently logged in user's identity.&amp;nbsp;&lt;/P&gt;&lt;P&gt;My question is: How can I get an access token? The &lt;A href="https://developers.arcgis.com/documentation/security-and-authentication/user-authentication/flows/#enterprise-flows" target="_self"&gt;documentation&lt;/A&gt; on IWA says:&amp;nbsp;&lt;EM&gt;This method manages user login through Microsoft Windows Active Directory and the user typically manually enters their username + password. &lt;/EM&gt;However, if I login manually in a browser, I only need to click on the button with my organization's name, without entering any credentials.This makes sense, because by definition, a user running the application is already logged in in Windows.&amp;nbsp;Is there a way to replicate this behavior?&lt;/P&gt;&lt;P&gt;The examples I found all use either OAuth, or have hard-coded credentials.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 30 Jan 2026 14:15:53 GMT</pubDate>
    <dc:creator>BerendVeldkamp</dc:creator>
    <dc:date>2026-01-30T14:15:53Z</dc:date>
    <item>
      <title>Get an access token with Integrated Windows Authentication</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/get-an-access-token-with-integrated-windows/m-p/1681061#M43732</link>
      <description>&lt;P&gt;I have an Enterprise environment that is configured for both ArcGIS logins, and&amp;nbsp;Integrated Windows Authentication (IWA).&lt;/P&gt;&lt;P&gt;Now, I have written a console application written in .NET, that uses the ArcGIS REST API. It will be run by a user (i.e. &lt;EM&gt;not&lt;/EM&gt; as a scheduled task), and I would like to log in automatically, using the currently logged in user's identity.&amp;nbsp;&lt;/P&gt;&lt;P&gt;My question is: How can I get an access token? The &lt;A href="https://developers.arcgis.com/documentation/security-and-authentication/user-authentication/flows/#enterprise-flows" target="_self"&gt;documentation&lt;/A&gt; on IWA says:&amp;nbsp;&lt;EM&gt;This method manages user login through Microsoft Windows Active Directory and the user typically manually enters their username + password. &lt;/EM&gt;However, if I login manually in a browser, I only need to click on the button with my organization's name, without entering any credentials.This makes sense, because by definition, a user running the application is already logged in in Windows.&amp;nbsp;Is there a way to replicate this behavior?&lt;/P&gt;&lt;P&gt;The examples I found all use either OAuth, or have hard-coded credentials.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 30 Jan 2026 14:15:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/get-an-access-token-with-integrated-windows/m-p/1681061#M43732</guid>
      <dc:creator>BerendVeldkamp</dc:creator>
      <dc:date>2026-01-30T14:15:53Z</dc:date>
    </item>
  </channel>
</rss>

