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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Granting user access t...
Power Automate
Answered

Granting user access to its own row in dataverse table

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

We want to automatically grant office users access (read and write) to their own dataverse row. So the office user should be assigned to own the row of the table, which corresponds to their name. How is the code for the unbound action, grantaccess? 

The picture shows that we have one entry which is the full name on the left and we want to automatically assign the user that corresponds to this full name.

mariaschm_0-1635170594794.png

 

Categories:
I have the same question (0)
  • Verified answer
    v-bofeng-msft Profile Picture
    Microsoft Employee on at

    Hi @Anonymous :

    Do you want to replace Ower in the table with the value in the FullName field? Something like:

    vbofengmsft_0-1635401714763.png

    to

    vbofengmsft_1-1635402717713.png

    If so,I've made a test for your reference:

    1\Create a canvas and add Users and Your Data table as datasource:

    2\Add a button and set it's OnSelect property to:

     

    ClearCollect(TheSource,Homes.Home); /*Homes is my custom table*/ /*Home is the Guid column*/
    ForAll(TheSource,
     Patch(
     Homes,
     LookUp(Homes,Home = TheSource[@Home]),
     {Owner:LookUp(Users,'Full Name' = LookUp(Homes,Home = TheSource[@Home]).Name)}
    ))

     

    Best Regards,

    Bof

     

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Hi @v-bofeng-msft,
    thank you for your answer. That is exactly what i mean, but I do not want a button On Select property to do it, but automatically within a flow. Any suggestions?

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 247 Super User 2026 Season 2

#2
11manish Profile Picture

11manish 164 Super User 2026 Season 2

#3
trice602 Profile Picture

trice602 138 Super User 2026 Season 2

Last 30 days Overall leaderboard