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 : hUpD66PW+hOlPxnZKqDtKJ
Power Automate - Building Flows
Answered

Simple flow for CDS: How to update owner

Like (0) ShareShare
ReportReport
Posted on 26 May 2020 15:52:32 by

I'm working on a simple flow.  I want to change the owner of an account in Dynamics 365 if the product is a given type.  How to I hard-code a change to the owner?

 

Here is what I have thus far:

 
 
I have the same question (0)
  • MJain Profile Picture
    2,450 on 27 May 2020 at 20:09:29
    Re: Simple flow for CDS: How to update owner

    Hi @Anonymous ,

     

    Please mark the solution as accepted if you are good with the response.

     

    Thanks

  • Verified answer
    Community Power Platform Member Profile Picture
    on 27 May 2020 at 20:07:21
    Re: Simple flow for CDS: How to update owner

    I've found that, if Owner is to be updated in a flow, the Owner Type must be updated along with it:

     

    see   https://docs.microsoft.com/en-us/power-automate/connection-dynamics365

    (there is similar requirement for updating 'customer' and 'regarding' fields).

     

    To use the team or user name, use 'list records first', with a filter:

    Annotation 2020-05-27 150032.jpg

     

    Use the 'Update a Record' step, with owner fields set:

    Annotation 2020-05-27 150206.jpg

     

     

     

  • Verified answer
    MJain Profile Picture
    2,450 on 27 May 2020 at 13:19:25
    Re: Simple flow for CDS: How to update owner

    Hi @Anonymous ,

     

    When you open any record in D365 it has following format

     

    https://yourcompany.crm.dynamics.com/main.aspx?appid=xxxxxxxx&forceUCI=1&pagetype=entityrecord&etn=entity&id=recordid

     

    So when you open the user which you want to hard code just open that particular record and grab the last piece after id=

     

    Thanks

  • Verified answer
    v-litu-msft Profile Picture
    on 27 May 2020 at 07:39:51
    Re: Simple flow for CDS: How to update owner

    Hi @Anonymous,

     

    These User IDs are store in the User entity, you could use List records action to find John Doe's user ID, then use the ID to update the owner, for example:

    Annotation 2020-05-27 153556.jpg

     

    item()?['ItemInternalId']

    Annotation 2020-05-27 153610.jpg

     

    Best Regards,
    Community Support Team _ Lin Tu
    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

  • Community Power Platform Member Profile Picture
    on 26 May 2020 at 16:29:47
    Re: Simple flow for CDS: How to update owner

    I don't quite follow... it's a team owner that I want to use.  So, /teams(guid)… I assume I need the guid for the specific team, but how do I get it?  And are you being specific about entering it as "/teams(12345)" ? 

  • MJain Profile Picture
    2,450 on 26 May 2020 at 16:00:01
    Re: Simple flow for CDS: How to update owner

    Hi @Anonymous ,

     

    You can use update record action and in owners part use /systemusers(guid) or /teams(guid) if you want to assign it to specific team

     

    Thanks

  • Community Power Platform Member Profile Picture
    on 26 May 2020 at 15:54:45
    Re: Simple flow for CDS: How to update owner

    Annotation 2020-05-26 104735.jpg

     

    Annotation 2020-05-26 104806.jpg

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 started
Loading complete