<?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: Publishing mxd file automatically using python  in ArcGIS Online Questions</title>
    <link>https://community.esri.com/t5/arcgis-online-questions/publishing-mxd-file-automatically-using-python/m-p/237138#M11725</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;oh, and just for giggles, I like this help idea:&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="http://pro.arcgis.com/en/pro-app/tool-reference/tool-errors-and-warnings/001001-010000/tool-errors-and-warnings-01401-01425-001404.htm" title="http://pro.arcgis.com/en/pro-app/tool-reference/tool-errors-and-warnings/001001-010000/tool-errors-and-warnings-01401-01425-001404.htm"&gt;001404: You are not signed in to ArcGIS Online.—Help | ArcGIS Desktop&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/357951_pastedImage_2.png" style="width: 620px; height: 277px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/happy.png" /&gt;&amp;nbsp;&lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/happy.png" /&gt;&amp;nbsp;&lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 20 Jun 2017 21:48:51 GMT</pubDate>
    <dc:creator>AdrianWelsh</dc:creator>
    <dc:date>2017-06-20T21:48:51Z</dc:date>
    <item>
      <title>Publishing mxd file automatically using python</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/publishing-mxd-file-automatically-using-python/m-p/237136#M11723</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;Hello&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;I have ARC 10.3 in my desktop . I am trying to publish mxd file automatically using python script , i used similar code posted in this thread. But it is showing error , unless i signed in manually through the ARCmap, it wont publish the map. The error is as follows&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;ExecuteError: Failed to execute. Parameters are not valid.&lt;BR /&gt;ERROR 000732: Server: Dataset My Hosted Services does not exist or is not supported&lt;BR /&gt;WARNING 001404: You are not signed in to ArcGIS Online.&lt;BR /&gt;Failed to execute (UploadServiceDefinition).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Jun 2017 20:32:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/publishing-mxd-file-automatically-using-python/m-p/237136#M11723</guid>
      <dc:creator>PhiliposMelake</dc:creator>
      <dc:date>2017-06-20T20:32:23Z</dc:date>
    </item>
    <item>
      <title>Re: Publishing mxd file automatically using python</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/publishing-mxd-file-automatically-using-python/m-p/237137#M11724</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Philipos,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you post which thread you are referring to that had the existing Python code?&lt;/P&gt;&lt;P&gt;Was it perhaps this one:&amp;nbsp;&lt;A href="https://community.esri.com/thread/70227"&gt;Python and Publishing to AGO for Organisations and My Hosted Services does not exist&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;(if not, take a look).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Some info: Take a look at the Esri support error message article on your error message:&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="http://support.esri.com/technical-article/000010149" title="http://support.esri.com/technical-article/000010149"&gt;Error: 000732: Dataset does not exist or is not supported&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And then maybe take a look at this thread which has some coding ideas to get around this error:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/thread/146645"&gt;ERROR 000732 View does not exist or unsupported after 10.3 upgrade&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;One more thread to look at about signing into ArcGIS Online:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/thread/187734-warning-001404-you-are-not-signed-in-to-arcgis-online"&gt;https://community.esri.com/thread/187734-warning-001404-you-are-not-signed-in-to-arcgis-online&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Jun 2017 21:47:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/publishing-mxd-file-automatically-using-python/m-p/237137#M11724</guid>
      <dc:creator>AdrianWelsh</dc:creator>
      <dc:date>2017-06-20T21:47:48Z</dc:date>
    </item>
    <item>
      <title>Re: Publishing mxd file automatically using python</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/publishing-mxd-file-automatically-using-python/m-p/237138#M11725</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;oh, and just for giggles, I like this help idea:&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="http://pro.arcgis.com/en/pro-app/tool-reference/tool-errors-and-warnings/001001-010000/tool-errors-and-warnings-01401-01425-001404.htm" title="http://pro.arcgis.com/en/pro-app/tool-reference/tool-errors-and-warnings/001001-010000/tool-errors-and-warnings-01401-01425-001404.htm"&gt;001404: You are not signed in to ArcGIS Online.—Help | ArcGIS Desktop&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/357951_pastedImage_2.png" style="width: 620px; height: 277px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/happy.png" /&gt;&amp;nbsp;&lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/happy.png" /&gt;&amp;nbsp;&lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Jun 2017 21:48:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/publishing-mxd-file-automatically-using-python/m-p/237138#M11725</guid>
      <dc:creator>AdrianWelsh</dc:creator>
      <dc:date>2017-06-20T21:48:51Z</dc:date>
    </item>
    <item>
      <title>Re: Publishing mxd file automatically using python</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/publishing-mxd-file-automatically-using-python/m-p/237139#M11726</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Howdy Adrian&lt;/P&gt;&lt;P&gt;I was referring to this thread&amp;nbsp;&lt;A href="https://community.esri.com/thread/70855"&gt;https://community.esri.com/thread/70855&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to publish a &amp;nbsp;map document to AGOL every 12 hrs by setting &amp;nbsp;up the python code to task schedule. &amp;nbsp;The mxd map gets published but this only happens if i am only signed in acrmap. &amp;nbsp;The problem is after some time the arcmap signs out and unless i sign in back manually ,when i try to publish it shows error mentioned in the original question.&lt;/P&gt;&lt;P&gt;&amp;nbsp;The code i am using is posted in the above thread. Is there some way to stay signed in for ever or a python script to sign in in to ArcMAp&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Jun 2017 22:30:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/publishing-mxd-file-automatically-using-python/m-p/237139#M11726</guid>
      <dc:creator>PhiliposMelake</dc:creator>
      <dc:date>2017-06-20T22:30:34Z</dc:date>
    </item>
  </channel>
</rss>

