cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
bjarvis
Advocate I
Advocate I

Can't set Owner in Dyanmics CRM

I have created a flow that parses data from an email then creates a new Lead record in our Dynamics CRM.

The problem i'm having at the moment is that i can't seem to set the Owner from Flow.

 

I can see the 'Owner' and 'Owner Type' fields in flow but i'm not exactly sure what they're expecting? 

I'm looking to set the owner as a team called 'Sales'

 

I can set the Owner Type field in flow to 'team' but then the Owner field is just free-type? so if i just type the 'sales' team name it doesn't work?

 

Am i missing something? Is it expecting a team ID? If so where do i get that from?

1 ACCEPTED SOLUTION

Accepted Solutions
bjarvis
Advocate I
Advocate I

Ok, all fixed... but for anybody in future that requires the answer to this.

 

The Owner field has to be set using the guid of the User or Team. 

The easiest way i found to get that is to have a CRM view of your Users/Teams and then export to Excel. The first column in this excel is the guid 🙂

 

View solution in original post

3 REPLIES 3
bjarvis
Advocate I
Advocate I

Ok, all fixed... but for anybody in future that requires the answer to this.

 

The Owner field has to be set using the guid of the User or Team. 

The easiest way i found to get that is to have a CRM view of your Users/Teams and then export to Excel. The first column in this excel is the guid 🙂

 

View solution in original post

Hi, thank you for the solution.

 

We are also trying to update the owner to a team based on the GUID but the flow is failing. Below is our solution, do you know what I should change?

 

Owner (Owners)

owners/0ffd5cd3-ff30-e811-a888-00224801a4ba

To set an Owner field to a Team, format it like this -   teams(<team>)

 

In this example, I'm setting Owner of a Case to a Team, and referencing the Team value from a related record

 

Geoff-RSM_0-1618847605622.png

 

Helpful resources

Announcements
2022 Release Wave 1 760x460.png

2022 Release Wave 1 Plan

Power Platform release plan for the 2022 release wave 1 describes all new features releasing from April 2022 through September 2022.

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

User Group Leader Meeting January 768x460.png

Calling all User Group Leaders!

Don't miss the User Group Leader meetings on January, 24th & 25th, 2022.

Top Solution Authors
Top Kudoed Authors
Users online (2,726)