<?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 item.export fails to run from a Notebook on AGOL using a custom role in ArcGIS API for Python Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-python-questions/item-export-fails-to-run-from-a-notebook-on-agol/m-p/1060257#M6099</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I've written a Notebook that backups up our AGOL hosted feature services to File Geodatabases. I'm using the new tasks feature in AGOL to schedule the backups everyday.&lt;/P&gt;&lt;P&gt;The notebook calls the item.export method and everything works well under my default administrator role. I'd like to create a new custom role in AGOL that can be used specifically to run the backups. I was hoping to give this role enough privileges to run the script without having full administrative rights.&amp;nbsp;&lt;/P&gt;&lt;P&gt;However I can't seem to give the custom role enough permissions. I'm getting the following error:&lt;/P&gt;&lt;P&gt;You do not have permissions to access this resource or perform this operation.&lt;/P&gt;&lt;P&gt;(Error Code: 403)&lt;/P&gt;&lt;P&gt;Question: Can you only run item.export from a default&amp;nbsp; administrator account or am I missing something in configuring the custom role?&lt;/P&gt;&lt;P&gt;It seems strange that I can create a custom role with full rights to add and delete organizational members and edit update delete data but I cant set one up to do an export ?&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Clinton&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 21 May 2021 02:11:07 GMT</pubDate>
    <dc:creator>ClintonBallandis1</dc:creator>
    <dc:date>2021-05-21T02:11:07Z</dc:date>
    <item>
      <title>item.export fails to run from a Notebook on AGOL using a custom role</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/item-export-fails-to-run-from-a-notebook-on-agol/m-p/1060257#M6099</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I've written a Notebook that backups up our AGOL hosted feature services to File Geodatabases. I'm using the new tasks feature in AGOL to schedule the backups everyday.&lt;/P&gt;&lt;P&gt;The notebook calls the item.export method and everything works well under my default administrator role. I'd like to create a new custom role in AGOL that can be used specifically to run the backups. I was hoping to give this role enough privileges to run the script without having full administrative rights.&amp;nbsp;&lt;/P&gt;&lt;P&gt;However I can't seem to give the custom role enough permissions. I'm getting the following error:&lt;/P&gt;&lt;P&gt;You do not have permissions to access this resource or perform this operation.&lt;/P&gt;&lt;P&gt;(Error Code: 403)&lt;/P&gt;&lt;P&gt;Question: Can you only run item.export from a default&amp;nbsp; administrator account or am I missing something in configuring the custom role?&lt;/P&gt;&lt;P&gt;It seems strange that I can create a custom role with full rights to add and delete organizational members and edit update delete data but I cant set one up to do an export ?&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Clinton&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 21 May 2021 02:11:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/item-export-fails-to-run-from-a-notebook-on-agol/m-p/1060257#M6099</guid>
      <dc:creator>ClintonBallandis1</dc:creator>
      <dc:date>2021-05-21T02:11:07Z</dc:date>
    </item>
    <item>
      <title>Re: item.export fails to run from a Notebook on AGOL using a custom role</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/item-export-fails-to-run-from-a-notebook-on-agol/m-p/1081049#M6379</link>
      <description>&lt;P&gt;I've been aware of this issue for some time but have never had time to report it. You're correct - the export function doesn't appear to honor the permissions. You can work around this two ways:&lt;/P&gt;&lt;P&gt;1. Perform the export with a manual call to the ArcGIS REST API.&lt;/P&gt;&lt;P&gt;2. Use :create" to create a replica (you need sync enabled for this).&lt;/P&gt;&lt;P&gt;#2 is not perfect either...I have seen this method drop records at times. Again, an issue I've not had time to report (the workaround is the same - make a manual call to the underlying REST operation).&lt;/P&gt;</description>
      <pubDate>Tue, 20 Jul 2021 20:22:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/item-export-fails-to-run-from-a-notebook-on-agol/m-p/1081049#M6379</guid>
      <dc:creator>emedina</dc:creator>
      <dc:date>2021-07-20T20:22:52Z</dc:date>
    </item>
  </channel>
</rss>

