Problem Statment
Replace SharePoint Item level permissions using Power Automate
Solution
We can achieve this by running Automated cloud flow and the steps are as follows.
Step 1
Create SharePoint list (ex-Student Details) as shown below screenshot

Step 2
Open Power Automate and create automated cloud flow (Replace Permission) with following configuration (see screenshot below)
Trigger - When Item is Created or Modified
Action 1. Stop Sharing an Item or File - This step will stop the sharing particular item to the users

Step 3
Now add last action "Grant access to an item or folder" and configure action as follows (See screenshot shown below)
- ID - Provide ID of newly created or current edited item
- Recipients - Name of user to whom you want to provide access (As of now I am giving access to the person (Createdby) who creates the item)
- Roles - Select View/Edit option from the given dropdown.
- Notify Recipients - You can select Yes or No

Now check by adding new item in the List or library the permission will be applied as per configured in flow.
Keep Coding keep Growing.....:)

sowmya AEPosted Mar 24, 2023, 5:07 PM
Hello pramod, I am a data analyst currently working with same technologies as of your experience I want to learn some concepts would you please consider my request and text back.