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 / Change owner of child ...
Power Automate
Answered

Change owner of child record to owner of the parent record (Dataverse)

(1) ShareShare
ReportReport
Posted on by 14
Hello together,
 
I try to set up a flow that changes the owner of all existing child records (e.g. Table "Assets") to the owner of the parent Records (e.g. Table "Accounts"). The relationship takes place in the field "Current Owner" which is a lookup N:1 relationship on the asset table to the account table.
Background: When the owner of an account changed in the past there was no inheritance to the child record and I has to clean the mess up.
 
I think the best way to do this is a manuall flow that list all accounts and all assets. Afterwards there should be an apply to each where it takes each asset and check if the owner of the asset and the account is not the same. If that is the case the owner should be changed.
 
In my mind it looks clear but I am currently unable to set up the flow correctly.
 
Could you please help me?
 
Thank you very much in advance.
 
 
 
Categories:
I have the same question (0)
  • Michael E. Gernaey Profile Picture
    53,429 Super User 2025 Season 2 on at
    Hi
     
    I will come back in a bit to answer, but one thing that should be looked into is Child Hierarchy, it is exactly for this situation so you aren't manually having to fix them.
     
     
  • Verified answer
    abm abm Profile Picture
    32,865 Most Valuable Professional on at
    Hi
     
    Here is my blog about how to update the ownership records. Please have a look.
     
     
    Thanks
  • MichaelFo96 Profile Picture
    14 on at
    Hello FLMike,
     
    I know about this Child Hierarchy topic and will adjust it after I cleaned up the database. But thanks for that information.
     
    -------------
     
    Hello abm abm,
     
    thank you for the link. I used that "template" and it worked. Thank you.
     

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 501 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 323 Moderator

#3
abm abm Profile Picture

abm abm 237 Most Valuable Professional

Last 30 days Overall leaderboard