<?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: Is there a way to see the services properties of a arc server (federated with portal) using ArcGIS Python API 1.5.2? I am using python 3 for the same. in ArcGIS API for Python Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-python-questions/is-there-a-way-to-see-the-services-properties-of-a/m-p/843156#M3599</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't have access this morning to any federated GIS servers, so I can't test any code to respond to the first part of your question, but I will comment on:&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;whether they are getting utilized or not, if not can we delete them?&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;When you check whether a service is running, that only answers the question of whether a service is getting utilized &lt;SPAN style="text-decoration: underline;"&gt;at or shortly before you checked it&lt;/SPAN&gt;.&amp;nbsp; It is common for services, especially lower-usage ones, to have the minimum number of running instances set to zero.&amp;nbsp; If you check and a service isn't running, it really doesn't give you any information beyond was someone using that service at or shortly before you checked.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Monitoring utilization is much more involved than just checking whether a service is running once, it is about looking at information over time, and that is why Esri created ArcGIS Monitor.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 22 Jan 2019 13:39:02 GMT</pubDate>
    <dc:creator>JoshuaBixby</dc:creator>
    <dc:date>2019-01-22T13:39:02Z</dc:date>
    <item>
      <title>Is there a way to see the services properties of a arc server (federated with portal) using ArcGIS Python API 1.5.2? I am using python 3 for the same.</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/is-there-a-way-to-see-the-services-properties-of-a/m-p/843155#M3598</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I want to have a list of the services own by a specific owner and want to delete those Is there any way I can achieve that through python.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/434419_pastedImage_1.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was successfully able to access the services but is there any way to check their running instances , whether they are getting utilized or not, if not can we delete them?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Jan 2019 13:21:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/is-there-a-way-to-see-the-services-properties-of-a/m-p/843155#M3598</guid>
      <dc:creator>VaibhavSingh</dc:creator>
      <dc:date>2019-01-22T13:21:35Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a way to see the services properties of a arc server (federated with portal) using ArcGIS Python API 1.5.2? I am using python 3 for the same.</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/is-there-a-way-to-see-the-services-properties-of-a/m-p/843156#M3599</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't have access this morning to any federated GIS servers, so I can't test any code to respond to the first part of your question, but I will comment on:&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;whether they are getting utilized or not, if not can we delete them?&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;When you check whether a service is running, that only answers the question of whether a service is getting utilized &lt;SPAN style="text-decoration: underline;"&gt;at or shortly before you checked it&lt;/SPAN&gt;.&amp;nbsp; It is common for services, especially lower-usage ones, to have the minimum number of running instances set to zero.&amp;nbsp; If you check and a service isn't running, it really doesn't give you any information beyond was someone using that service at or shortly before you checked.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Monitoring utilization is much more involved than just checking whether a service is running once, it is about looking at information over time, and that is why Esri created ArcGIS Monitor.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Jan 2019 13:39:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/is-there-a-way-to-see-the-services-properties-of-a/m-p/843156#M3599</guid>
      <dc:creator>JoshuaBixby</dc:creator>
      <dc:date>2019-01-22T13:39:02Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a way to see the services properties of a arc server (federated with portal) using ArcGIS Python API 1.5.2? I am using python 3 for the same.</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/is-there-a-way-to-see-the-services-properties-of-a/m-p/843157#M3600</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the Information Joshua,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What about deleting it?&lt;/P&gt;&lt;P&gt;I am able to access the service but the delete command is not working on them&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" height="98" src="https://community.esri.com/legacyfs/online/435612_pastedImage_1.png" width="551" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The item is of type service, and I am getting the below error:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE style="color: #000000; background-color: #ffffff; border: 0px; font-size: 14px; padding: 1px 0px;"&gt;&lt;SPAN class="" style="color: #b22b31; font-weight: bold;"&gt;AttributeError&lt;/SPAN&gt;: 'Item' object has no attribute '_user_id'&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Jan 2019 13:20:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/is-there-a-way-to-see-the-services-properties-of-a/m-p/843157#M3600</guid>
      <dc:creator>VaibhavSingh</dc:creator>
      <dc:date>2019-01-23T13:20:11Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a way to see the services properties of a arc server (federated with portal) using ArcGIS Python API 1.5.2? I am using python 3 for the same.</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/is-there-a-way-to-see-the-services-properties-of-a/m-p/843158#M3601</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What happens if you pass the dry_run argument to the delete method, same error?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Jan 2019 15:19:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/is-there-a-way-to-see-the-services-properties-of-a/m-p/843158#M3601</guid>
      <dc:creator>JoshuaBixby</dc:creator>
      <dc:date>2019-01-23T15:19:45Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a way to see the services properties of a arc server (federated with portal) using ArcGIS Python API 1.5.2? I am using python 3 for the same.</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/is-there-a-way-to-see-the-services-properties-of-a/m-p/843159#M3602</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Joshua, while trying this it is giving the error that dry_run cannot be identified.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Jan 2019 09:25:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/is-there-a-way-to-see-the-services-properties-of-a/m-p/843159#M3602</guid>
      <dc:creator>VaibhavSingh</dc:creator>
      <dc:date>2019-01-24T09:25:01Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a way to see the services properties of a arc server (federated with portal) using ArcGIS Python API 1.5.2? I am using python 3 for the same.</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/is-there-a-way-to-see-the-services-properties-of-a/m-p/843160#M3603</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;layer_item.delete(dry_run=True)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this is giving me the same error :&lt;/P&gt;&lt;DIV class="" style="border: 1px solid #ababab; padding: 5px;"&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class="" style="color: #000000; padding: 0.4em;"&gt;&lt;PRE style="color: black; background-color: transparent; border: 0px; font-size: inherit; padding: 1px 0px;"&gt;type error: 'Item' object has no attribute '_user_id'&lt;/PRE&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class="" style="border: 1px solid transparent; padding: 5px;"&gt;&lt;DIV class=""&gt;&lt;DIV class="" style="color: #000000; background-color: #ffffff;"&gt;&lt;DIV class="" style="color: #303f9f; border-top: 1px solid transparent; padding: 0.4em;"&gt;In&amp;nbsp;[30]:&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class="" style="color: #000000; background-color: #ffffff;"&gt;&lt;DIV class="" style="background: #f7f7f7; border: 1px solid #cfcfcf;"&gt;&lt;DIV class="" style="color: black; background: none; font-size: 14px;"&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Jan 2019 13:11:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/is-there-a-way-to-see-the-services-properties-of-a/m-p/843160#M3603</guid>
      <dc:creator>VaibhavSingh</dc:creator>
      <dc:date>2019-01-31T13:11:21Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a way to see the services properties of a arc server (federated with portal) using ArcGIS Python API 1.5.2? I am using python 3 for the same.</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/is-there-a-way-to-see-the-services-properties-of-a/m-p/843161#M3604</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I can replicate the issue using our internal, federated GIS servers.&amp;nbsp; It really looks to be a defect to me, I would open a case with Esri Support.&amp;nbsp; I tried a couple of workarounds, but I keep getting the same error.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Jan 2019 15:55:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/is-there-a-way-to-see-the-services-properties-of-a/m-p/843161#M3604</guid>
      <dc:creator>JoshuaBixby</dc:creator>
      <dc:date>2019-01-31T15:55:48Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a way to see the services properties of a arc server (federated with portal) using ArcGIS Python API 1.5.2? I am using python 3 for the same.</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/is-there-a-way-to-see-the-services-properties-of-a/m-p/843162#M3605</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Joshua, please let me know if you find any other workaround for this.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Feb 2019 05:48:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/is-there-a-way-to-see-the-services-properties-of-a/m-p/843162#M3605</guid>
      <dc:creator>VaibhavSingh</dc:creator>
      <dc:date>2019-02-01T05:48:26Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a way to see the services properties of a arc server (federated with portal) using ArcGIS Python API 1.5.2? I am using python 3 for the same.</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/is-there-a-way-to-see-the-services-properties-of-a/m-p/843163#M3606</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Like you can't really delete the services on the federated servers in the portal web interface, you can't delete a service using&amp;nbsp;the GIS module in the ArcGIS Python API, Because, GIS module is the equivalent to your Web GIS (Portal or AGOL).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To delete a service, you mean manage the ArcGIS server, you need the following python modules:&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://esri.github.io/arcgis-python-api/apidoc/html/arcgis.gis.server.html#module-arcgis.gis.server" title="https://esri.github.io/arcgis-python-api/apidoc/html/arcgis.gis.server.html#module-arcgis.gis.server" rel="nofollow noopener noreferrer" target="_blank"&gt;arcgis.gis.server module — arcgis 1.5.2 documentation&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://esri.github.io/arcgis-python-api/apidoc/html/arcgis.gis.admin.html#arcgis-gis-admin-module" title="https://esri.github.io/arcgis-python-api/apidoc/html/arcgis.gis.admin.html#arcgis-gis-admin-module" rel="nofollow noopener noreferrer" target="_blank"&gt;arcgis.gis.admin module — arcgis 1.5.2 documentation&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I did a quick test in my environment, and it seems working fine:&lt;/P&gt;&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;from&lt;/SPAN&gt; arcgis&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;gis&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;server &lt;SPAN class="keyword token"&gt;import&lt;/SPAN&gt; Server

&lt;SPAN class="comment token"&gt;# this is NOT your portal url, it's your server admin url&lt;/SPAN&gt;
gis_server &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; Server&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;url&lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;"https://your_server_name:6443/arcgis/admin"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;username&lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;"site admin name"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;password&lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;"admin password"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;

service_manager &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; gis_server&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;services

&lt;SPAN class="comment token"&gt;# list the services in the test folder, make sure you see the service your want to delete&lt;/SPAN&gt;
test_services &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; service_manager&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;list&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;folder&lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;"test"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;
&lt;SPAN class="keyword token"&gt;print&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;test_services&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;

&lt;SPAN class="comment token"&gt;# for example, it's the 3rd item in the list&lt;/SPAN&gt;
test &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; test_services&lt;SPAN class="punctuation token"&gt;[&lt;/SPAN&gt;&lt;SPAN class="number token"&gt;2&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;]&lt;/SPAN&gt;

&lt;SPAN class="comment token"&gt;# this will work, and return "True"&lt;/SPAN&gt;
test&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;delete&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&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;/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;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;P&gt;&lt;/P&gt;&lt;P&gt;Please reference the aforementioned document to find the detailed the syntax for the construction of the Server instance&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 10:19:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/is-there-a-way-to-see-the-services-properties-of-a/m-p/843163#M3606</guid>
      <dc:creator>simoxu</dc:creator>
      <dc:date>2021-12-12T10:19:32Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a way to see the services properties of a arc server (federated with portal) using ArcGIS Python API 1.5.2? I am using python 3 for the same.</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/is-there-a-way-to-see-the-services-properties-of-a/m-p/843164#M3607</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Simo xu,&amp;nbsp;&lt;BR /&gt;but I am getting error&amp;nbsp;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;SPAN class="" style="color: #b22b31; font-weight: bold;"&gt;AttributeError&lt;/SPAN&gt;: 'Server' object has no attribute 'services'

I even checked for the other objects, it is giving the same error for machines also.&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;SPAN class="" style="color: #b22b31; font-weight: bold;"&gt;---------------------------------------------------------------------------&lt;/SPAN&gt;&lt;SPAN class="" style="color: #b22b31; font-weight: bold;"&gt;KeyError&lt;/SPAN&gt;                                  Traceback (most recent call last)&lt;SPAN class="" style="color: #007427; font-weight: bold;"&gt;~\AppData\Local\Programs\ArcGIS\Pro\bin\Python\envs\arcgispro-py3\lib\site-packages\arcgis\gis\server\_common\_base.py&lt;/SPAN&gt; in &lt;SPAN class="" style="color: #60c6c8;"&gt;__getattr__&lt;/SPAN&gt;&lt;SPAN class="" style="color: #0065ca; font-weight: bold;"&gt;(self, name)&lt;/SPAN&gt;&lt;SPAN class="" style="color: #00a250;"&gt;     81&lt;/SPAN&gt;         &lt;SPAN class="" style="color: #007427; font-weight: bold;"&gt;try&lt;/SPAN&gt;&lt;SPAN class="" style="color: #b27d12; font-weight: bold;"&gt;:&lt;/SPAN&gt;&lt;SPAN class="" style="color: #007427; font-weight: bold;"&gt;---&amp;gt; 82&lt;/SPAN&gt;&lt;SPAN class="" style="color: #b27d12; font-weight: bold;"&gt;             &lt;/SPAN&gt;&lt;SPAN class="" style="color: #007427; font-weight: bold;"&gt;return&lt;/SPAN&gt; self&lt;SPAN class="" style="color: #b27d12; font-weight: bold;"&gt;.&lt;/SPAN&gt;_properties&lt;SPAN class="" style="color: #b27d12; font-weight: bold;"&gt;.&lt;/SPAN&gt;__getitem__&lt;SPAN class="" style="color: #b27d12; font-weight: bold;"&gt;(&lt;/SPAN&gt;name&lt;SPAN class="" style="color: #b27d12; font-weight: bold;"&gt;)&lt;/SPAN&gt;&lt;SPAN class="" style="color: #00a250;"&gt;     83&lt;/SPAN&gt;         &lt;SPAN class="" style="color: #007427; font-weight: bold;"&gt;except&lt;/SPAN&gt;&lt;SPAN class="" style="color: #b27d12; font-weight: bold;"&gt;:&lt;/SPAN&gt;&lt;SPAN class="" style="color: #007427; font-weight: bold;"&gt;~\AppData\Local\Programs\ArcGIS\Pro\bin\Python\envs\arcgispro-py3\lib\site-packages\arcgis\_impl\common\_mixins.py&lt;/SPAN&gt; in &lt;SPAN class="" style="color: #60c6c8;"&gt;__getitem__&lt;/SPAN&gt;&lt;SPAN class="" style="color: #0065ca; font-weight: bold;"&gt;(self, key)&lt;/SPAN&gt;&lt;SPAN class="" style="color: #00a250;"&gt;    339&lt;/SPAN&gt;         """&lt;SPAN class="" style="color: #007427; font-weight: bold;"&gt;--&amp;gt; 340&lt;/SPAN&gt;&lt;SPAN class="" style="color: #b27d12; font-weight: bold;"&gt;         &lt;/SPAN&gt;&lt;SPAN class="" style="color: #007427; font-weight: bold;"&gt;return&lt;/SPAN&gt; self&lt;SPAN class="" style="color: #b27d12; font-weight: bold;"&gt;.&lt;/SPAN&gt;_mapping&lt;SPAN class="" style="color: #b27d12; font-weight: bold;"&gt;[&lt;/SPAN&gt;key&lt;SPAN class="" style="color: #b27d12; font-weight: bold;"&gt;]&lt;/SPAN&gt;&lt;SPAN class="" style="color: #00a250;"&gt;    341&lt;/SPAN&gt;  &lt;SPAN class="" style="color: #b22b31; font-weight: bold;"&gt;KeyError&lt;/SPAN&gt;: 'machines'  During handling of the above exception, another exception occurred: &lt;SPAN class="" style="color: #b22b31; font-weight: bold;"&gt;AttributeError&lt;/SPAN&gt;                            Traceback (most recent call last)&lt;SPAN class="" style="color: #007427; font-weight: bold;"&gt;&amp;lt;ipython-input-60-04a36060757d&amp;gt;&lt;/SPAN&gt; in &lt;SPAN class="" style="color: #60c6c8;"&gt;&amp;lt;module&amp;gt;&lt;/SPAN&gt;&lt;SPAN class="" style="color: #00a250;"&gt;      9&lt;/SPAN&gt; )&lt;SPAN class="" style="color: #00a250;"&gt;     10&lt;/SPAN&gt; &lt;SPAN class="" style="color: #0065ca; font-weight: bold;"&gt;'''service_manager = gis_server.services'''&lt;/SPAN&gt;&lt;SPAN class="" style="color: #007427; font-weight: bold;"&gt;---&amp;gt; 11&lt;/SPAN&gt;&lt;SPAN class="" style="color: #b27d12; font-weight: bold;"&gt; &lt;/SPAN&gt;machines &lt;SPAN class="" style="color: #b27d12; font-weight: bold;"&gt;=&lt;/SPAN&gt; gis_server&lt;SPAN class="" style="color: #b27d12; font-weight: bold;"&gt;.&lt;/SPAN&gt;machines&lt;SPAN class="" style="color: #00a250;"&gt;     12&lt;/SPAN&gt; &lt;SPAN class="" style="color: #00a250;"&gt;     13&lt;/SPAN&gt;  &lt;SPAN class="" style="color: #007427; font-weight: bold;"&gt;~\AppData\Local\Programs\ArcGIS\Pro\bin\Python\envs\arcgispro-py3\lib\site-packages\arcgis\gis\server\_common\_base.py&lt;/SPAN&gt; in &lt;SPAN class="" style="color: #60c6c8;"&gt;__getattr__&lt;/SPAN&gt;&lt;SPAN class="" style="color: #0065ca; font-weight: bold;"&gt;(self, name)&lt;/SPAN&gt;&lt;SPAN class="" style="color: #00a250;"&gt;     85&lt;/SPAN&gt;                 &lt;SPAN class="" style="color: #007427; font-weight: bold;"&gt;if&lt;/SPAN&gt; k&lt;SPAN class="" style="color: #b27d12; font-weight: bold;"&gt;.&lt;/SPAN&gt;lower&lt;SPAN class="" style="color: #b27d12; font-weight: bold;"&gt;(&lt;/SPAN&gt;&lt;SPAN class="" style="color: #b27d12; font-weight: bold;"&gt;)&lt;/SPAN&gt; &lt;SPAN class="" style="color: #b27d12; font-weight: bold;"&gt;==&lt;/SPAN&gt; name&lt;SPAN class="" style="color: #b27d12; font-weight: bold;"&gt;.&lt;/SPAN&gt;lower&lt;SPAN class="" style="color: #b27d12; font-weight: bold;"&gt;(&lt;/SPAN&gt;&lt;SPAN class="" style="color: #b27d12; font-weight: bold;"&gt;)&lt;/SPAN&gt;&lt;SPAN class="" style="color: #b27d12; font-weight: bold;"&gt;:&lt;/SPAN&gt;&lt;SPAN class="" style="color: #00a250;"&gt;     86&lt;/SPAN&gt;                     &lt;SPAN class="" style="color: #007427; font-weight: bold;"&gt;return&lt;/SPAN&gt; v&lt;SPAN class="" style="color: #007427; font-weight: bold;"&gt;---&amp;gt; 87&lt;/SPAN&gt;&lt;SPAN class="" style="color: #b27d12; font-weight: bold;"&gt;             &lt;/SPAN&gt;&lt;SPAN class="" style="color: #007427; font-weight: bold;"&gt;raise&lt;/SPAN&gt; AttributeError&lt;SPAN class="" style="color: #b27d12; font-weight: bold;"&gt;(&lt;/SPAN&gt;&lt;SPAN class="" style="color: #0065ca; font-weight: bold;"&gt;"'%s' object has no attribute '%s'"&lt;/SPAN&gt; &lt;SPAN class="" style="color: #b27d12; font-weight: bold;"&gt;%&lt;/SPAN&gt; &lt;SPAN class="" style="color: #b27d12; font-weight: bold;"&gt;(&lt;/SPAN&gt;type&lt;SPAN class="" style="color: #b27d12; font-weight: bold;"&gt;(&lt;/SPAN&gt;self&lt;SPAN class="" style="color: #b27d12; font-weight: bold;"&gt;)&lt;/SPAN&gt;&lt;SPAN class="" style="color: #b27d12; font-weight: bold;"&gt;.&lt;/SPAN&gt;__name__&lt;SPAN class="" style="color: #b27d12; font-weight: bold;"&gt;,&lt;/SPAN&gt; name&lt;SPAN class="" style="color: #b27d12; font-weight: bold;"&gt;)&lt;/SPAN&gt;&lt;SPAN class="" style="color: #b27d12; font-weight: bold;"&gt;)&lt;/SPAN&gt;&lt;SPAN class="" style="color: #00a250;"&gt;     88&lt;/SPAN&gt;     &lt;SPAN class="" style="color: #b22b31; font-weight: bold;"&gt;#----------------------------------------------------------------------&lt;/SPAN&gt;&lt;SPAN class="" style="color: #00a250;"&gt;     89&lt;/SPAN&gt;     &lt;SPAN class="" style="color: #007427; font-weight: bold;"&gt;def&lt;/SPAN&gt; __getitem__&lt;SPAN class="" style="color: #b27d12; font-weight: bold;"&gt;(&lt;/SPAN&gt;self&lt;SPAN class="" style="color: #b27d12; font-weight: bold;"&gt;,&lt;/SPAN&gt; key&lt;SPAN class="" style="color: #b27d12; font-weight: bold;"&gt;)&lt;/SPAN&gt;&lt;SPAN class="" style="color: #b27d12; font-weight: bold;"&gt;:&lt;/SPAN&gt;&lt;SPAN class="" style="color: #b22b31; font-weight: bold;"&gt;AttributeError&lt;/SPAN&gt;: 'Server' object has no attribute 'machines'&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 10:19:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/is-there-a-way-to-see-the-services-properties-of-a/m-p/843164#M3607</guid>
      <dc:creator>VaibhavSingh</dc:creator>
      <dc:date>2021-12-12T10:19:34Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a way to see the services properties of a arc server (federated with portal) using ArcGIS Python API 1.5.2? I am using python 3 for the same.</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/is-there-a-way-to-see-the-services-properties-of-a/m-p/843165#M3608</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I just logged it:&amp;nbsp; &lt;STRONG&gt;#BUG-000119786 Using the ArcGIS API for Python to delete an item in Portal for ArcGIS returns an error&lt;/STRONG&gt;.&amp;nbsp; It appears to work fine with ArcGIS API for Python 1.5.1 but not in 1.5.2.&amp;nbsp; My guess is that is has something to do with the new user types introduced in AGOL and being introduced in ArcGIS Enterprise 10.7.&amp;nbsp; I am asking Esri Support to test 1.5.2 against 10.7 pre-release to see if that combination works.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Feb 2019 19:08:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/is-there-a-way-to-see-the-services-properties-of-a/m-p/843165#M3608</guid>
      <dc:creator>JoshuaBixby</dc:creator>
      <dc:date>2019-02-01T19:08:30Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a way to see the services properties of a arc server (federated with portal) using ArcGIS Python API 1.5.2? I am using python 3 for the same.</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/is-there-a-way-to-see-the-services-properties-of-a/m-p/843166#M3609</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Simo Xu, Now it worked for me, it's just that I am giving an extra / after admin now its working fine for me.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 02 Feb 2019 09:39:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/is-there-a-way-to-see-the-services-properties-of-a/m-p/843166#M3609</guid>
      <dc:creator>VaibhavSingh</dc:creator>
      <dc:date>2019-02-02T09:39:48Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a way to see the services properties of a arc server (federated with portal) using ArcGIS Python API 1.5.2? I am using python 3 for the same.</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/is-there-a-way-to-see-the-services-properties-of-a/m-p/843167#M3610</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vaibhav, Glad to know it works. If you agree that this is the solution, can you please mark it as the correct answer so it can help people with the same questions.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 03 Feb 2019 21:45:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/is-there-a-way-to-see-the-services-properties-of-a/m-p/843167#M3610</guid>
      <dc:creator>simoxu</dc:creator>
      <dc:date>2019-02-03T21:45:16Z</dc:date>
    </item>
  </channel>
</rss>

