<?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 Script not work on ArcGIS online notebook. in ArcGIS Pro Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-questions/script-not-work-on-arcgis-online-notebook/m-p/1347106#M74971</link>
    <description>&lt;P&gt;Please check the below code:&lt;/P&gt;&lt;LI-CODE lang="python"&gt;import arcgis

gis = arcgis.gis.GIS("https://www.arcgis.com", "UserName", "PassWord")
all_groups = gis.groups.search()
group_names = [group.title for group in all_groups]
group_properties = {
    "title": "My_test_group",
    "tags": "test_tag",
    "description": "test_group_description",
    "access": "org",  # Set the access level (org, public, private)
    "thumbnail": "",
    "display_settings": "apps",
    "is_invitation_only": 'True',
    "leaving_disallowed": 'True'
}
print("group_properties dict----------------",group_properties)
if "My_test_group" not in group_names:
    new_group = gis.groups.create(**group_properties)&lt;/LI-CODE&gt;&lt;P&gt;It runs on&amp;nbsp; "ArcGIS pro notebook"&amp;nbsp; successfully and create the group. But when I run it in the ArcGIS online notebook, it shows the following error.&lt;BR /&gt;Exception: Administrative groups cannot have collaboration capabilities.&lt;BR /&gt;(Error Code: 400)&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;What might be the reason of this error?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 08 Nov 2023 13:27:55 GMT</pubDate>
    <dc:creator>SriyankarDandapat</dc:creator>
    <dc:date>2023-11-08T13:27:55Z</dc:date>
    <item>
      <title>Script not work on ArcGIS online notebook.</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/script-not-work-on-arcgis-online-notebook/m-p/1347106#M74971</link>
      <description>&lt;P&gt;Please check the below code:&lt;/P&gt;&lt;LI-CODE lang="python"&gt;import arcgis

gis = arcgis.gis.GIS("https://www.arcgis.com", "UserName", "PassWord")
all_groups = gis.groups.search()
group_names = [group.title for group in all_groups]
group_properties = {
    "title": "My_test_group",
    "tags": "test_tag",
    "description": "test_group_description",
    "access": "org",  # Set the access level (org, public, private)
    "thumbnail": "",
    "display_settings": "apps",
    "is_invitation_only": 'True',
    "leaving_disallowed": 'True'
}
print("group_properties dict----------------",group_properties)
if "My_test_group" not in group_names:
    new_group = gis.groups.create(**group_properties)&lt;/LI-CODE&gt;&lt;P&gt;It runs on&amp;nbsp; "ArcGIS pro notebook"&amp;nbsp; successfully and create the group. But when I run it in the ArcGIS online notebook, it shows the following error.&lt;BR /&gt;Exception: Administrative groups cannot have collaboration capabilities.&lt;BR /&gt;(Error Code: 400)&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;What might be the reason of this error?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 08 Nov 2023 13:27:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/script-not-work-on-arcgis-online-notebook/m-p/1347106#M74971</guid>
      <dc:creator>SriyankarDandapat</dc:creator>
      <dc:date>2023-11-08T13:27:55Z</dc:date>
    </item>
    <item>
      <title>Re: Script not work on ArcGIS online notebook.</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/script-not-work-on-arcgis-online-notebook/m-p/1348096#M75056</link>
      <description>&lt;P&gt;The error is indicating that the group you are trying to create has conflicting properties.&lt;/P&gt;&lt;P&gt;Groups with administrative settings (such as item update) cannot be enabled for partnered/distributed collaboration.&lt;/P&gt;</description>
      <pubDate>Fri, 10 Nov 2023 01:46:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/script-not-work-on-arcgis-online-notebook/m-p/1348096#M75056</guid>
      <dc:creator>ChristopherCounsell</dc:creator>
      <dc:date>2023-11-10T01:46:31Z</dc:date>
    </item>
  </channel>
</rss>

