cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
GregAtCatapult
New Member

Automate Assigned To Field in Azure DevOps

We're building a Flow that utilizes the following two steps:

1. When an upcoming event is starting soon

2. Create a work item (in Azure DevOps)

 

We'd like to take the Optional Attendee field from step 1 and use it as the Assigned To field in step 2.  However, we're receiving an error message. 

 

Can you please help us understand how you would tackle this problem?

 

Here's the error message we get from step 2:

 

{

  "status": 400,

  "message": "The identity value 'greg.tate@catapultsystems.com;' for field 'Assigned To' is an unknown identity.\r\nAzure DevOps ActivityId: 068b6890-53ae-48e3-adaf-a65003286dc3\r\nclientRequestId: d0f8408b-ebc1-4fe6-95b0-932561d17172",

  "error": {

    "message": "The identity value 'greg.tate@catapultsystems.com;' for field 'Assigned To' is an unknown identity.\r\nAzure DevOps ActivityId: 068b6890-53ae-48e3-adaf-a65003286dc3"

  },

  "source": "vsts-eus2.azconn-eus2-01.p.azurewebsites.net"

}

 

Thanks!

1 ACCEPTED SOLUTION

Accepted Solutions

Hi @GregAtCatapult,

 

Because the Assigned To field does not support ";", so please remove the ";" before appending this field.

You can use the replace() function to remove the ";" from the email address, for example:

Annotation 2020-01-22 155611.png

 

replace(triggerBody()?['optionalAttendees'],';','')

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.

View solution in original post

4 REPLIES 4
v-litu-msft
Community Support
Community Support

Hi @GregAtCatapult,

 

Could you please share the screenshot of Flow configuration?

If you could post them it will help us assist you better.

 

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.

Sure! 
Here's a screenshot of our flow.  Note that we're taking the Optional Attendees field from the Outlook calendar item and intend to use it in the Assigned To field in Azure DevOps.  The user does exist in Azure DevOps.

 

Here's the flow: https://www.screencast.com/t/JJpjZtFMJ

 

And here's the error we get: https://cat-my.sharepoint.com/personal/greg_tate_catapultsystems_com/Documents/Pics/Snagit/FlowResul...

 

 


Here's the errror message:

 

{

  "status": 400,

  "message": "The identity value 'kenneth.johnston@catapultsystems.com;' for field 'Assigned To' is an unknown identity.\r\nAzure DevOps ActivityId: 068b6890-53ae-48e3-adaf-a65003286dc3\r\nclientRequestId: d0f8408b-ebc1-4fe6-95b0-932561d17172",

  "error": {

    "message": "The identity value 'kenneth.johnston@catapultsystems.com;' for field 'Assigned To' is an unknown identity.\r\nAzure DevOps ActivityId: 068b6890-53ae-48e3-adaf-a65003286dc3"

  },

  "source": "vsts-eus2.azconn-eus2-01.p.azurewebsites.net"

}

 

Hi @GregAtCatapult,

 

Because the Assigned To field does not support ";", so please remove the ";" before appending this field.

You can use the replace() function to remove the ";" from the email address, for example:

Annotation 2020-01-22 155611.png

 

replace(triggerBody()?['optionalAttendees'],';','')

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.

That fixes it, a second pair of eyes helps!

Thank you very much for your help.

Helpful resources

Announcements
Power Automate News & Announcements

Power Automate News & Announcements

Keep up to date with current events and community announcements in the Power Automate community.

Community Calls Conversations

Community Calls Conversations

A great place where you can stay up to date with community calls and interact with the speakers.

Power Automate Community Blog

Power Automate Community Blog

Check out the latest Community Blog from the community!

Top Solution Authors
Top Kudoed Authors
Users online (3,491)