<?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 Calling Atlas Dev server from Python Azure Functions in ArcGIS API for Python Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-python-questions/calling-atlas-dev-server-from-python-azure/m-p/1236849#M8076</link>
    <description>&lt;P&gt;Hi, I have an Azure Function written in Python 3.9 that connects to an Atlas (v 10.9.1) dev server deployed on an Azure virtual machine.&lt;/P&gt;&lt;P&gt;My Azure Function connects to the GIS server and creates a new user with specific credentials if it does not find it there already.&lt;/P&gt;&lt;P&gt;My problem: this function works ok &lt;STRONG&gt;only&lt;/STRONG&gt; when it's in local debug mode (with Visual Studio Code).&lt;/P&gt;&lt;P&gt;Once the function is deployed to the cloud and it's triggered, I get the following error message:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="python"&gt;A connection error has occurred: HTTPSConnectionPool(host=&amp;lt;host_url_here&amp;gt;, port=443): Max retries exceeded with url: /gisportal/sharing/rest/info?f=json (Caused by NewConnectionError('&amp;lt;urllib3.connection.HTTPSConnection object at 0x7fe75deed5b0&amp;gt;: Failed to establish a new connection: [Errno -2] Name or service not known'))&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Does this mean that my function needs to first be authorised to access the server? And if so, how to do that?&lt;/P&gt;</description>
    <pubDate>Thu, 01 Dec 2022 16:31:31 GMT</pubDate>
    <dc:creator>FC1984</dc:creator>
    <dc:date>2022-12-01T16:31:31Z</dc:date>
    <item>
      <title>Calling Atlas Dev server from Python Azure Functions</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/calling-atlas-dev-server-from-python-azure/m-p/1236849#M8076</link>
      <description>&lt;P&gt;Hi, I have an Azure Function written in Python 3.9 that connects to an Atlas (v 10.9.1) dev server deployed on an Azure virtual machine.&lt;/P&gt;&lt;P&gt;My Azure Function connects to the GIS server and creates a new user with specific credentials if it does not find it there already.&lt;/P&gt;&lt;P&gt;My problem: this function works ok &lt;STRONG&gt;only&lt;/STRONG&gt; when it's in local debug mode (with Visual Studio Code).&lt;/P&gt;&lt;P&gt;Once the function is deployed to the cloud and it's triggered, I get the following error message:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="python"&gt;A connection error has occurred: HTTPSConnectionPool(host=&amp;lt;host_url_here&amp;gt;, port=443): Max retries exceeded with url: /gisportal/sharing/rest/info?f=json (Caused by NewConnectionError('&amp;lt;urllib3.connection.HTTPSConnection object at 0x7fe75deed5b0&amp;gt;: Failed to establish a new connection: [Errno -2] Name or service not known'))&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Does this mean that my function needs to first be authorised to access the server? And if so, how to do that?&lt;/P&gt;</description>
      <pubDate>Thu, 01 Dec 2022 16:31:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/calling-atlas-dev-server-from-python-azure/m-p/1236849#M8076</guid>
      <dc:creator>FC1984</dc:creator>
      <dc:date>2022-12-01T16:31:31Z</dc:date>
    </item>
  </channel>
</rss>

