I have created a flow with the following steps:
- Get all document sets in a library
- For each document set (all steps using Send an HTTP Request to SharePoint)
- Reset Role inheritance
- Break Role inheritance
- Set new permissions
This flow works mostly as expected. The permissions are set correctly, but if i look at a document inside the document set that has been shared previously, there are remnants of the sharing link which I would prefer wasn't there, with a message stating "This link is broken. Delete it and share the item again"
Question: Is there a way to remove all potential sharing links for documents inside a document set as part of the flow?