When I run a (list) workflow on a listitem the following occurs. The W.F action "O365 update Item Permissions" also gives the creator of the OAuth2 connection permissions on that item. Is this expected behavior? How can I prevent this?
Solved! Go to Solution.
You can't prevent this.
It is a normal and necessary operation. It is the account that created the connection that will execute the action, so if it has no rights on the item, the action to update the permissions will not be able to execute correctly.
my advice : use a service account.
- Create a new user ( with name : 'Service account' for exemple), you don't need to have an licence associated to this account to just perfome some SharePoint action.
- Set this account as Site collection administrator
- Create connections with this account
- Share the connection
- Use this connection in your workflows