<?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: WARNING 001404: You are not signed in to ArcGIS Online in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/warning-001404-you-are-not-signed-in-to-arcgis/m-p/754714#M58196</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am running into the same problem where I get an error message stating I am not logged into ArcGIS Online.&lt;/P&gt;&lt;P&gt;I think I got it to work by leaving a blank map instance open that is logged into ArcGIS Online.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then because its open it wont log you out and it technically is logged in because you logged in manually.&lt;/P&gt;&lt;P&gt;I know this might be cumbersome but its what I got to work.&lt;/P&gt;&lt;P&gt;I will just leave an instance of ArcMap open Monday night when the updates will happen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this helps!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 07 Jun 2017 17:35:54 GMT</pubDate>
    <dc:creator>GISDepartment9</dc:creator>
    <dc:date>2017-06-07T17:35:54Z</dc:date>
    <item>
      <title>WARNING 001404: You are not signed in to ArcGIS Online</title>
      <link>https://community.esri.com/t5/python-questions/warning-001404-you-are-not-signed-in-to-arcgis/m-p/754707#M58189</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a Python script that is run as a scheduled task every night. &amp;nbsp;It updates a service definition on AGOL using arcpy.UploadServiceDefinition_server. &amp;nbsp;When I first set this up, we had ArcMap 10.4 and Server 10.2. &amp;nbsp;To get around needing to be signed in to ArcGIS Online, I would sign into AGOL through ArcMap and just never sign out. &amp;nbsp;This got around the fact that&amp;nbsp;arcpy.SignInToPortal_server no longer worked. &amp;nbsp;Recently, we upgraded Server to 10.4, so that all versions are the same. &amp;nbsp;Now, ArcMap automatically signs you out of AGOL every day, so when the script runs, it throws the error that you aren't signed in and the service definition never gets updated. &amp;nbsp;Is there any work around to this? &amp;nbsp;What is different about the Server being upgraded to 10.4 that made the change? &amp;nbsp;Any help is appreciated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Dec 2016 18:50:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/warning-001404-you-are-not-signed-in-to-arcgis/m-p/754707#M58189</guid>
      <dc:creator>CynthiaKozma</dc:creator>
      <dc:date>2016-12-20T18:50:21Z</dc:date>
    </item>
    <item>
      <title>Re: WARNING 001404: You are not signed in to ArcGIS Online</title>
      <link>https://community.esri.com/t5/python-questions/warning-001404-you-are-not-signed-in-to-arcgis/m-p/754708#M58190</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Does &lt;SPAN style="font-family: courier new,courier,monospace;"&gt;arcpy.SignInToPortal_server&lt;/SPAN&gt; work now that everything has been upgraded to 10.4.x?&amp;nbsp; If not, what exactly isn't working with &lt;SPAN style="font-family: courier new,courier,monospace;"&gt;arcpy.SignInToPortal_server&lt;/SPAN&gt; ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Dec 2016 19:33:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/warning-001404-you-are-not-signed-in-to-arcgis/m-p/754708#M58190</guid>
      <dc:creator>JoshuaBixby</dc:creator>
      <dc:date>2016-12-20T19:33:42Z</dc:date>
    </item>
    <item>
      <title>Re: WARNING 001404: You are not signed in to ArcGIS Online</title>
      <link>https://community.esri.com/t5/python-questions/warning-001404-you-are-not-signed-in-to-arcgis/m-p/754709#M58191</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have read that after 10.2, this is no longer valid code, and the only way to sign on is to manually go to File --- Sign In. &amp;nbsp;Before, I would do this and it would keep me signed in as long as I didn't sign out. &amp;nbsp;Now, it automatically signs me out as soon as ArcMap is closed. &amp;nbsp;This doesn't help with scripts run from scheduled tasks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Dec 2016 20:05:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/warning-001404-you-are-not-signed-in-to-arcgis/m-p/754709#M58191</guid>
      <dc:creator>CynthiaKozma</dc:creator>
      <dc:date>2016-12-20T20:05:23Z</dc:date>
    </item>
    <item>
      <title>Re: WARNING 001404: You are not signed in to ArcGIS Online</title>
      <link>https://community.esri.com/t5/python-questions/warning-001404-you-are-not-signed-in-to-arcgis/m-p/754710#M58192</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Where did you read that?&amp;nbsp; I am interested because &lt;SPAN style="font-family: courier new,courier,monospace;"&gt;arcpy.SignInToPortal_server&lt;/SPAN&gt;&amp;nbsp;still exists in ArcGIS 10.5.&amp;nbsp; I don't understand why it would be included 3 versions after it isn't valid.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Dec 2016 20:16:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/warning-001404-you-are-not-signed-in-to-arcgis/m-p/754710#M58192</guid>
      <dc:creator>JoshuaBixby</dc:creator>
      <dc:date>2016-12-20T20:16:47Z</dc:date>
    </item>
    <item>
      <title>Re: WARNING 001404: You are not signed in to ArcGIS Online</title>
      <link>https://community.esri.com/t5/python-questions/warning-001404-you-are-not-signed-in-to-arcgis/m-p/754711#M58193</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Really?? &amp;nbsp;If it still works that would be great. &amp;nbsp;These are the things that I have found.....&lt;/P&gt;&lt;P&gt;This is from one google question/answer:&lt;/P&gt;&lt;P&gt;&lt;EM style="background-color: #ffffff; color: #222222; font-size: 14px;"&gt;The {AGOL_Username} and the {AGOL_Password} Catalog Keys are used in conjunction with the arcpy.SignInToPortal_server function. Nevertheless, for ArcGIS 10.2 (and later) users, it could be necessary to comment out this part of the script as below:&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; background-color: #ffffff; font-size: 14px;"&gt;And from the ArcGIS for Desktop Sign In to Portal help file:&lt;/SPAN&gt;&lt;/P&gt;&lt;H5 class="" style="color: #4d4d4d; font-weight: 500; font-size: 0.875rem; margin: 0px 0px 0.63158em; padding: 0px 1rem 0px 0.5em;"&gt;&lt;EM&gt;Legacy:&lt;/EM&gt;&lt;/H5&gt;&lt;DIV class="" style="color: #4d4d4d; padding: 0px 0.5em;"&gt;&lt;P style="font-size: 0.875rem; margin-top: 0em; margin-bottom: 1.71429em;"&gt;&lt;EM&gt;Signing in to ArcGIS Online or Portal for ArcGIS through &lt;SPAN class=""&gt;ArcGIS for Desktop&lt;/SPAN&gt; has changed in the &lt;SPAN class=""&gt;ArcGIS for Desktop&lt;/SPAN&gt; 10.2 release. You may receive Warning 1561 when executing this tool. If you receive this message you cannot use the Sign In To Portal tool to authenticate, but must sign in to ArcGIS Online or Portal by clicking &lt;SPAN class="" style="font-weight: bold;"&gt;File &lt;SPAN class=""&gt;&amp;gt;&lt;/SPAN&gt; Sign In&lt;/SPAN&gt;. See &lt;A href="http://desktop.arcgis.com/en/arcmap/10.3/map/web-maps-and-services/signing-into-arcgis-online-in-arcgis-for-desktop.htm" style="color: #007ac2;"&gt;Signing in to ArcGIS Online in &lt;SPAN class=""&gt;ArcGIS for Desktop&lt;/SPAN&gt; applications&lt;/A&gt; for more information.&lt;/EM&gt;&lt;/P&gt;&lt;P style="font-size: 0.875rem; margin-top: 0em; margin-bottom: 1.71429em;"&gt;And last one:&lt;/P&gt;&lt;P style="font-size: 0.875rem; margin-top: 0em; margin-bottom: 1.71429em;"&gt;&lt;EM style="background-color: #ffffff; color: #333333;"&gt;At 10.2, significant enhancements were made to server security. To run this code at 10.2, comment out the arcpy.SignInToPortal_server() line (line 21). At 10.2, sign in information is obtained from the ArcMap File &amp;gt; Sign In dialog&lt;/EM&gt;&lt;/P&gt;&lt;P style="font-size: 0.875rem; margin-top: 0em; margin-bottom: 1.71429em;"&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Dec 2016 20:33:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/warning-001404-you-are-not-signed-in-to-arcgis/m-p/754711#M58193</guid>
      <dc:creator>CynthiaKozma</dc:creator>
      <dc:date>2016-12-20T20:33:40Z</dc:date>
    </item>
    <item>
      <title>Re: WARNING 001404: You are not signed in to ArcGIS Online</title>
      <link>https://community.esri.com/t5/python-questions/warning-001404-you-are-not-signed-in-to-arcgis/m-p/754712#M58194</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You have to love the wiggle room, "You may receive Warning 1651...."&amp;nbsp; So, the tool &lt;SPAN style="text-decoration: underline;"&gt;may&lt;/SPAN&gt; work, just not likely.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Unfortunately, our organizational workflows don't rely on this function, so I don't have anything more to add.&amp;nbsp; I guess the real interesting question is why are you being automatically signed out every day, and is there anything you can do about it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Good luck.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Dec 2016 20:41:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/warning-001404-you-are-not-signed-in-to-arcgis/m-p/754712#M58194</guid>
      <dc:creator>JoshuaBixby</dc:creator>
      <dc:date>2016-12-20T20:41:45Z</dc:date>
    </item>
    <item>
      <title>Re: WARNING 001404: You are not signed in to ArcGIS Online</title>
      <link>https://community.esri.com/t5/python-questions/warning-001404-you-are-not-signed-in-to-arcgis/m-p/754713#M58195</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I liked that "may" part as well. &amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can't figure out why it won't stay signed in, but I will keep looking around. &amp;nbsp;Thanks for your help!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Dec 2016 20:53:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/warning-001404-you-are-not-signed-in-to-arcgis/m-p/754713#M58195</guid>
      <dc:creator>CynthiaKozma</dc:creator>
      <dc:date>2016-12-20T20:53:29Z</dc:date>
    </item>
    <item>
      <title>Re: WARNING 001404: You are not signed in to ArcGIS Online</title>
      <link>https://community.esri.com/t5/python-questions/warning-001404-you-are-not-signed-in-to-arcgis/m-p/754714#M58196</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am running into the same problem where I get an error message stating I am not logged into ArcGIS Online.&lt;/P&gt;&lt;P&gt;I think I got it to work by leaving a blank map instance open that is logged into ArcGIS Online.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then because its open it wont log you out and it technically is logged in because you logged in manually.&lt;/P&gt;&lt;P&gt;I know this might be cumbersome but its what I got to work.&lt;/P&gt;&lt;P&gt;I will just leave an instance of ArcMap open Monday night when the updates will happen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this helps!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Jun 2017 17:35:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/warning-001404-you-are-not-signed-in-to-arcgis/m-p/754714#M58196</guid>
      <dc:creator>GISDepartment9</dc:creator>
      <dc:date>2017-06-07T17:35:54Z</dc:date>
    </item>
    <item>
      <title>Re: WARNING 001404: You are not signed in to ArcGIS Online</title>
      <link>https://community.esri.com/t5/python-questions/warning-001404-you-are-not-signed-in-to-arcgis/m-p/754715#M58197</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I tried to get around it by having a bat first open catalog then run my script. I had checked the sign me in automatically in the File&amp;gt;Sign In but for some reason it doesn't always work. There needs to be an arcpy equivalent for the tools esri is pushing out. I can easily open Pro and run Overwrite Web Layer but it's a manual process. It is unbelievable that esri is trying so hard to move everyone to hosted data but then wants me to reverse engineer tools they already have written for Pro. Is a simple arcpy.OverwriteWebLayer() too much to ask for?&amp;nbsp; Why is everything esri does half-baked nowadays?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Sep 2017 13:17:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/warning-001404-you-are-not-signed-in-to-arcgis/m-p/754715#M58197</guid>
      <dc:creator>ScottStopyak</dc:creator>
      <dc:date>2017-09-18T13:17:22Z</dc:date>
    </item>
    <item>
      <title>Re: WARNING 001404: You are not signed in to ArcGIS Online</title>
      <link>https://community.esri.com/t5/python-questions/warning-001404-you-are-not-signed-in-to-arcgis/m-p/754716#M58198</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="https://github.com/arcpy/update-hosted-feature-service/blob/master/update.py"&gt;https://github.com/arcpy/update-hosted-feature-service/blob/master/update.py&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We implemented this for our AGOL org account and it's still running just fine to update&amp;nbsp;various Service Definition&amp;nbsp;items (although we're migrating these off hosted more and more).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To compliment the AGOLHandler class we also employed the setttings.ini and base64 into the scripts to provide a little bit of security (it really just removes transparency and not really a complete secure solution) and does just fine for logging in/out of AGOL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://blogs.esri.com/esri/arcgis/2014/01/24/updating-your-hosted-feature-service-for-10-2/"&gt;https://blogs.esri.com/esri/arcgis/2014/01/24/updating-your-hosted-feature-service-for-10-2/&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Sep 2017 14:13:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/warning-001404-you-are-not-signed-in-to-arcgis/m-p/754716#M58198</guid>
      <dc:creator>JamesCrandall</dc:creator>
      <dc:date>2017-09-18T14:13:15Z</dc:date>
    </item>
    <item>
      <title>Re: WARNING 001404: You are not signed in to ArcGIS Online</title>
      <link>https://community.esri.com/t5/python-questions/warning-001404-you-are-not-signed-in-to-arcgis/m-p/754717#M58199</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks! I’ll try it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Sep 2017 17:07:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/warning-001404-you-are-not-signed-in-to-arcgis/m-p/754717#M58199</guid>
      <dc:creator>ScottStopyak</dc:creator>
      <dc:date>2017-09-18T17:07:11Z</dc:date>
    </item>
    <item>
      <title>Re: WARNING 001404: You are not signed in to ArcGIS Online</title>
      <link>https://community.esri.com/t5/python-questions/warning-001404-you-are-not-signed-in-to-arcgis/m-p/754718#M58200</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I ran into similar issues with a Python Script uploading to ArcGIS Online. &amp;nbsp;All I was getting was a 000732: Server: Dataset My Hosted Services does not exist or is not supported error. &amp;nbsp;After ESRI Support (which is normally really really good) had pretty much dead ended on any insights, I found this thread. &amp;nbsp;I logged in to ArcGIS Online via Desktop, reran the scripts that were giving the error, and voila... no more problems. &amp;nbsp;Thanks for posting this!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Sep 2017 19:02:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/warning-001404-you-are-not-signed-in-to-arcgis/m-p/754718#M58200</guid>
      <dc:creator>ChuckBenton</dc:creator>
      <dc:date>2017-09-28T19:02:08Z</dc:date>
    </item>
  </channel>
</rss>

