<?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: Custom print service with embedded credentials  for token secured services from ArcGIS Pro to a standalone ArcGIS Server site in ArcGIS Enterprise Questions</title>
    <link>https://community.esri.com/t5/arcgis-enterprise-questions/custom-print-service-with-embedded-credentials-for/m-p/1251837#M34982</link>
    <description>&lt;P&gt;Strangely enough, they just released a patch yesterday (like 3-4 hrs after I asked this question) that resolved the issue for us!!&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 26 Jan 2023 13:40:27 GMT</pubDate>
    <dc:creator>dd_dev</dc:creator>
    <dc:date>2023-01-26T13:40:27Z</dc:date>
    <item>
      <title>Custom print service with embedded credentials  for token secured services from ArcGIS Pro to a standalone ArcGIS Server site</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/custom-print-service-with-embedded-credentials-for/m-p/1181742#M33313</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We have a standalone ArcGIS Server site. Recently we have upgraded from 10.5.1 to to 10.9.1 and migrated services from ArcMap to ArcGIS Pro.&lt;/P&gt;&lt;P&gt;We have a custom print service which works with our token secured services and for simplicity we initially published from ArcMap as we have done previously using embedded credentials:&amp;nbsp;&lt;A href="https://enterprise.arcgis.com/en/server/latest/publish-services/windows/printing-maps-that-contain-secured-services.htm" target="_blank"&gt;https://enterprise.arcgis.com/en/server/latest/publish-services/windows/printing-maps-that-contain-secured-services.htm&lt;/A&gt;&amp;nbsp;This works fine.&lt;/P&gt;&lt;P&gt;We would now like to migrate this custom print service to one published from ArcGIS Pro, so we will be able to update the site in the future to versions that don't support ArcMap publishing. I've followed the sample here:&amp;nbsp;&lt;A href="https://support.esri.com/en/technical-article/000026010" target="_blank"&gt;https://support.esri.com/en/technical-article/000026010&lt;/A&gt;&amp;nbsp; which appeared to work in ArcGIS Pro, but when I publish to ArcGIS Server and execute the tool, for any secure services I get the error:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Unable to complete operation.&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;Error executing tool. Export Web Map Task : Failed to create layer from service at &lt;A href="https://xxxxx/arcgis/rest/services/xxxxx/MapServer" target="_blank"&gt;https://xxxxx/arcgis/rest/services/xxxxx/MapServer&lt;/A&gt;. Failed to execute (Export Web Map). Failed to execute (Export Web Map Task).&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;The documentation for&amp;nbsp;arcpy.ImportCredentials states this is for&amp;nbsp;nontoken-based secured services:&amp;nbsp;&lt;A href="https://pro.arcgis.com/en/pro-app/2.8/arcpy/functions/importcredentials.htm" target="_blank"&gt;https://pro.arcgis.com/en/pro-app/2.8/arcpy/functions/importcredentials.htm&lt;/A&gt;&amp;nbsp; is this the reason for the error? - does anyone know of an alternative for token-based secured services or is something else going on?&lt;/P&gt;&lt;P&gt;I said above that the custom print appeared to work in ArcGIS Pro - it does create a PNG with the secured services, but I now think it's not getting it's permissions for doing this from the .ags file via the python script.&amp;nbsp; If I set up a connection to the ArcGIS Server site in ArcGIS Pro it works but if I remove this, close the project, reopen it and rerun the script it asks for credentials for the secure service, so can't be accessing what it needs from the connection file accessed via&amp;nbsp;arcpy.ImportCredentials.&lt;/P&gt;&lt;P&gt;I'm stumped - any suggestions gratefully received!&lt;/P&gt;</description>
      <pubDate>Fri, 10 Jun 2022 09:30:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/custom-print-service-with-embedded-credentials-for/m-p/1181742#M33313</guid>
      <dc:creator>AndyMarchant</dc:creator>
      <dc:date>2022-06-10T09:30:55Z</dc:date>
    </item>
    <item>
      <title>Re: Custom print service with embedded credentials  for token secured services from ArcGIS Pro to a standalone ArcGIS Server site</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/custom-print-service-with-embedded-credentials-for/m-p/1251400#M34975</link>
      <description>&lt;P&gt;Did you ever resolve this issue? I'm having the exact same problem.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 25 Jan 2023 16:54:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/custom-print-service-with-embedded-credentials-for/m-p/1251400#M34975</guid>
      <dc:creator>dd_dev</dc:creator>
      <dc:date>2023-01-25T16:54:40Z</dc:date>
    </item>
    <item>
      <title>Re: Custom print service with embedded credentials  for token secured services from ArcGIS Pro to a standalone ArcGIS Server site</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/custom-print-service-with-embedded-credentials-for/m-p/1251793#M34980</link>
      <description>&lt;P&gt;No, I've been meaning to contact ESRI support as we need to solve this to move away from ArcMap - will post if it get resolved&lt;/P&gt;</description>
      <pubDate>Thu, 26 Jan 2023 09:46:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/custom-print-service-with-embedded-credentials-for/m-p/1251793#M34980</guid>
      <dc:creator>AndyMarchant2</dc:creator>
      <dc:date>2023-01-26T09:46:10Z</dc:date>
    </item>
    <item>
      <title>Re: Custom print service with embedded credentials  for token secured services from ArcGIS Pro to a standalone ArcGIS Server site</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/custom-print-service-with-embedded-credentials-for/m-p/1251837#M34982</link>
      <description>&lt;P&gt;Strangely enough, they just released a patch yesterday (like 3-4 hrs after I asked this question) that resolved the issue for us!!&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 26 Jan 2023 13:40:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/custom-print-service-with-embedded-credentials-for/m-p/1251837#M34982</guid>
      <dc:creator>dd_dev</dc:creator>
      <dc:date>2023-01-26T13:40:27Z</dc:date>
    </item>
    <item>
      <title>Re: Custom print service with embedded credentials  for token secured services from ArcGIS Pro to a standalone ArcGIS Server site</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/custom-print-service-with-embedded-credentials-for/m-p/1252314#M34996</link>
      <description>&lt;P&gt;spooky - installed the patch and it's working for us too&lt;/P&gt;</description>
      <pubDate>Fri, 27 Jan 2023 13:31:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/custom-print-service-with-embedded-credentials-for/m-p/1252314#M34996</guid>
      <dc:creator>AndyMarchant2</dc:creator>
      <dc:date>2023-01-27T13:31:46Z</dc:date>
    </item>
    <item>
      <title>Re: Custom print service with embedded credentials  for token secured services from ArcGIS Pro to a standalone ArcGIS Server site</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/custom-print-service-with-embedded-credentials-for/m-p/1395759#M38968</link>
      <description>&lt;P&gt;Hello to all,&lt;/P&gt;&lt;P&gt;I'm having the same issue on AG Server 10.9.1, and couldn't resolve it with installing mentioned patch.&lt;/P&gt;&lt;P&gt;Did anyone managed to overcome it after implementing all common suggestions (including parameters with .ags file, installing patch, using compatible Pro/Server)?&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Thu, 14 Mar 2024 11:54:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/custom-print-service-with-embedded-credentials-for/m-p/1395759#M38968</guid>
      <dc:creator>StefanStamenković</dc:creator>
      <dc:date>2024-03-14T11:54:48Z</dc:date>
    </item>
  </channel>
</rss>

