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

Notifications

Announcements

Community site session details

Community site session details

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

Granting user access to its own row in dataverse table

(0) ShareShare
ReportReport
Posted on by

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
    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
    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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 522 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 364 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard