<?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 Sharepoint permission setting using REST API in Workato Pros Discussion Board</title>
    <link>https://systematic.workato.com/t5/workato-pros-discussion-board/sharepoint-permission-setting-using-rest-api/m-p/6118#M2694</link>
    <description>&lt;P&gt;Has anyone had much experiecne using REST calls to the Sharepoint REAT API in Workato from the SharePoint connector?&lt;BR /&gt;I have an integration that is doing lots of REST calls to SHarePoint all of which work fine, except for 2, setting permissions and breaking inheritance. The commands I'm using a literally textbook (cut and paste from, and they work OK from Power Automate, but not from my inegration platform (Workato). In both cases I get the error.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;{ &amp;nbsp; odata.error: { &amp;nbsp;&amp;nbsp;&amp;nbsp; code: -2147024891, System.UnauthorizedAccessException, &amp;nbsp;&amp;nbsp;&amp;nbsp; message: { &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; lang: en-US, &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; value: Attempted to perform an unauthorized operation. &amp;nbsp;&amp;nbsp;&amp;nbsp; } &amp;nbsp; } }&lt;/P&gt;&lt;P&gt;I get the same responce from both my production SharePoint online instance and my Dev one (the dev is completely vanilla). I get the issue even when using Global Admin who is the site owner and admin.&lt;/P&gt;&lt;P&gt;An example call:&lt;/P&gt;&lt;P&gt;&lt;A href="https://s2j6.sharepoint.com/sites/PALWS-HwapuniSouth/_api/web/lists/getbytitle(%27History%27)/items(1)/roleassignments/addroleassignment(principalid=13,roledefid=1073741826)?xsdata=MDV8MDJ8fGZmOTg2NjhiNTQ3MzQ3NjQ5OGYxMDhkYzI3N2Q5NDc2fGUzY2ZkMWM3YzUyZjQyNjU5MTdiMmMyMTg2NzQyM2M1fDB8MHw2Mzg0Mjg2Njc0OTQ5NjM0NDF8VW5rbm93bnxWR1ZoYlhOVFpXTjFjbWwwZVZObGNuWnBZMlY4ZXlKV0lqb2lNQzR3TGpBd01EQWlMQ0pRSWpvaVYybHVNeklpTENKQlRpSTZJazkwYUdWeUlpd2lWMVFpT2pFeGZRPT18MXxMMk5vWVhSekx6RTVPamt6TnpJMk9EazRMVEl5TXprdE5EQTBaQzA0WWpFekxXVm1PVFl5T0RFMU1UaGxOMTlsT0dJeU56TTJOaTA1TXpNM0xUUmlPVEF0T1RGak1DMDROamhoWTJZeU9EaGxOV1JBZFc1eExtZGliQzV6Y0dGalpYTXZiV1Z6YzJGblpYTXZNVGN3TnpJMk9UazBOek0xTlE9PXwxMGQwY2QzOGQzOTA0NTlkOThmMTA4ZGMyNzdkOTQ3NnxiNmNkNWViZWVjOWM0YjU4OTFhNWZhZjU2ZDQ2MGJjNg%3D%3D&amp;amp;sdata=dzlldmU1Q09GNFdZTm50Vi9OUWM5cWpjZmdUdkg1V3dscEhackFCM0lDYz0%3D&amp;amp;ovuser=e3cfd1c7-c52f-4265-917b-2c21867423c5%2CAndrew.Jones%40connexa.co.nz" target="_blank" rel="nofollow noopener ugc"&gt;https://s2j6.sharepoint.com/sites/PALWS-HwapuniSouth/_api/web/lists/getbytitle('History')/items(1)/roleassignments/addroleassignment(principalid=13,roledefid=1073741826)&lt;/A&gt;&lt;/P&gt;&lt;P&gt;All the scope variables are valid and work fine with other REST commands.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any ideas? My thought is its somehting to do with either the Authorizion (though it works fine on all the other commands) or the X-REGISTERDiGEST, but pin it down.&lt;/P&gt;</description>
    <pubDate>Tue, 13 Feb 2024 05:22:58 GMT</pubDate>
    <dc:creator>Wizbang</dc:creator>
    <dc:date>2024-02-13T05:22:58Z</dc:date>
    <item>
      <title>Sharepoint permission setting using REST API</title>
      <link>https://systematic.workato.com/t5/workato-pros-discussion-board/sharepoint-permission-setting-using-rest-api/m-p/6118#M2694</link>
      <description>&lt;P&gt;Has anyone had much experiecne using REST calls to the Sharepoint REAT API in Workato from the SharePoint connector?&lt;BR /&gt;I have an integration that is doing lots of REST calls to SHarePoint all of which work fine, except for 2, setting permissions and breaking inheritance. The commands I'm using a literally textbook (cut and paste from, and they work OK from Power Automate, but not from my inegration platform (Workato). In both cases I get the error.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;{ &amp;nbsp; odata.error: { &amp;nbsp;&amp;nbsp;&amp;nbsp; code: -2147024891, System.UnauthorizedAccessException, &amp;nbsp;&amp;nbsp;&amp;nbsp; message: { &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; lang: en-US, &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; value: Attempted to perform an unauthorized operation. &amp;nbsp;&amp;nbsp;&amp;nbsp; } &amp;nbsp; } }&lt;/P&gt;&lt;P&gt;I get the same responce from both my production SharePoint online instance and my Dev one (the dev is completely vanilla). I get the issue even when using Global Admin who is the site owner and admin.&lt;/P&gt;&lt;P&gt;An example call:&lt;/P&gt;&lt;P&gt;&lt;A href="https://s2j6.sharepoint.com/sites/PALWS-HwapuniSouth/_api/web/lists/getbytitle(%27History%27)/items(1)/roleassignments/addroleassignment(principalid=13,roledefid=1073741826)?xsdata=MDV8MDJ8fGZmOTg2NjhiNTQ3MzQ3NjQ5OGYxMDhkYzI3N2Q5NDc2fGUzY2ZkMWM3YzUyZjQyNjU5MTdiMmMyMTg2NzQyM2M1fDB8MHw2Mzg0Mjg2Njc0OTQ5NjM0NDF8VW5rbm93bnxWR1ZoYlhOVFpXTjFjbWwwZVZObGNuWnBZMlY4ZXlKV0lqb2lNQzR3TGpBd01EQWlMQ0pRSWpvaVYybHVNeklpTENKQlRpSTZJazkwYUdWeUlpd2lWMVFpT2pFeGZRPT18MXxMMk5vWVhSekx6RTVPamt6TnpJMk9EazRMVEl5TXprdE5EQTBaQzA0WWpFekxXVm1PVFl5T0RFMU1UaGxOMTlsT0dJeU56TTJOaTA1TXpNM0xUUmlPVEF0T1RGak1DMDROamhoWTJZeU9EaGxOV1JBZFc1eExtZGliQzV6Y0dGalpYTXZiV1Z6YzJGblpYTXZNVGN3TnpJMk9UazBOek0xTlE9PXwxMGQwY2QzOGQzOTA0NTlkOThmMTA4ZGMyNzdkOTQ3NnxiNmNkNWViZWVjOWM0YjU4OTFhNWZhZjU2ZDQ2MGJjNg%3D%3D&amp;amp;sdata=dzlldmU1Q09GNFdZTm50Vi9OUWM5cWpjZmdUdkg1V3dscEhackFCM0lDYz0%3D&amp;amp;ovuser=e3cfd1c7-c52f-4265-917b-2c21867423c5%2CAndrew.Jones%40connexa.co.nz" target="_blank" rel="nofollow noopener ugc"&gt;https://s2j6.sharepoint.com/sites/PALWS-HwapuniSouth/_api/web/lists/getbytitle('History')/items(1)/roleassignments/addroleassignment(principalid=13,roledefid=1073741826)&lt;/A&gt;&lt;/P&gt;&lt;P&gt;All the scope variables are valid and work fine with other REST commands.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any ideas? My thought is its somehting to do with either the Authorizion (though it works fine on all the other commands) or the X-REGISTERDiGEST, but pin it down.&lt;/P&gt;</description>
      <pubDate>Tue, 13 Feb 2024 05:22:58 GMT</pubDate>
      <guid>https://systematic.workato.com/t5/workato-pros-discussion-board/sharepoint-permission-setting-using-rest-api/m-p/6118#M2694</guid>
      <dc:creator>Wizbang</dc:creator>
      <dc:date>2024-02-13T05:22:58Z</dc:date>
    </item>
  </channel>
</rss>

