SharePoint 2010 Workflow to set permissions for SharePoint Online (Office 365) not working

Hi, SP Experts!

I'm creating some business logic in Task List on SPO site, and I need to change list item permissions. As I know from my previous experience (did it successfully about a year ago), only SP 2010 Workflow can work with permissions, so my SP 2013 WF triggers SP 2010 WF to replace item permissions. Replace permissions action is wrapped in Impersonation Step. All site and site collection features, related to workflows, are ON.

But the WF reports ERROR, without any meaningful explanations.

Any help is deeply appreciated!

June 23rd, 2015 11:21am

Hi.

You can use an APP STEP following this post

https://msdn.microsoft.com/en-us/library/office/jj822159.aspx

And then you can call REST API to perform permission operation.

Free Windows Admin Tool Kit Click here and download it now
June 23rd, 2015 11:55am

For your final problem, check that the user who publish SP2010 WF with impersonation step has still permission to perform this actions.
June 23rd, 2015 11:57am

I publish WF as Global Admin (Owner of site, sitecollection in SPO), so this is not a case.

REST looks so scary and not transparent for me. I'll try it if NO other options available.

Did MS changed WF2010 approach for SPO? A year ago it worked fine

Free Windows Admin Tool Kit Click here and download it now
June 23rd, 2015 1:12pm

Hi Alexander,

Please create a new SharePoint 2010 to replace item permissions, then use a SharePoint 2013 workflow to call it, check if they could work well.

In addition, for this issue, I suggest you check the ULS log to find more information about this issue. However, as we know, we could not find the ULS log file by ourself in SharePoint Online. So, for this issue, I suggest you ask Office 365 support for help. There are some backend engineers who could check the SharePoint Online log file which may be useful for troubleshooting your issue.

Office 365 forum:

https://community.office365.com/en-us/f/

Thanks,

Wendy

June 26th, 2015 3:46am

Hi everyone!

After some investigation the problem was found - it is not in WF platform, it is me :)

Inside WF 2010 action configuration when choosing users to give permissions I used user as ID, which doesn't work. After changing it to user as login OR user as string (both applicable here) everything works fine.

Thank everyone for help!

Free Windows Admin Tool Kit Click here and download it now
June 27th, 2015 3:59am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics