<?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: shared_with property on item doesn't display groups in ArcGIS API for Python Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-python-questions/shared-with-property-on-item-doesn-t-display/m-p/735524#M243</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Same problem for me.&lt;/P&gt;&lt;P&gt;I'm admin and items of my users are definitely shared with groups but&amp;nbsp; shared_with["groups"] always return an empty array...&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;I'm using version 1.8.1 of the python API. (From ArcGIS Pro's Notebook. Pro Version 2.6.1)&lt;/SPAN&gt;&lt;CODE style="border: 0px; font-weight: inherit;"&gt;&lt;SPAN class="" style="color: #999999; border: 0px; font-weight: inherit;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 08 Sep 2020 11:51:33 GMT</pubDate>
    <dc:creator>laurencecuche</dc:creator>
    <dc:date>2020-09-08T11:51:33Z</dc:date>
    <item>
      <title>shared_with property on item doesn't display groups</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/shared-with-property-on-item-doesn-t-display/m-p/735521#M240</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm using the ArcGIS Python API to report on items owned by users in my ArcGIS Online organization.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For each user I loop through their items and check the shared_with property to see which groups the item is shared with but it's always blank even on items I have manually checked&amp;nbsp;that are shared with groups.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Has anyone run into this problem before?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A snippet from my script is below, the last line is causing the problem.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;DIV&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;&lt;SPAN class="comment token"&gt;# connect to organisation etc....&lt;/SPAN&gt;

&lt;SPAN class="keyword token"&gt;for&lt;/SPAN&gt; user &lt;SPAN class="keyword token"&gt;in&lt;/SPAN&gt; gis&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;users&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;search&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;max_users&lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt;&lt;SPAN class="number token"&gt;9999&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt;
        &lt;SPAN class="keyword token"&gt;for&lt;/SPAN&gt; folder &lt;SPAN class="keyword token"&gt;in&lt;/SPAN&gt; user&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;folders&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt;
            &lt;SPAN class="keyword token"&gt;for&lt;/SPAN&gt; item &lt;SPAN class="keyword token"&gt;in&lt;/SPAN&gt; user&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;items&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;folder&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt;
                &lt;SPAN class="keyword token"&gt;if&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;not&lt;/SPAN&gt; item&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;shared_with&lt;SPAN class="punctuation token"&gt;[&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;"groups"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;]&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt;‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍
                    &lt;SPAN class="comment token"&gt;# log item&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;/CODE&gt;&lt;/PRE&gt;&lt;/DIV&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The result in my watch window in VS code is below.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="482096" class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/482096_pastedImage_1.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For additional info, I'm an admin in the organisation and I'm using version 1.7.0 of the python API.&amp;nbsp;&lt;/P&gt;&lt;DIV style="color: #d4d4d4; background-color: #1e1e1e; font-weight: normal; font-size: 16px;"&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 07:21:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/shared-with-property-on-item-doesn-t-display/m-p/735521#M240</guid>
      <dc:creator>DavidTinning</dc:creator>
      <dc:date>2021-12-12T07:21:37Z</dc:date>
    </item>
    <item>
      <title>Re: shared_with property on item doesn't display groups</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/shared-with-property-on-item-doesn-t-display/m-p/735522#M241</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is there any update on this issue? We are having the same problem.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Apr 2020 08:30:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/shared-with-property-on-item-doesn-t-display/m-p/735522#M241</guid>
      <dc:creator>JohnKennedy5</dc:creator>
      <dc:date>2020-04-08T08:30:09Z</dc:date>
    </item>
    <item>
      <title>Re: shared_with property on item doesn't display groups</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/shared-with-property-on-item-doesn-t-display/m-p/735523#M242</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No, I'm afraid I never found a resolution.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Apr 2020 16:20:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/shared-with-property-on-item-doesn-t-display/m-p/735523#M242</guid>
      <dc:creator>DavidTinning</dc:creator>
      <dc:date>2020-04-16T16:20:12Z</dc:date>
    </item>
    <item>
      <title>Re: shared_with property on item doesn't display groups</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/shared-with-property-on-item-doesn-t-display/m-p/735524#M243</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Same problem for me.&lt;/P&gt;&lt;P&gt;I'm admin and items of my users are definitely shared with groups but&amp;nbsp; shared_with["groups"] always return an empty array...&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;I'm using version 1.8.1 of the python API. (From ArcGIS Pro's Notebook. Pro Version 2.6.1)&lt;/SPAN&gt;&lt;CODE style="border: 0px; font-weight: inherit;"&gt;&lt;SPAN class="" style="color: #999999; border: 0px; font-weight: inherit;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Sep 2020 11:51:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/shared-with-property-on-item-doesn-t-display/m-p/735524#M243</guid>
      <dc:creator>laurencecuche</dc:creator>
      <dc:date>2020-09-08T11:51:33Z</dc:date>
    </item>
    <item>
      <title>Re: shared_with property on item doesn't display groups</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/shared-with-property-on-item-doesn-t-display/m-p/735525#M244</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Same for me too.&lt;/P&gt;&lt;P&gt;Iterating items from gis.content.search(). shared_with property seems to have correct values for everyone and org properties, but groups is always an empty list, even though the items clearly are shared with groups via the UI&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Sep 2020 02:18:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/shared-with-property-on-item-doesn-t-display/m-p/735525#M244</guid>
      <dc:creator>MarkTurnbull</dc:creator>
      <dc:date>2020-09-21T02:18:12Z</dc:date>
    </item>
    <item>
      <title>Re: shared_with property on item doesn't display groups</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/shared-with-property-on-item-doesn-t-display/m-p/1001295#M5197</link>
      <description>&lt;P&gt;I have recently run into this issue as well - currently using version 1.8.2.&lt;/P&gt;&lt;P&gt;Oddly enough, I have used 'Shared_with' many times before and have never had this issue.&lt;/P&gt;&lt;P&gt;Has anybody had luck in resolving the issue?&lt;/P&gt;</description>
      <pubDate>Fri, 13 Nov 2020 17:31:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/shared-with-property-on-item-doesn-t-display/m-p/1001295#M5197</guid>
      <dc:creator>RobBaxter</dc:creator>
      <dc:date>2020-11-13T17:31:21Z</dc:date>
    </item>
    <item>
      <title>Re: shared_with property on item doesn't display groups</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/shared-with-property-on-item-doesn-t-display/m-p/1019655#M5473</link>
      <description>&lt;P&gt;We are having this same issue now too.&amp;nbsp; Any luck getting through this?&amp;nbsp; I have many scripts monitoring our enterprise that rely on reporting the groups for each content item.&lt;/P&gt;</description>
      <pubDate>Mon, 25 Jan 2021 15:28:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/shared-with-property-on-item-doesn-t-display/m-p/1019655#M5473</guid>
      <dc:creator>BradKiep</dc:creator>
      <dc:date>2021-01-25T15:28:14Z</dc:date>
    </item>
    <item>
      <title>Re: shared_with property on item doesn't display groups</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/shared-with-property-on-item-doesn-t-display/m-p/1120969#M6855</link>
      <description>&lt;P&gt;Hi.&amp;nbsp; Did anyone (or Esri) resolve this issue?&amp;nbsp; We need to identify agol items that are shared to groups and ideally which groups, and are running into this problem.&amp;nbsp; Thanks.&lt;/P&gt;</description>
      <pubDate>Mon, 29 Nov 2021 20:27:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/shared-with-property-on-item-doesn-t-display/m-p/1120969#M6855</guid>
      <dc:creator>MaryEllen_Perko</dc:creator>
      <dc:date>2021-11-29T20:27:52Z</dc:date>
    </item>
    <item>
      <title>Re: shared_with property on item doesn't display groups</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/shared-with-property-on-item-doesn-t-display/m-p/1363031#M9440</link>
      <description>&lt;P&gt;We are experiencing this same issue with the&amp;nbsp;&lt;SPAN&gt;shared_with property returning no groups.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 20 Dec 2023 15:07:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/shared-with-property-on-item-doesn-t-display/m-p/1363031#M9440</guid>
      <dc:creator>gisstaffnapacounty</dc:creator>
      <dc:date>2023-12-20T15:07:00Z</dc:date>
    </item>
  </channel>
</rss>

