web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id : W0lnJ++BcCXQIh5qjXf1+1
Power Automate - Building Flows
Unanswered

Give permission to the List item to the employee who is assigned to the Task and his manager.

Like (0) ShareShare
ReportReport
Posted on 29 Aug 2023 14:21:09 by 100

Hi!
I have a list of tasks that I assign to employees.
Screenshot_558.png
I want each employee and his manager to see only their task. 
Is it possible to give permissions this way using Power Automate?

I have the same question (0)
  • Pstork1 Profile Picture
    67,356 Most Valuable Professional on 30 Aug 2023 at 13:46:32
    Re: Give permission to the List item to the employee who is assigned to the Task and his manager.

    The problem with that setting is that when it is turned on the only people who can see the items are the person who created them and administrators.  So for it to work in his situation either the employee or the manager would need to be an admin.  I don't recommend making all the managers admins.

  • efialttes Profile Picture
    14,756 on 30 Aug 2023 at 12:19:11
    Re: Give permission to the List item to the employee who is assigned to the Task and his manager.

    @Pstork1 I am just guessing if this combination can be a valid alternative to REST calls:

    1.- Play with the item level permissions, to ensure only the users creating items will be able to read and edit them

    efialttes_0-1693397492141.png

    2.- Assuming flow is executed with an SP site administrator credentials, use the action block https://learn.microsoft.com/en-us/connectors/sharepointonline/#grant-access-to-an-item-or-a-folder in order to ensure the target employee and the manager does also read+edit access to their related items

    Contributions like the ones you do make this community great! Thanx for sharing your time with us!!

  • Pstork1 Profile Picture
    67,356 Most Valuable Professional on 29 Aug 2023 at 16:51:32
    Re: Give permission to the List item to the employee who is assigned to the Task and his manager.

    Your response was perfectly accurate.  I've just seen multiple people who think sharing changes security or that security overrides the List Item settings. Unfortunately, they soon find that your third link is what they want.  I just wish there was an action in the connector that handled it without having to struggle with REST.

  • efialttes Profile Picture
    14,756 on 29 Aug 2023 at 16:02:11
    Re: Give permission to the List item to the employee who is assigned to the Task and his manager.

    @Pstork1 Thanx for being much more precise than me!

  • Pstork1 Profile Picture
    67,356 Most Valuable Professional on 29 Aug 2023 at 14:48:27
    Re: Give permission to the List item to the employee who is assigned to the Task and his manager.

    @xvzms The information provided by @efialttes is accurate.  But don't be misled by the first two links.  The first only deals with sharing an item and won't change the underlying item level permissions.  And the settings in the second will prevent anyone other than Admin users and the person who created the item from seeing it. So if the user creates it the Manager will only see if they are an admin. For your scenario you need the REST calls described in the third link.

  • efialttes Profile Picture
    14,756 on 29 Aug 2023 at 14:30:29
    Re: Give permission to the List item to the employee who is assigned to the Task and his manager.

    @xvzms 
    I would suggest you to explore the following action block...
    https://learn.microsoft.com/en-us/connectors/sharepointonline/#grant-access-to-an-item-or-a-folder
    ...and if any of them (employee, manager) are the ones creating the items, combine it with this config:
    https://sharepointstuff.com/2022/12/15/create-views-in-sharepoint-that-only-show-items-created-by-current-user/


    If you need something more sophisticated, I guess you will need to invoke REST API by means of:
    https://learn.microsoft.com/en-us/connectors/sharepointonline/#send-an-http-request-to-sharepoint

    Hope this helps

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Telen Wang – Community Spotlight

We are honored to recognize Telen Wang as our August 2025 Community…

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Tomac Profile Picture

Tomac 986 Moderator

#2
stampcoin Profile Picture

stampcoin 699 Super User 2025 Season 2

#3
Riyaz_riz11 Profile Picture

Riyaz_riz11 577 Super User 2025 Season 2

Loading complete