<?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 Configure ArcGIS Enteprise Idp with Python for Arcgis in ArcGIS API for Python Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-python-questions/configure-arcgis-enteprise-idp-with-python-for/m-p/772489#M785</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to configure ArcGIS Enteprise IDP with Python for Arcgis but I am facing an issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The following code to create the Idp is failing:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;from arcgis.gis.admin import AGOLAdminManager&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;#ent_gis being my ArcGIS Enterprise GIS instance of GIS class&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AGOLAdminManager(ent_gis).idp.configuration = {&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;'name': 'IDP Account',&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;'idpMetadataFile' : 'C:/Temp/federationmetadata.xml',&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;'entityId': "portal.company.com.geoportal",&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;'signUpMode': 'Automatic',&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;'encryptionSupported': False,&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;'supportSignedRequest': False,&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;'useSHA256': False,&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;'supportsLogoutRequest': False,&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;'updateProfileAtSignin': True,&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;'updateGroupsAtSignin': True&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="" style="color: #b22b31; font-weight: bold;"&gt;JSONDecodeError&lt;/SPAN&gt;: Expecting value: line 1 column 1 (char 0)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I create IDP manually, the command works because then in that case it would&amp;nbsp;update the properties.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the documentation it is stated for the configuration property of the identityprovidermanager class &lt;BR /&gt;"Gets, updates, or Adds a SAML provider", so I believe it should also be able initialize it:&lt;/P&gt;&lt;PRE style="color: #000000; background-color: #ffffff; border: 0px; font-size: 14px; padding: 1px 0px;"&gt;&lt;A class="link-titled" href="https://developers.arcgis.com/python/api-reference/arcgis.gis.admin.html#identityprovidermanager" title="https://developers.arcgis.com/python/api-reference/arcgis.gis.admin.html#identityprovidermanager"&gt;arcgis.gis.admin module — arcgis 1.8.2 documentation&lt;/A&gt;&amp;nbsp;&lt;/PRE&gt;&lt;P&gt;&lt;BR /&gt;I wonder if it could be related to the fact that when&amp;nbsp;IDP is not configured on the portal,&lt;BR /&gt;&lt;A class="unlinked"&gt;https://&lt;SPAN style="color: #3d3d3d;"&gt;portal.company.com/&lt;/SPAN&gt;geoportal/sharing/portals/self/idp?f=json returns 200 but no JSON. Just a guess.&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any idea what I am doing wrong ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 31 Oct 2020 08:12:28 GMT</pubDate>
    <dc:creator>NicolasGIS</dc:creator>
    <dc:date>2020-10-31T08:12:28Z</dc:date>
    <item>
      <title>Configure ArcGIS Enteprise Idp with Python for Arcgis</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/configure-arcgis-enteprise-idp-with-python-for/m-p/772489#M785</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to configure ArcGIS Enteprise IDP with Python for Arcgis but I am facing an issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The following code to create the Idp is failing:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;from arcgis.gis.admin import AGOLAdminManager&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;#ent_gis being my ArcGIS Enterprise GIS instance of GIS class&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AGOLAdminManager(ent_gis).idp.configuration = {&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;'name': 'IDP Account',&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;'idpMetadataFile' : 'C:/Temp/federationmetadata.xml',&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;'entityId': "portal.company.com.geoportal",&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;'signUpMode': 'Automatic',&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;'encryptionSupported': False,&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;'supportSignedRequest': False,&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;'useSHA256': False,&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;'supportsLogoutRequest': False,&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;'updateProfileAtSignin': True,&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;'updateGroupsAtSignin': True&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="" style="color: #b22b31; font-weight: bold;"&gt;JSONDecodeError&lt;/SPAN&gt;: Expecting value: line 1 column 1 (char 0)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I create IDP manually, the command works because then in that case it would&amp;nbsp;update the properties.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the documentation it is stated for the configuration property of the identityprovidermanager class &lt;BR /&gt;"Gets, updates, or Adds a SAML provider", so I believe it should also be able initialize it:&lt;/P&gt;&lt;PRE style="color: #000000; background-color: #ffffff; border: 0px; font-size: 14px; padding: 1px 0px;"&gt;&lt;A class="link-titled" href="https://developers.arcgis.com/python/api-reference/arcgis.gis.admin.html#identityprovidermanager" title="https://developers.arcgis.com/python/api-reference/arcgis.gis.admin.html#identityprovidermanager"&gt;arcgis.gis.admin module — arcgis 1.8.2 documentation&lt;/A&gt;&amp;nbsp;&lt;/PRE&gt;&lt;P&gt;&lt;BR /&gt;I wonder if it could be related to the fact that when&amp;nbsp;IDP is not configured on the portal,&lt;BR /&gt;&lt;A class="unlinked"&gt;https://&lt;SPAN style="color: #3d3d3d;"&gt;portal.company.com/&lt;/SPAN&gt;geoportal/sharing/portals/self/idp?f=json returns 200 but no JSON. Just a guess.&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any idea what I am doing wrong ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 31 Oct 2020 08:12:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/configure-arcgis-enteprise-idp-with-python-for/m-p/772489#M785</guid>
      <dc:creator>NicolasGIS</dc:creator>
      <dc:date>2020-10-31T08:12:28Z</dc:date>
    </item>
  </channel>
</rss>

