<?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 Authentication retrying indefinitely after update to 300 in .NET Maps SDK Questions</title>
    <link>https://community.esri.com/t5/net-maps-sdk-questions/authentication-retrying-indefinitely-after-update/m-p/1703082#M13937</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I've tried to update ArcGIS Runtime to Version 300 today and noticed an issue:&lt;/P&gt;&lt;P&gt;When credential creation fails for a federated service, the challenge handler is called repeatedly without stopping.&lt;/P&gt;&lt;P&gt;I am aware of the new Error and PreviousFailureCount properties on CredentialRequestInfo. According to the description of PreviousFailureCount, authentication should be attempted at most five times for a single failed request. However, in my case, authentication continues indefinitely, and CredentialRequestInfo.PreviousFailureCount always remains 0 for the federated service.&lt;/P&gt;&lt;P&gt;The other request details are:&lt;BR /&gt;-&amp;nbsp;AuthenticationType: Token&lt;BR /&gt;- Error: A token or API key is required: A token or API key was not provided to access xyz&lt;/P&gt;&lt;P&gt;I create PregeneratedTokenCredential instances programmatically in a web service. If credential creation fails, indefinite authentication retries are a significant issue because they repeatedly call the web service.&lt;/P&gt;&lt;P&gt;I also noticed that, for federated services, CredentialRequestInfo.ServiceUri now contains the portal URL instead of the service URL. This is not the issue here though.&lt;/P&gt;&lt;P&gt;Am I doing something wrong, is this a Bug or expected behaviour?&lt;/P&gt;&lt;P&gt;Best regards,&lt;BR /&gt;Tim&lt;/P&gt;</description>
    <pubDate>Wed, 20 May 2026 12:00:27 GMT</pubDate>
    <dc:creator>TimScheiber</dc:creator>
    <dc:date>2026-05-20T12:00:27Z</dc:date>
    <item>
      <title>Authentication retrying indefinitely after update to 300</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/authentication-retrying-indefinitely-after-update/m-p/1703082#M13937</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I've tried to update ArcGIS Runtime to Version 300 today and noticed an issue:&lt;/P&gt;&lt;P&gt;When credential creation fails for a federated service, the challenge handler is called repeatedly without stopping.&lt;/P&gt;&lt;P&gt;I am aware of the new Error and PreviousFailureCount properties on CredentialRequestInfo. According to the description of PreviousFailureCount, authentication should be attempted at most five times for a single failed request. However, in my case, authentication continues indefinitely, and CredentialRequestInfo.PreviousFailureCount always remains 0 for the federated service.&lt;/P&gt;&lt;P&gt;The other request details are:&lt;BR /&gt;-&amp;nbsp;AuthenticationType: Token&lt;BR /&gt;- Error: A token or API key is required: A token or API key was not provided to access xyz&lt;/P&gt;&lt;P&gt;I create PregeneratedTokenCredential instances programmatically in a web service. If credential creation fails, indefinite authentication retries are a significant issue because they repeatedly call the web service.&lt;/P&gt;&lt;P&gt;I also noticed that, for federated services, CredentialRequestInfo.ServiceUri now contains the portal URL instead of the service URL. This is not the issue here though.&lt;/P&gt;&lt;P&gt;Am I doing something wrong, is this a Bug or expected behaviour?&lt;/P&gt;&lt;P&gt;Best regards,&lt;BR /&gt;Tim&lt;/P&gt;</description>
      <pubDate>Wed, 20 May 2026 12:00:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/authentication-retrying-indefinitely-after-update/m-p/1703082#M13937</guid>
      <dc:creator>TimScheiber</dc:creator>
      <dc:date>2026-05-20T12:00:27Z</dc:date>
    </item>
  </channel>
</rss>

