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!
Solved! Go to Solution.
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:
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.
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:
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.
User | Count |
---|---|
96 | |
40 | |
26 | |
23 | |
16 |
User | Count |
---|---|
129 | |
52 | |
48 | |
36 | |
24 |