Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Building Flows
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.

  • Expiscornovus Profile Picture
    31,758 Most Valuable Professional on at
    Re: Action announces fail though it was actually performed

    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.

  • TorTsuk Profile Picture
    Microsoft Employee on at
    Re: Action announces fail though it was actually performed

    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
    31,758 Most Valuable Professional on at
    Re: Action announces fail though it was actually performed

    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
    Re: Action announces fail though it was actually performed

    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
    31,758 Most Valuable Professional on at
    Re: Action announces fail though it was actually performed

    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.

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

Michael Gernaey – Community Spotlight

We are honored to recognize Michael Gernaey as our June 2025 Community…

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 566 Super User 2025 Season 1

#2
David_MA Profile Picture

David_MA 516 Super User 2025 Season 1

#3
stampcoin Profile Picture

stampcoin 492