A flow should be able to change the permission of an item in a SharePoint List/document library; this is a very popular pattern in Sharepoint workflows
The following two actions should now be available:
1. Grant access to an item or a folder
2. Stop sharing an item or folder
Please check out these new actions in the SharePoint connector and let us know if you have any feedback!
@cardinalpipkin thanks for the update.
I've submitted the idea and I still believe it is important; the workaround Is to create an Azure function that does it; the Azure function can be invoked from the Http action.
@sergeluca how have you implemented the http action?
I'm stuck with the authentication!
@sergeluca that also presumes you have permissions in your organisation to create an Azure function. I don't
correct; but then we can use the REST api from the Http action
@Anonymous here is one of my blog post:
The Azure function has a public url; as long as your provide the good url & code it should work.
In the function settings my authorization level is set to "function" (I believe it is the default one)
@sergeluca is that an alternative to not having permission to create an Azure function?
I used to use REST in my old SPD workflows.
I want to update my SPD workflows to flow, but I can't since a lot of them update permissions.
It is now possible with the help of Plumsail SharePoint (Third-party connector), which is a part of Plumsail Actions product with a fair price.
There is an action, called Change Permissions that gives you the ability to:
Here are a couple of examples of Flows:
Set item level permissions (break role inheritance and assign permissions)
Create site by custom template and grant permissions
that is very interesting; thanks for the heads up