<?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 SAML Identities are missing email value in response from /portal/self in ArcGIS Online Questions</title>
    <link>https://community.esri.com/t5/arcgis-online-questions/saml-identities-are-missing-email-value-in/m-p/258798#M12705</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A class="link-titled" href="https://enterprise.arcgis.com/en/portal/latest/administer/windows/use-integrated-windows-authentication-with-your-portal.htm" title="https://enterprise.arcgis.com/en/portal/latest/administer/windows/use-integrated-windows-authentication-with-your-portal.htm"&gt;Use Integrated Windows Authentication with your portal—Portal for ArcGIS | Documentation for ArcGIS Enterprise&lt;/A&gt;&amp;nbsp;We've run into a recent snare with the email fields of AGOL Identities coming back empty on identities created via a SAML integration.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Our OAUTH2 integration relies on the &lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;portal/self&lt;/SPAN&gt; endpoint to garner certain identifying information about the Identity during self registration, including the identity's email. But as mentioned, we're seeing a few cases when that property is empty. Here for example, is the response for a AGOL Organization Identity created via a Windows AD SAML integration, anonymized with dummy data to protect our customer.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"user": {&lt;BR /&gt; "username": "alice@domain.com_shortname",&lt;BR /&gt; "id": "ef7fe35ccaf148ce87c1d00eeeaec89c",&lt;BR /&gt; "fullName": "Alice Smith",&lt;BR /&gt; "firstName": "Alice",&lt;BR /&gt; "lastName": "Smith",&lt;BR /&gt; "preferredView": null,&lt;BR /&gt; "description": "WINAD-test-user",&lt;BR /&gt; &lt;STRONG&gt;"email": "",&lt;/STRONG&gt;&lt;BR /&gt; "userType": "both",&lt;BR /&gt; "idpUsername": "alice@domain.com",&lt;BR /&gt; "favGroupId": "a466ddf5b8d942779a95f60b85f39001",&lt;BR /&gt; "lastLogin": 1603741422000,&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This compared to the following responses from my Organizational user (Azure AD SAML), and another Public Identity used for testing (anonymized)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE class="j-table jiveBorder" style="border: 1px solid #c6c6c6;" width="100%"&gt;&lt;THEAD&gt;&lt;TR style="background-color: #efefef;"&gt;&lt;TH style="width: 46.2406%;"&gt;SAML User from Azure AD&lt;/TH&gt;&lt;TH style="width: 50.8772%;"&gt;Public&amp;nbsp;User&lt;/TH&gt;&lt;/TR&gt;&lt;/THEAD&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD style="width: 46.2406%;"&gt;&lt;P&gt;"user": {&lt;BR /&gt; "username": "phunter_Latitudegeo",&lt;BR /&gt; "id": "269cb6575e756ba993cb046a795d8e",&lt;BR /&gt; "fullName": "Paul Hunter",&lt;BR /&gt; "firstName": "Paul",&lt;BR /&gt; "lastName": "Hunter",&lt;BR /&gt; "preferredView": null,&lt;BR /&gt; "description": "",&lt;BR /&gt; &lt;STRONG&gt;"email": "phunter@latitudegeo.com",&lt;/STRONG&gt;&lt;BR /&gt; "userType": "both",&lt;BR /&gt; "idpUsername": "phunter",&lt;BR /&gt; "favGroupId": "58e4755056a54bfb4054e4baa1f175",&lt;BR /&gt; "lastLogin": 1603735829000,&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;/TD&gt;&lt;TD style="width: 50.8772%;"&gt;&lt;P&gt;"user": {&lt;BR /&gt; "username": "paulhunter",&lt;BR /&gt; "id": "095ae5b1b9edba9feaaf39e9362510",&lt;BR /&gt; "fullName": "Paul Hunter",&lt;BR /&gt; "firstName": "Paul",&lt;BR /&gt; "lastName": "Hunter",&lt;BR /&gt; "preferredView": null,&lt;BR /&gt; "description": null,&lt;BR /&gt; &lt;STRONG&gt;"email": "phunter@geocortex.com",&lt;/STRONG&gt;&lt;BR /&gt; "userType": "both",&lt;BR /&gt; "idpUsername": null,&lt;BR /&gt; "favGroupId": "98a97944a25941a4944830abd5a0b2",&lt;BR /&gt; "lastLogin": 1603745421000,&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone on the ArcGIS Online team confirm if this is expected behaviour for some Federated/SAML configurations, or perhaps a bug?&lt;BR /&gt;&lt;EM&gt;~ See amendment 2, some configuration documentation states email is not required although recommended.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Emails on identities connected via SAML can't be updated through the AGOL Portal, so presumably its referencing the identity providers records - perhaps if the &lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;mail&lt;/SPAN&gt; attribute was missing on the Windows AD User for example, then the email property from the self endpoint would also be empty?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Seperately, if the email is updated on the identity provider's side, does AGOL pickup on this update?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;~ Yes, if 'Update profiles on sign in' is turned on under Advanced Settings for the SAML Connector.&amp;nbsp;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;--Paul&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Amendment 1&lt;BR /&gt;- Customer does not see an email listed on their organization's user page (&lt;A href="https://shortname.maps.arcgis.com/home/user.html#settings"&gt;https://shortname.maps.arcgis.com/home/user.html#settings&lt;/A&gt;)&amp;nbsp;&lt;/P&gt;&lt;P&gt;- Customer confirms AGOL is integrated with a custom SAML provider - I suspect this is the source of the issue.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Amendment 2 - DYRTM?&lt;/P&gt;&lt;P&gt;- ArcGIS Online docs on ADFS setup suggest Email is optional in SAML configurations - "&lt;SPAN style="color: #4c4c4c; background-color: #ffffff;"&gt;It's recommended that you pass in the email address from the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="" style="color: #4c4c4c; background-color: #ffffff;"&gt;SAML&lt;/SPAN&gt;&lt;SPAN style="color: #4c4c4c; background-color: #ffffff;"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;IDP so the user can receive notifications" &lt;/SPAN&gt;&lt;SPAN style="color: #4c4c4c; background-color: #ffffff;"&gt;-&amp;nbsp;&lt;/SPAN&gt;&lt;A class="jivelink1" href="https://doc.arcgis.com/en/arcgis-online/administer/configure-adfs.htm" title="https://doc.arcgis.com/en/arcgis-online/administer/configure-adfs.htm"&gt;https://doc.arcgis.com/en/arcgis-online/administer/configure-adfs.htm&lt;/A&gt;, under Required Information, para 2.&amp;nbsp;&lt;BR /&gt;- Other SAML/Windows AD Configuration imply email is required through example. -&amp;nbsp;&lt;A class="jivelink2" href="https://doc.arcgis.com/en/arcgis-online/administer/saml-logins.htm" title="https://doc.arcgis.com/en/arcgis-online/administer/saml-logins.htm"&gt;https://doc.arcgis.com/en/arcgis-online/administer/saml-logins.htm&lt;/A&gt;&amp;nbsp;/&amp;nbsp;&lt;A class="jivelink6" href="https://enterprise.arcgis.com/en/portal/latest/administer/windows/use-integrated-windows-authentication-with-your-portal.htm" title="https://enterprise.arcgis.com/en/portal/latest/administer/windows/use-integrated-windows-authentication-with-your-portal.htm"&gt;https://enterprise.arcgis.com/en/portal/latest/administer/windows/use-integrated-windows-authentication-with-your-portal.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;- SAML connectors have an advanced option 'Update profiles on sign in'.&amp;nbsp;This option, when enabled, would be a suitable fix for SAML identities created prior to a valid Email mapping being added, that later want to have an email associated.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 26 Oct 2020 21:12:01 GMT</pubDate>
    <dc:creator>Anonymous User</dc:creator>
    <dc:date>2020-10-26T21:12:01Z</dc:date>
    <item>
      <title>SAML Identities are missing email value in response from /portal/self</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/saml-identities-are-missing-email-value-in/m-p/258798#M12705</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A class="link-titled" href="https://enterprise.arcgis.com/en/portal/latest/administer/windows/use-integrated-windows-authentication-with-your-portal.htm" title="https://enterprise.arcgis.com/en/portal/latest/administer/windows/use-integrated-windows-authentication-with-your-portal.htm"&gt;Use Integrated Windows Authentication with your portal—Portal for ArcGIS | Documentation for ArcGIS Enterprise&lt;/A&gt;&amp;nbsp;We've run into a recent snare with the email fields of AGOL Identities coming back empty on identities created via a SAML integration.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Our OAUTH2 integration relies on the &lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;portal/self&lt;/SPAN&gt; endpoint to garner certain identifying information about the Identity during self registration, including the identity's email. But as mentioned, we're seeing a few cases when that property is empty. Here for example, is the response for a AGOL Organization Identity created via a Windows AD SAML integration, anonymized with dummy data to protect our customer.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"user": {&lt;BR /&gt; "username": "alice@domain.com_shortname",&lt;BR /&gt; "id": "ef7fe35ccaf148ce87c1d00eeeaec89c",&lt;BR /&gt; "fullName": "Alice Smith",&lt;BR /&gt; "firstName": "Alice",&lt;BR /&gt; "lastName": "Smith",&lt;BR /&gt; "preferredView": null,&lt;BR /&gt; "description": "WINAD-test-user",&lt;BR /&gt; &lt;STRONG&gt;"email": "",&lt;/STRONG&gt;&lt;BR /&gt; "userType": "both",&lt;BR /&gt; "idpUsername": "alice@domain.com",&lt;BR /&gt; "favGroupId": "a466ddf5b8d942779a95f60b85f39001",&lt;BR /&gt; "lastLogin": 1603741422000,&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This compared to the following responses from my Organizational user (Azure AD SAML), and another Public Identity used for testing (anonymized)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE class="j-table jiveBorder" style="border: 1px solid #c6c6c6;" width="100%"&gt;&lt;THEAD&gt;&lt;TR style="background-color: #efefef;"&gt;&lt;TH style="width: 46.2406%;"&gt;SAML User from Azure AD&lt;/TH&gt;&lt;TH style="width: 50.8772%;"&gt;Public&amp;nbsp;User&lt;/TH&gt;&lt;/TR&gt;&lt;/THEAD&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD style="width: 46.2406%;"&gt;&lt;P&gt;"user": {&lt;BR /&gt; "username": "phunter_Latitudegeo",&lt;BR /&gt; "id": "269cb6575e756ba993cb046a795d8e",&lt;BR /&gt; "fullName": "Paul Hunter",&lt;BR /&gt; "firstName": "Paul",&lt;BR /&gt; "lastName": "Hunter",&lt;BR /&gt; "preferredView": null,&lt;BR /&gt; "description": "",&lt;BR /&gt; &lt;STRONG&gt;"email": "phunter@latitudegeo.com",&lt;/STRONG&gt;&lt;BR /&gt; "userType": "both",&lt;BR /&gt; "idpUsername": "phunter",&lt;BR /&gt; "favGroupId": "58e4755056a54bfb4054e4baa1f175",&lt;BR /&gt; "lastLogin": 1603735829000,&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;/TD&gt;&lt;TD style="width: 50.8772%;"&gt;&lt;P&gt;"user": {&lt;BR /&gt; "username": "paulhunter",&lt;BR /&gt; "id": "095ae5b1b9edba9feaaf39e9362510",&lt;BR /&gt; "fullName": "Paul Hunter",&lt;BR /&gt; "firstName": "Paul",&lt;BR /&gt; "lastName": "Hunter",&lt;BR /&gt; "preferredView": null,&lt;BR /&gt; "description": null,&lt;BR /&gt; &lt;STRONG&gt;"email": "phunter@geocortex.com",&lt;/STRONG&gt;&lt;BR /&gt; "userType": "both",&lt;BR /&gt; "idpUsername": null,&lt;BR /&gt; "favGroupId": "98a97944a25941a4944830abd5a0b2",&lt;BR /&gt; "lastLogin": 1603745421000,&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone on the ArcGIS Online team confirm if this is expected behaviour for some Federated/SAML configurations, or perhaps a bug?&lt;BR /&gt;&lt;EM&gt;~ See amendment 2, some configuration documentation states email is not required although recommended.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Emails on identities connected via SAML can't be updated through the AGOL Portal, so presumably its referencing the identity providers records - perhaps if the &lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;mail&lt;/SPAN&gt; attribute was missing on the Windows AD User for example, then the email property from the self endpoint would also be empty?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Seperately, if the email is updated on the identity provider's side, does AGOL pickup on this update?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;~ Yes, if 'Update profiles on sign in' is turned on under Advanced Settings for the SAML Connector.&amp;nbsp;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;--Paul&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Amendment 1&lt;BR /&gt;- Customer does not see an email listed on their organization's user page (&lt;A href="https://shortname.maps.arcgis.com/home/user.html#settings"&gt;https://shortname.maps.arcgis.com/home/user.html#settings&lt;/A&gt;)&amp;nbsp;&lt;/P&gt;&lt;P&gt;- Customer confirms AGOL is integrated with a custom SAML provider - I suspect this is the source of the issue.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Amendment 2 - DYRTM?&lt;/P&gt;&lt;P&gt;- ArcGIS Online docs on ADFS setup suggest Email is optional in SAML configurations - "&lt;SPAN style="color: #4c4c4c; background-color: #ffffff;"&gt;It's recommended that you pass in the email address from the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="" style="color: #4c4c4c; background-color: #ffffff;"&gt;SAML&lt;/SPAN&gt;&lt;SPAN style="color: #4c4c4c; background-color: #ffffff;"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;IDP so the user can receive notifications" &lt;/SPAN&gt;&lt;SPAN style="color: #4c4c4c; background-color: #ffffff;"&gt;-&amp;nbsp;&lt;/SPAN&gt;&lt;A class="jivelink1" href="https://doc.arcgis.com/en/arcgis-online/administer/configure-adfs.htm" title="https://doc.arcgis.com/en/arcgis-online/administer/configure-adfs.htm"&gt;https://doc.arcgis.com/en/arcgis-online/administer/configure-adfs.htm&lt;/A&gt;, under Required Information, para 2.&amp;nbsp;&lt;BR /&gt;- Other SAML/Windows AD Configuration imply email is required through example. -&amp;nbsp;&lt;A class="jivelink2" href="https://doc.arcgis.com/en/arcgis-online/administer/saml-logins.htm" title="https://doc.arcgis.com/en/arcgis-online/administer/saml-logins.htm"&gt;https://doc.arcgis.com/en/arcgis-online/administer/saml-logins.htm&lt;/A&gt;&amp;nbsp;/&amp;nbsp;&lt;A class="jivelink6" href="https://enterprise.arcgis.com/en/portal/latest/administer/windows/use-integrated-windows-authentication-with-your-portal.htm" title="https://enterprise.arcgis.com/en/portal/latest/administer/windows/use-integrated-windows-authentication-with-your-portal.htm"&gt;https://enterprise.arcgis.com/en/portal/latest/administer/windows/use-integrated-windows-authentication-with-your-portal.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;- SAML connectors have an advanced option 'Update profiles on sign in'.&amp;nbsp;This option, when enabled, would be a suitable fix for SAML identities created prior to a valid Email mapping being added, that later want to have an email associated.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Oct 2020 21:12:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/saml-identities-are-missing-email-value-in/m-p/258798#M12705</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2020-10-26T21:12:01Z</dc:date>
    </item>
  </channel>
</rss>

