<?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 Problem with OAuth using gmail account in AGOL with enterprise login in .NET Maps SDK Questions</title>
    <link>https://community.esri.com/t5/net-maps-sdk-questions/problem-with-oauth-using-gmail-account-in-agol/m-p/193340#M2256</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm having a strange behavior with the authentification in Xamarin Forms.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When calling&amp;nbsp;AuthenticationManager.Current.GenerateCredentialAsync and trying to login in enterprise with an Gmail or Hotmail&amp;nbsp;address, I receive an&amp;nbsp;TaskCanceledException . The authentification doesn't event ask me a password.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I'm using my &lt;A href="mailto:User@compagnie.com"&gt;User@compagnie.com&lt;/A&gt;&amp;nbsp;it's working&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the Agol web site&amp;nbsp; I'm not having any trouble logging with my gmail Adrress (via enterprise connection)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My configuration&lt;/P&gt;&lt;P&gt;an Agol configure with Enterprise login (Federated AzureAD)&lt;/P&gt;&lt;P&gt;User added in AGOL with entrepriseID (not esri agol account)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can easyly be reproduce with&lt;/P&gt;&lt;P&gt;&amp;nbsp; arcgis-runtime-samples-dotnet ,&amp;nbsp;project&amp;nbsp;ArcGISRuntime.Xamarin.Forms.iOS&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;changre ServerUrl to&amp;nbsp;https://&amp;lt;YouAGOL&amp;gt;.maps.arcgis.com/sharing/rest&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;Change your AppClientId&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;is it normal or have i done something wrong&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 17 Dec 2019 20:11:23 GMT</pubDate>
    <dc:creator>BenoitQuenneville</dc:creator>
    <dc:date>2019-12-17T20:11:23Z</dc:date>
    <item>
      <title>Problem with OAuth using gmail account in AGOL with enterprise login</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/problem-with-oauth-using-gmail-account-in-agol/m-p/193340#M2256</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm having a strange behavior with the authentification in Xamarin Forms.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When calling&amp;nbsp;AuthenticationManager.Current.GenerateCredentialAsync and trying to login in enterprise with an Gmail or Hotmail&amp;nbsp;address, I receive an&amp;nbsp;TaskCanceledException . The authentification doesn't event ask me a password.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I'm using my &lt;A href="mailto:User@compagnie.com"&gt;User@compagnie.com&lt;/A&gt;&amp;nbsp;it's working&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the Agol web site&amp;nbsp; I'm not having any trouble logging with my gmail Adrress (via enterprise connection)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My configuration&lt;/P&gt;&lt;P&gt;an Agol configure with Enterprise login (Federated AzureAD)&lt;/P&gt;&lt;P&gt;User added in AGOL with entrepriseID (not esri agol account)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can easyly be reproduce with&lt;/P&gt;&lt;P&gt;&amp;nbsp; arcgis-runtime-samples-dotnet ,&amp;nbsp;project&amp;nbsp;ArcGISRuntime.Xamarin.Forms.iOS&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;changre ServerUrl to&amp;nbsp;https://&amp;lt;YouAGOL&amp;gt;.maps.arcgis.com/sharing/rest&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;Change your AppClientId&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;is it normal or have i done something wrong&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Dec 2019 20:11:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/problem-with-oauth-using-gmail-account-in-agol/m-p/193340#M2256</guid>
      <dc:creator>BenoitQuenneville</dc:creator>
      <dc:date>2019-12-17T20:11:23Z</dc:date>
    </item>
  </channel>
</rss>

