PowerAutomate Flow: Fails with TF400813: Resource not available for anonymous access. Client authentication required.

Deepika Adike 1 Reputation point


I have a PowerAutomate flow where I am trying to add a user in ADO using REST API. PFB snapshot of the step where it fails. This is the error - code: 401 - "TF400813: Resource not available for anonymous access. Client authentication required."


The credentials used to establish connection between ADO and PowerAutomate has Project Collection Administrator privileges as well in Azure ADO. The same REST API when called from PowerShell with the same credentials, just works fine. But when called from flow it fails.

Any pointers on how to resolve this issue would be very helpful.


Not Monitored
Not Monitored
Tag not monitored by Microsoft.
36,587 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Vaibhav Chaudhari 38,651 Reputation points

    Hi Deepika,

    Power Automate / App / Flow related questions are not supported on this forum. It's better to reach out to experts in a dedicated forum over here:


    Please don't forget to Accept Answer and Up-vote if the response helped -- Vaibhav