web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Action announces fail ...
Power Automate
Unanswered

Action announces fail though it was actually performed

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

I am building a Power Automate flow that creates a task in one Azure DevOps project every time a task with specific characteristics is created in a separate Azure DevOps project. I can see that the tasks are being created as planned, but I am still receiving a 404 error for the action, saying that the work item I just created does not exist or that I do not have permissions to read it. This is also causing the rest of the actions in my flow to fail.

Screenshot 2023-10-10 131551.png
Screenshot 2023-10-10 131631.png
Categories:
I have the same question (0)
  • Expiscornovus Profile Picture
    33,871 Most Valuable Professional on at

    Hi @TorTsuk,


    I see you in your screenshot the two scope actions are collapsed (Create item in OSGS and Update and Notify). Can you by any chance expand those scope actions and make screenshots of what is nested within those two scope actions?

     

    Ideally a one screenshot of the failed flow run with the error messages of the nested actions and one screenshot of the flow setup in edit mode (so we can see what your design is). This will help us in with troubleshooting and finding the root cause of your issue.

  • TorTsuk Profile Picture
    Microsoft Employee on at

    Sure here is a screenshot, the error text is:

    "

    {
      "status": 404,
      "message": "TF401232: Work item 47339031 does not exist, or you do not have permissions to read it.\r\nAzure DevOps ActivityId: 55e4aba2-4d35-4ff8-8767-5fa4356194eb\r\nDetails: {\"$id\":\"1\",\"innerException\":null,\"message\":\"TF401232: Work item 47339031 does not exist, or you do not have permissions to read it.\",\"typeName\":\"Microsoft.TeamFoundation.WorkItemTracking.Server.WorkItemUnauthorizedAccessException, Microsoft.TeamFoundation.WorkItemTracking.Server, Version=14.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a\",\"typeKey\":\"WorkItemUnauthorizedAccessException\",\"errorCode\":0,\"eventId\":3200}\r\nclientRequestId: 490a4771-c637-4b51-8ad0-96f0e65aae4b",
      "error": {
        "message": "TF401232: Work item 47339031 does not exist, or you do not have permissions to read it.\r\nAzure DevOps ActivityId: 55e4aba2-4d35-4ff8-8767-5fa4356194eb\r\nDetails: {\"$id\":\"1\",\"innerException\":null,\"message\":\"TF401232: Work item 47339031 does not exist, or you do not have permissions to read it.\",\"typeName\":\"Microsoft.TeamFoundation.WorkItemTracking.Server.WorkItemUnauthorizedAccessException, Microsoft.TeamFoundation.WorkItemTracking.Server, Version=14.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a\",\"typeKey\":\"WorkItemUnauthorizedAccessException\",\"errorCode\":0,\"eventId\":3200}"
      },
      "source": "vsts-eus.azconn-eus-002.p.azurewebsites.net"
    }
    "

     

    TorTsuk_0-1698747959413.png

     

  • Expiscornovus Profile Picture
    33,871 Most Valuable Professional on at

    Hi @TorTsuk,


    Might be a security configuration on the OSGS project?

     

    In which area does this work item get created and does your account/the account you are using in the connection actually have read permission to view work items in that area node?

    https://developercommunity.visualstudio.com/t/tf401232-work-item-78167-does-not-exist-or-you-do/826088#T-N826179

     

     

  • TorTsuk Profile Picture
    Microsoft Employee on at

    No, as you can see in the screenshot - the Work Item is created, and ID of newly created WIT is provided in the error message.

     

    I found an answer somewhere else and mark "no" under returning all work item fields. and it solved it.

     

    I do have a different issue now - I am trying to write into custom field and no name I use for it works

  • Expiscornovus Profile Picture
    33,871 Most Valuable Professional on at

    Hi @TorTsuk,

     

    Thanks for sharing your solution.

     

    Btw, I was not suggesting that you aren't able to create work items, obviously that part works 😁

     

    It is possible to set security on area paths of work items, to be clear. That was the scenario I was talking about. That is a different permission setting than the one for the ability to create work items itself.

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

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Vish WR Profile Picture

Vish WR 376

#2
Valantis Profile Picture

Valantis 361

#3
David_MA Profile Picture

David_MA 294 Super User 2026 Season 1

Last 30 days Overall leaderboard