cancel
Showing results for 
Search instead for 
Did you mean: 
Workflow Hero

BreakRoleInheritance accross SiteCollections

Hello community,

I try to break RoleInheritance and apply individual Permissions on a List in a different Site-Collection with a REST-API Call.

Scenario:

1. Wokflow on Permission-List on SiteCollection https://xy.sharepoint.com/sites/permission

2. Workflow call "Call HTTP Web Service" (in a Container with "run contained actions at elevated app permission")

    - https://xy.sharepoint.com/sites/target/_api/web/lists/getByTitle('Test')/breakroleinheritance(true)

==>Results in a Forbidden, System.UnauthorizedAccessException Error

I also registered the "workflow app" in appinv.aspx on both Site-Collections (with different workflow-guids)

If I try to break the permission on a list on the same SiteCollection (sites/permission) it works...Smiley Frustrated

Whats wrong, anyone an Idea?

Thanks for your support!

0 Kudos
Reply