Small Tips and Tricks – Power Automate – Manage list item and file permissions with Power Automate flows – Stop sharing an item or a file

Power Automate - Details for an action "Stop sharing an item of a file"
Power Automate - Details for an action "Stop sharing an item of a file"

Hi All,

Greetings for the day!!!

Today new trick – Stop sharing an item or a file using Power Automate

Details

  • In one of my project, we need to make the item readonly so the demo

Demo

SharePoint List

  • For demo purpose we created simple list as
fig : Simple SharePoint list
fig : Simple SharePoint list with 2 columns
  • Lets check the permissions before stop sharing
fig : SharePoint list permissions before stop sharing
fig : SharePoint list permissions before stop sharing
fig : SharePoint list permissions before stop sharing

Power Automate

fig : Power Automate - creating instant flow
fig : Power Automate – creating instant flow
  • Give the name to our flow and select the trigger , here in our case – “Manually trigger a flow
fig : Power Automate - creating instant flow
fig : Power Automate – creating instant flow
  • Add an action –Stop sharing an item or a file” as shown in below fig
fig : Power Automate - Adding an action "Stop sharing an item of a file"
fig : Power Automate – Adding an action “Stop sharing an item of a file”
  • Once action “Stop sharing an item of a file” added, specify the following details
    • Site address
    • List or Library name
    • Id – for demo purpose here we are passing hard-coded id 1. We can have actions like “Get Item” or “Get Items” and get dynamic ID
fig : Power Automate - Details for an action "Stop sharing an item of a file"
fig : Power Automate – Details for an action “Stop sharing an item of a file”
  • We are ready to test our flow
  • Since it is Instant cloud flow, we will test it manually
  • Ran the flow. Make sure flow ran successfully
fig : Power Automate - Testing - Executed successfully
fig : Power Automate – Testing – Executed successfully
  • Now check the permissions and sharing capabilities on the respective list item
fig : SharePoint list permissions after execution of Power Automate - inheritance is broken now. Unique permissions are applied. Other permissions are removed
fig : SharePoint list permissions after execution of Power Automate – inheritance is broken now. Unique permissions are applied. Other permissions are removed
fig : SharePoint list permissions after execution of Power Automate - inheritance is broken now. Unique permissions are applied. Other permissions are removed
fig : SharePoint list permissions after execution of Power Automate – inheritance is broken now. Unique permissions are applied. Other permissions are removed

Thanks for reading 🙂 If its worth at least reading once, kindly please like and share 🙂 SHARING IS CARING 🙂

Enjoy the beautiful life 🙂 Have a FUN 🙂 HAVE A SAFE LIFE 🙂 TAKE CARE 🙂

Prasham Sabadra

LIFE IS VERY BEAUTIFUL. ENJOY THE WHOLE JOURNEY :) Founder of Microsoft 365 Junction, Speaker, Author, Learner, Developer, Passionate Techie. Certified Professional Workshop Facilitator / Public Speaker. Believe in knowledge sharing. Around 20+ years of total IT experience and 17+ years of experience in SharePoint and Microsoft 365 services Please feel free me to contact for any SharePoint / Microsoft 365 queries. I am also very much interested in behavioral (life changing) sessions like motivational speeches, Success, Goal Setting, About Life, How to live Life etc. My book - Microsoft 365 Power Shell hand book for Administrators and Beginners and 100 Power Shell Interview Questions - https://www.amazon.in/Microsoft-Administrators-Beginners-Interview-Questions/dp/9394901639/ref=tmm_pap_swatch_0?_encoding=UTF8&qid=1679029081&sr=8-11

You may also like...

1 Response

  1. September 8, 2022

    […] In one of the last article we discussed – how to stop sharing an item or file – Small Tips and Tricks – Power Automate – Manage list item and file permissions with Power Automa… […]

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Discover more from Microsoft 365

Subscribe now to keep reading and get access to the full archive.

Continue reading