<?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 Re: How to Register DataBase (DataStore) with Federated ArcGIS Server? in ArcGIS Enterprise Questions</title>
    <link>https://community.esri.com/t5/arcgis-enterprise-questions/how-to-register-database-datastore-with-federated/m-p/470518#M18172</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;It sounds as though you are encountering a known defect: "BUG-000116672:&amp;nbsp;Trying to register a database with a federated ArcGIS Server 10.6.1, configured with Integrated Windows Authentication (IWA), redirects to the login screen in ArcGIS Server Manager."&amp;nbsp; You can subscribe to this defect &lt;A href="https://support.esri.com/en/bugs/nimbus/QlVHLTAwMDExNjY3Mg=="&gt;here&lt;/A&gt;; doing so can help us understand the demand behind this bug.&amp;nbsp; As a workaround, you can use ArcGIS Desktop to register the database or manually registered the database at REST.&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;&lt;SPAN style="background-color: #ffffff; border: 0px; font-weight: inherit;"&gt;If you want to look further into this issue, I would recommend creating a case with &lt;A href="https://support.esri.com/en/"&gt;Technical Support&lt;/A&gt;.&amp;nbsp; If you need assistance getting in touch with Technical Support, please feel free to message me directly.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 18 Sep 2019 21:17:51 GMT</pubDate>
    <dc:creator>jill_es</dc:creator>
    <dc:date>2019-09-18T21:17:51Z</dc:date>
    <item>
      <title>How to Register DataBase (DataStore) with Federated ArcGIS Server?</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/how-to-register-database-datastore-with-federated/m-p/470517#M18171</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;H2 id="toc-hId-1708308942"&gt;Background&lt;/H2&gt;&lt;P&gt;I'm in the process of moving to new SQL Servers and migrating a bunch of SDE databases.&amp;nbsp;So I'm having to update lots of SDE references for map services, FME workbenches, projects. I'm noticing some confusing behavior when trying to register datastores (SQL Server databases) with a Federated ArcGIS Server (10.6). Wondering if it has to do with the way Portal/Enterprise handles Integrated Windows Authentication (IWA).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;H2 id="toc-hId--843848019"&gt;Steps taken&lt;/H2&gt;&lt;UL&gt;&lt;LI&gt;Tried&amp;nbsp;running ArcGIS Server Manager on my local machine - &lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;&lt;A class="unlinked" target="_blank"&gt;https://webadaptor.domain.com:6443/arcgis/manager&lt;/A&gt;&lt;/SPAN&gt;&amp;nbsp;- and&amp;nbsp;registering a new Managed Database by importing an existing .sde file that works everywhere else. As soon as I click 'Import', I'm bounced back to the login screen where no set of credentials will log me back in. Refreshing the page in the browser shows me as logged in.&lt;IMG __jive_id="459738" alt="" class="jive-emoji image-1 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/459738_ags_manager_login.png" /&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;If I try&amp;nbsp;&lt;SPAN style="color: #4c4c4c; background-color: #ffffff;"&gt;&lt;A href="https://gisserver.domain.com:6443/arcgis/manager," rel="nofollow noopener noreferrer" target="_blank"&gt;https://gisserver.domain.com:6443/arcgis/manager,&lt;/A&gt;&amp;nbsp;I get the following notification:&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="color: #4c4c4c; background-color: #ffffff;"&gt;&lt;IMG __jive_id="459755" alt="" class="jive-emoji jive-image image-3 j-img-original" src="https://community.esri.com/legacyfs/online/459755_unauthorized.png" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;When I tried the same on the actual ArcGIS Server machine, strangely, I was able to register one (1) new datastore in this manner. As soon as I&amp;nbsp;tried to register another, I got bounced back to the login screen as above.&lt;/LI&gt;&lt;LI&gt;When I try&amp;nbsp;it in ArcCatalog - make an admin&amp;nbsp;server connection to the federated server, then go to ArcGIS Server Properties - I can register new datastore without any issues by importing my .sde files. So for now, this is the only way to make this work. I imagine it can be done through Pro as well.&lt;IMG __jive_id="459739" alt="" class="jive-emoji jive-image image-2 j-img-original" src="https://community.esri.com/legacyfs/online/459739_arccatalog_server_props.png" /&gt;&lt;/LI&gt;&lt;LI&gt;I've also tried it using arcpy, but when I try the code below:&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;&lt;SPAN class="keyword token"&gt;import&lt;/SPAN&gt; arcpy
serverConn &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;&amp;lt;&lt;/SPAN&gt;path_to_my_current_DOT_AGS_file&lt;SPAN class="operator token"&gt;&amp;gt;&lt;/SPAN&gt;
sdeConn &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;&amp;lt;&lt;/SPAN&gt;path_to_my_DOT_sde_file&lt;SPAN class="operator token"&gt;&amp;gt;&lt;/SPAN&gt;

&lt;SPAN class="comment token"&gt;#AddDataStoreItem (connection_file, datastore_type, connection_name, server_path, {client_path}, {hostname})&lt;/SPAN&gt;
arcpy&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;AddDataStoreItem&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;serverConn&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;"DATABASE"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;"what_i_want_my_connection_to_be-called"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; sdeConn&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;‍‍‍‍‍‍‍‍‍‍‍‍&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;all I get is this error:&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;SPAN class="" style="color: #b22b31; font-weight: bold;"&gt;RuntimeError&lt;/SPAN&gt;: Cannot open AGS server connection.&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;H2 id="toc-hId-898962316"&gt;QUESTION:&amp;nbsp;&lt;/H2&gt;&lt;P&gt;Is any of this expected behavior? Is&amp;nbsp;IWA not working right? Why do I have to have privileges or am able to do it through the application but not in the browser?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 20:50:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/how-to-register-database-datastore-with-federated/m-p/470517#M18171</guid>
      <dc:creator>Arne_Gelfert</dc:creator>
      <dc:date>2021-12-11T20:50:07Z</dc:date>
    </item>
    <item>
      <title>Re: How to Register DataBase (DataStore) with Federated ArcGIS Server?</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/how-to-register-database-datastore-with-federated/m-p/470518#M18172</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;It sounds as though you are encountering a known defect: "BUG-000116672:&amp;nbsp;Trying to register a database with a federated ArcGIS Server 10.6.1, configured with Integrated Windows Authentication (IWA), redirects to the login screen in ArcGIS Server Manager."&amp;nbsp; You can subscribe to this defect &lt;A href="https://support.esri.com/en/bugs/nimbus/QlVHLTAwMDExNjY3Mg=="&gt;here&lt;/A&gt;; doing so can help us understand the demand behind this bug.&amp;nbsp; As a workaround, you can use ArcGIS Desktop to register the database or manually registered the database at REST.&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;&lt;SPAN style="background-color: #ffffff; border: 0px; font-weight: inherit;"&gt;If you want to look further into this issue, I would recommend creating a case with &lt;A href="https://support.esri.com/en/"&gt;Technical Support&lt;/A&gt;.&amp;nbsp; If you need assistance getting in touch with Technical Support, please feel free to message me directly.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Sep 2019 21:17:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/how-to-register-database-datastore-with-federated/m-p/470518#M18172</guid>
      <dc:creator>jill_es</dc:creator>
      <dc:date>2019-09-18T21:17:51Z</dc:date>
    </item>
    <item>
      <title>Re: How to Register DataBase (DataStore) with Federated ArcGIS Server?</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/how-to-register-database-datastore-with-federated/m-p/470519#M18173</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for pointing that out, Jill. Does the&amp;nbsp;bug include the issue with doing it through the Python API? Or any thoughts on why the code won't work with valid SDE and AGS files?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Sep 2019 16:37:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/how-to-register-database-datastore-with-federated/m-p/470519#M18173</guid>
      <dc:creator>Arne_Gelfert</dc:creator>
      <dc:date>2019-09-19T16:37:13Z</dc:date>
    </item>
    <item>
      <title>Re: How to Register DataBase (DataStore) with Federated ArcGIS Server?</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/how-to-register-database-datastore-with-federated/m-p/470520#M18174</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Unfortunately, the bug doesn't include any details regarding the Python API, though the behavior you're seeing may be related to the known bug.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Sep 2019 19:17:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/how-to-register-database-datastore-with-federated/m-p/470520#M18174</guid>
      <dc:creator>jill_es</dc:creator>
      <dc:date>2019-09-19T19:17:13Z</dc:date>
    </item>
  </channel>
</rss>

