Solved

O365 WF Action: Item Permissions - Adds Connection creator to every item.

  • 2 April 2021
  • 2 replies
  • 16 views

Badge +4

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?

icon

Best answer by nico 6 April 2021, 15:41

View original

2 replies

Userlevel 4
Badge +10

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


 

Badge +4
Thank you, just as I expected.

Reply